gamer1 Posted December 27, 2006 Share Posted December 27, 2006 (edited) Hi!I'm wondering how to run a single script line without a script?Saw this feature was added in version 2.60 (14/05/2001) on this page here (use find /c).Well the /c commandline switch doesn't seem to work for me with AutoIt3.exeFor example how do I run this single script line without a script?:IniWrite("C:\boot.ini","boot loader","timeout","4")Autoit3.exe /c "WinWait, Untitled - Notepad" - like the example doesn't work.Thanks! Edited December 27, 2006 by gamer1 Link to comment Share on other sites More sharing options...
Helge Posted December 27, 2006 Share Posted December 27, 2006 (edited) v2 and v3 are two completely different languages, so looking at the changelog for v2 when you'reusing v3 is just...stupid. If you had taken a look at the v3-history instead you would've found outthat "/C" was changed to "/AutoIt3ExecuteLine" some time ago. Edited December 27, 2006 by Helge Link to comment Share on other sites More sharing options...
Geert Posted December 27, 2006 Share Posted December 27, 2006 "C:\Program Files\AutoIt3\AutoIt3.exe" /AutoIt3ExecuteLine "IniWrite('C:\boot2.ini','boot loader','timeout','6')" Link to comment Share on other sites More sharing options...
herewasplato Posted December 27, 2006 Share Posted December 27, 2006 (edited) Senile and too slow: "C:\Program Files\AutoIt3\AutoIt3.exe" /AutoIt3ExecuteLine "MsgBox(0, '','')" it took me that long to test it out :-) Edit - but I did take the time to install the latest prod version before testing/posting :-) Edited December 27, 2006 by herewasplato [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
gamer1 Posted December 27, 2006 Author Share Posted December 27, 2006 I was googling that's why I got the old v2 changelog.. Anyway Thanks for the fast help! 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