Jump to content

After upgrade to Win 11 from Win 10 - Autoit script will not run


Go to solution Solved by ioa747,

Recommended Posts

Posted (edited)

Had to upgrade from perfectly working win 10 to to win 11 pro on same machine and my simple little Autoit script had to be redone since the toolbar MUST be at the bottom on Win 11. I re-recorded the script and saved it and then opened it in Scite (5.56) and hit compile. It saved the compiled script in the Documents folder as an exe file. When I go to launch it however, whether as user or as Administrator - nothing happens on the screen - no mouse movement , not windows open, nothing. I have placed everything autoit files, folders, etc on the ignore list of Malwarebytes, but this made no changes. The script is very simple - it is meant to click the launch icon on the taskbar, wait for GRL3 to open, then click the File Publishing Start button and that's it.

 

Further, I can't even seem to get the Run Script with Autoit to work. Any help would be greatly appreciated.  I so regret "upgrading" to Win 11!

AutoStartGRL3.au3

Edited by Melba23
Executable deleted
  • Solution
Posted (edited)

save your script with UTF-8 encoding

Edit:

and change
_WinWaitActivate("classname=Shell_TrayWnd","")

to
_WinWaitActivate("[CLASS:Shell_TrayWnd]","")

Edited by ioa747

I know that I know nothing

Posted

ioa747 THANK YOU SO MUCH! your reply was clear, concise, and it worked immediately. 

 

💯💫

 

My old "evolving" system is back like new again!

"evolving" = dinosaur prototype 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...