I added:
Code: Select all
if not A_IsAdmin
Run *RunAs "%A_AhkPath%" "%A_ScriptFullPath%"
Code: Select all
if not A_IsAdmin
Run *RunAs "%A_AhkPath%" "%A_ScriptFullPath%"
Awesome! That works too! Thank you!Capn Odin wrote:Take a look at this.
1 shows the Open dialog box so we're on the right track....but every number higher I tried (stopped at 5) was nullCapn Odin wrote:xlDialogPrint is likely an index (integer), I don't know what index would be the equivalent.Code: Select all
Xl := ComObjCreate("Excel.Application") Xl.Visible := True XL.Application.Dialogs(1).Show