In my organization, users are not admins, and therefore can't install things. We can use "portable" apps with no support and the practice is long known. Using guidance here, this seems to be possible to operate this product without admin rights within the user env, https://www.thenickmay.com/how-to-install-autohotkey-even-without-administrator-access/#:~:text=Open%20your%20Documents%20folder%20(or,should%20open%20your%20startup%20folder. I have extracted the AHK zip file contents to a location I can save and modify files. I intentionally ran the organization's AV product against the directory, the files were not flagged or removed by their malware and PUP policies (AFAIK).
My batch file looks like the below, with the quotes around the file executable (with directory) and the script file (with directory).
"C:\Users\removed\AppData\Local\Local Items\AutoHotkey\AutoHotkeyU64.exe" "C:\Users\removed\AppData\Local\Local Items\AutoHotkey\Monitor Outlook Reminder v2.ahk
If I intentionally misspell the name of .ahk file referenced by the above batch file, then AHK does error out and let me know the file can't be found.
The AHK script file looks like this;
Code: Select all
;Monitor Outlook Reminder, restore and pin always on Top every ~4 min.
OutlookRemndrs_Init:
SetTimer, OutlookRemndrs_OnTop, 380000
OutlookRemndrs_OnTop:
SetTitleMatchMode 2
WinSet, AlwaysOnTop, on, 1 Reminder(s)
WinSet, AlwaysOnTop, on, 2 Reminder(s)
WinSet, AlwaysOnTop, on, 3 Reminder(s)
WinSet, AlwaysOnTop, on, 4 Reminder(s)
WinSet, AlwaysOnTop, on, 5 Reminder(s)
WinSet, AlwaysOnTop, on, 6 Reminder(s)
WinSet, AlwaysOnTop, on, 7 Reminder(s)
WinSet, AlwaysOnTop, on, 8 Reminder(s)
WinSet, AlwaysOnTop, on, 9 Reminder(s)
WinRestore, 1 Reminder(s)
WinRestore, 2 Reminder(s)
WinRestore, 3 Reminder(s)
WinRestore, 4 Reminder(s)
WinRestore, 5 Reminder(s)
WinRestore, 6 Reminder(s)
WinRestore, 7 Reminder(s)
WinRestore, 8 Reminder(s)
WinRestore, 9 Reminder(s)
return
It isn't working for me, the reminder never comes to the front of outlook or other windows, it is always behind other windows. I'm not sure what I'm missing. Can someone help? Thanks.
[Mod edit: Added [code][/code] tags.]