Jump to content

AutoIT oddly not taking argument on couple of my PCs, but is working on my other one. Exact same code.


Go to solution Solved by dtormentedsoul,

Recommended Posts

To add some more information to what @argumentum is saying, check out: https://superuser.com/questions/1456692/how-do-i-set-advance-file-association-in-windows-10-while-passing-app-parameter

You may need to setup file associations again, or look into the registery for the au3 association and edit it to include the "%1"

Alternatively in SciTE you can set command line params with Shift + F8 for scripts run from SciTE directly. Or compile to .exe and test with that instead of the .au3 file.

Edited by mistersquirrle

We ought not to misbehave, but we should look as though we could.

Link to comment
Share on other sites

  • Solution

you guys are geniuses.  though it did have the "%1", it didnt have the %*.  I patterned it from the computer that is working where i found the %*

My OS: Windows 11 Home (OS Build: 22621.1928)

Here's how it got fixed:

regedit

Computer\HKEY_CLASSES_ROOT\Applications\AutoIt3.exe\shell\open\command

Change whats there from "c:\Program Files (x86)\AutoIt3\AutoIt3.exe" "%1"

to "c:\Program Files (x86)\AutoIt3\AutoIt3.exe" "%1" %*

image.png.b14d1e169cbbbc0c6ad848044d3a063b.png

Edited by dtormentedsoul
Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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