Beginner struggling with Tray Icons.

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
TheAlmightyDada
Posts: 5
Joined: 09 Dec 2017, 15:12

Beginner struggling with Tray Icons.

09 Dec 2017, 16:49

Evening Everyone,

Disclaimer: I am an absolute noobie, who is eager to learn.

Thank you for taking the time to read this, I have a VPN software that only operates from the hidden Icon tray. This is the menu of the software. I have to disconnect and reconnect throughout the day and I am attempting to create a few hotkeys that connect to some of my favorite servers. My plan was as follows:

- Open the hidden tray menu
- Move selection to the option that says "More..."
- Move selection to a particular server (Whichever one that hotkey is assigned to)
- Hit enter

I have the following code:

;To Select the First VPN Server.
Send, #b
Send, {Enter}
Sleep, 500
Send, {Left 3}
Sleep, 500
Send, {Enter}
Send, +{F10}
Send, {Up 4}


Return
}

This works up until the "Send, {Up 4}" command. The problem is nothing happens, the menu opens up but the selection does not move up. I have tried with MouseMove also and again nothing happens - that's with the relative "tag" and without.

Am I missing something obvious?

Many thanks.

TAD
TheAlmightyDada
Posts: 5
Joined: 09 Dec 2017, 15:12

Re: Beginner struggling with Tray Icons.

09 Dec 2017, 22:01

UPDATE: I downloaded a Macro recording tool to see if I could see the problem and followed through the steps. It all made sense (and matched my code) up until the menu popped up, but when I pressed the UP key nothing was recorded in the Macro Recorder. Same thing happened when I physically clicked the "More..." button - nothing was recorded.
BoBo
Posts: 6564
Joined: 13 May 2014, 17:15

Re: Beginner struggling with Tray Icons.

14 Dec 2017, 13:46

What's the name of that VPN software?
TheAlmightyDada
Posts: 5
Joined: 09 Dec 2017, 15:12

Re: Beginner struggling with Tray Icons.

16 Dec 2017, 12:04

Hello,

Thank you for your reply - the software is Private Internet Access.

I have asked there support if there is another way of running it than from the tray icon and they have said there is not.

Any advise would be appreciated.

Kind Regards

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Joey5, RandomBoy, wpulford and 386 guests