Fill in vpn token

 

fill in token
1
2
3
4
5
6
7
8
9
10
11
12
13
14
activate application "SystemUIServer"
tell application "System Events"
    tell process "SystemUIServer"
         
        set x to item 3 of menu bar items of menu bar 1
        tell x
            click
            click menu item "Connect Cisco VPN" of front menu
            delay 3
            keystroke token
            keystroke return
        end tell
    end tell
end tell