Hi All,
I m trying to use one the most user unfriendly software on earth named Bluebeam Revu 2018. You probably have heard about it. It's a shitty PDF handling application which does not let users navigate through the interface using keyboard shortcuts.
Anyhow, as shown in screenshots attached, all I am trying to do is to open a dropdown menu and then click on one of the options. Can someone help PLEASE?
Cannot get ControlClick working
-
- Posts: 18
- Joined: 22 Aug 2017, 01:24
Cannot get ControlClick working
- Attachments
-
- The item I want clicked
- 2.jpg (195.27 KiB) Viewed 923 times
-
- DropDown Menu
- 1.jpg (210.55 KiB) Viewed 923 times
- Kellyzkorner_NJ
- Posts: 84
- Joined: 20 Oct 2017, 18:33
Re: Cannot get ControlClick working
I'm sure others will have a much better answer but if it were me, I'd consider (if the window is in a static spot every time) doing a mousemove and send a click. Good luck, I feel your pain.
-
- Posts: 18
- Joined: 22 Aug 2017, 01:24
Re: Cannot get ControlClick working
MouseMove is no good to me as the code might be used on different machine with various display setupsKellyzkorner_NJ wrote: ↑06 Apr 2019, 02:11I'm sure others will have a much better answer but if it were me, I'd consider (if the window is in a static spot every time) doing a mousemove and send a click. Good luck, I feel your pain.
Re: Cannot get ControlClick working
WindowSpy.ahk is showing you there is no control to act on and you are saying the program is giving you no shortcut keys. Thus it looks like you need to use MouseClick or Click. You can play with it and see which works better, ahk_exe or ahk_class.asghar5676 wrote: ↑06 Apr 2019, 02:28MouseMove is no good to me as the code might be used on different machine with various display setupsKellyzkorner_NJ wrote: ↑06 Apr 2019, 02:11I'm sure others will have a much better answer but if it were me, I'd consider (if the window is in a static spot every time) doing a mousemove and send a click. Good luck, I feel your pain.
Pseudo Code
Code: Select all
Run, Revu.exe
WinWait, ahk_exe Revu.exe
If WinExist("ahk_exe Revu.exe")
{
WinActivate, ahk_exe Revu.exe
If WinActive("ahk_exe Revu.exe")
{
MouseClick [, WhichButton, X, Y, ClickCount, Speed, D|U, R] ; you need to put in the X and Y relevant to the window or client
}
}
In addition, as other people might be using the computer when the script is running, you might want to put BlockInput, On/Off above and below the MouseClick or Click.
Re: Cannot get ControlClick working
If that's not true, I would try to take your business eslewhere...https://www.bluebeam.com/solutions/revu2018 wrote:Need an even shorter path? Now you can add custom keyboard shortcuts to export and share with your whole project team. Because in this business, no one has time for extra clicks.
-
- Posts: 18
- Joined: 22 Aug 2017, 01:24
Re: Cannot get ControlClick working
Thanks mate. I didn't realise that.SOTE wrote: ↑06 Apr 2019, 13:16WindowSpy.ahk is showing you there is no control to act on and you are saying the program is giving you no shortcut keys. Thus it looks like you need to use MouseClick or Click. You can play with it and see which works better, ahk_exe or ahk_class.asghar5676 wrote: ↑06 Apr 2019, 02:28MouseMove is no good to me as the code might be used on different machine with various display setupsKellyzkorner_NJ wrote: ↑06 Apr 2019, 02:11I'm sure others will have a much better answer but if it were me, I'd consider (if the window is in a static spot every time) doing a mousemove and send a click. Good luck, I feel your pain.
Pseudo Code
You may want to check out CoordMode, and see if you want to use Relative or Client.Code: Select all
Run, Revu.exe WinWait, ahk_exe Revu.exe If WinExist("ahk_exe Revu.exe") { WinActivate, ahk_exe Revu.exe If WinActive("ahk_exe Revu.exe") { MouseClick [, WhichButton, X, Y, ClickCount, Speed, D|U, R] ; you need to put in the X and Y relevant to the window or client } }
In addition, as other people might be using the computer when the script is running, you might want to put BlockInput, On/Off above and below the MouseClick or Click.
It's ugly now but it works.