I'm new in AHK, and actually feel sad because i'm so late knowing this cool scripting language. but so excited to learn it
I started scripting with success in very simple scripts, but i'm facing problem running scripts that contains (Run, software.exe) on remote computers when the UAC is on. I've found couple solutions (such as: scheduled task) in this forum, but unfortunately no one worked for me on remote computer.
My script does the following:
1 - run MBAM.exe
Code: Select all
detectHiddenWindows,on
title := "Malwarebytes Anti-Malware Home"
run C:\Program Files (x86)\Malwarebytes Anti-Malware\mbam.exe
winWait, %title%
winGetPos,,,cw,ch, %title%
controlClick,% "x" cw//2 " y" ch-65, %title%
winMinimize, %title%
noted that i'm using MPS software to download my AHK script to remote computer, run it there, and email the screenshot to me. with few other steps.
another note: the remote computer doesn't have AutoHotkey installed, i'm using CMD to run my AHK script after downloading the AutoHotkey.exe file there using:
Code: Select all
[Path]\AutoHotkey.exe [Path]\My_AHK.ahk
I just want to get rid of this message
Thank you,