[Utility] Remote Desktop Right-click Workarounds

Nov 9, 2016
1,940
2,119
SF Bay Area
I routinely remote to my Blue Iris server by using an iPad (with Apple Pencil) via the Windows App (Remote Desktop).

To access Blue Iris desktop UI context menus, I can usually simulate a mouse right-click by:
  1. Touching the desired location with the Pencil (or finger)
  2. Touch typing Shift+F10 using the Windows App's on-screen keyboard (see screenshot 1)
However, this does not work in Layout Editor mode. In the BI desktop UI, right-clicking the green layout background normally displays the context menu. But when using the iPad Windows app to Remote Desktop the server, Shift+F10 does not display the Layout Editor context menu. Thus I cannot perform actions like show hidden cameras, hide disabled cameras, etc.

The workaround I settled on is a tiny AutoHotkey v2 script that converts Shift+F10 into a genuine mouse right-click. The script is launched at logon via Task Scheduler with elevated privileges (matching Blue Iris), so no UAC prompts appear.

After installing it, I can open the Layout Editor context menu entirely from the iPad INSTEAD of walking over to the server.

If anyone is interested, I've attached the AutoHotkey script and Task Scheduler XML export.

Instructions for manual testing:
  1. Install AutoHotkey v2 (AutoHotkey). IMPORTANT: you must install version 2.0+.
  2. Open the attached ZIP file in Windows File Explorer (it contains 3 files).
  3. Create folder C:\AutoHotkey.
  4. Copy zipped files 'BI_RightClick_Helper.ahk' and 'BI_RightClick_Helper_2.ahk' into it.
  5. Select file 'BI_RightClick_Helper_2.ahk', hit Ctrl-C, then right-click on your desktop and save it as a shortcut there.
  6. Double-click the shortcut. You should see a green H icon in the system tray. It will show a tooltip when you mouse over it (see screenshot 2).
  7. Test the script: click once on the desktop, then type shift-F10. You should hear a beep followed immediately by a right-click context menu.
  8. To close the script anytime, just right-click on the tray icon and select Exit.
Instructions for automating:
  1. Copy zipped file 'AutoHotkey Shift-F10.xml' to your desktop.
  2. Open Windows Task Scheduler.
  3. Select a library subfolder (I use Task Scheduler Library > My Blue Iris).
  4. Import 'AutoHotkey Shift-F10.xml'.
  5. Log off/on.
IMPORTANT: : If you change where the AutoHotkey AHK script is stored, edit the task Action accordingly after importing.​
IMPORTANT: The AutoHotkey script must run elevated (Run with highest privileges). Otherwise it cannot intercept Shift+F10 while Blue Iris is running as Administrator. This is the default condition in the provided XML file.​
 

Attachments

  • ipad_image_2.jpg
    ipad_image_2.jpg
    267.4 KB · Views: 70
  • tray_icon_tooltip.png
    tray_icon_tooltip.png
    6.6 KB · Views: 53
  • AutoHotkey Shift-F10.V1.zip
    AutoHotkey Shift-F10.V1.zip
    2.5 KB · Views: 39
Last edited:
  • Like
Reactions: looney2ns and TonyR
Update to V2

The AutoHotkey v2 scripts now also use Ctrl+Shift+F10 to emulate the Ctrl+right-click action in the Blue UI.

To differentiate a successful keyboard action, the new action plays different tone than Shift+F10.

To test this new keyboard action, select an entry in the Blue Iris UI cliplist, and type Ctrl+Shift+F10.
This should load the selected clip's database record (like, '@12345') to the Windows clipboard.
Verify by navigating to any text editor and typing Ctrl-V

See this post for more info on the mouse Ctr+right-click trick to get the database record for entries in the clipslist.
Note that this feature requires Blue Iris version 5.7.9.0+.
 

Attachments

Last edited:
  • Like
Reactions: looney2ns