SkysLastChance Posted January 31, 2023 Share Posted January 31, 2023 (edited) I know it is possible to start a compiled script on start up very easily using the start up folder. However, Is there a way I can start a script on start up that is not compiled? Getting my .exe files approved by IT is a pain. This is why I would like to avoid the compile if possible. My only idea is to create a .exe that launches other autoit scripts. that way I only have to get one .exe approved if that makes sense. I am hoping there might be a more eligant way. Edited January 31, 2023 by SkysLastChance You miss 100% of the shots you don't take. -Wayne Gretzky -Michael Scott Link to comment Share on other sites More sharing options...
Danp2 Posted January 31, 2023 Share Posted January 31, 2023 You could use Au3toCmd. Otherwise, you would need to distribute Autoit3.exe with your .au3 file and place a shortcut in the user's startup folder. SkysLastChance and mistersquirrle 2 Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Solution mistersquirrle Posted January 31, 2023 Solution Share Posted January 31, 2023 @Danp2 That is a pretty neat thread and approach to doing things, thanks for linking it, I may not have seen it otherwise. Another option for @SkysLastChance would also be to get the AutoIt3.exe (or AutoIt3_x64.exe) itself approved, and then you could use a .bat or shortcut to call an uncompiled script or compiled as .a3x. .bat file would look something like: "C:\Program Files (x86)\AutoIt3\AutoIt3_x64.exe" "C:\Users\User\Documents\AutoIt\DoSomething.a3x" Though I doubt that IT would approve the AutoIt exe itself... That Au3toCmd really seems like a good option. Also if you're able to get the AutoIt exe approved or AutoIt installed, you don't even need to compile as .a3x, the .au3 file will work using the same syntax with a .bat file or a shortcut in the startup folder. https://www.autoitscript.com/autoit3/docs/intro/running.htm robertocm and SkysLastChance 2 We ought not to misbehave, but we should look as though we could. Link to comment Share on other sites More sharing options...
ioa747 Posted February 1, 2023 Share Posted February 1, 2023 take a look hear may bee help. It make a executable shortcut which you can put on startup folder MakeExecuteShortcut.au3 I know that I know nothing Link to comment Share on other sites More sharing options...
SkysLastChance Posted February 1, 2023 Author Share Posted February 1, 2023 (edited) Our Anti-Virus did not like when I tried to run that .cmd file. 😆 However, I was able to get it to work using the .bat file. Edited February 1, 2023 by SkysLastChance mistersquirrle 1 You miss 100% of the shots you don't take. -Wayne Gretzky -Michael Scott Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now