sfagency Posted May 21, 2004 Posted May 21, 2004 When I attempt to run my script I recieve "Autoit error (line:1)" "Error: Invalid Command!" I've only used Autoit one other time for the same purpose. My script is written in an excel spreadsheet which I use to copy a data list into. I then convert it to an .ini file.
Developers Jos Posted May 21, 2004 Developers Posted May 21, 2004 When I attempt to run my script I recieve "Autoit error (line:1)" "Error: Invalid Command!" I've only used Autoit one other time for the same purpose. My script is written in an excel spreadsheet which I use to copy a data list into. I then convert it to an .ini file.maybe you can post whats on line 1... would be easier to determine the problem..And also tell us the name of the File to see if you use V2 or V3.... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
sfagency Posted May 21, 2004 Author Posted May 21, 2004 Thanks for the response. Here are the first few lines: ;JKS Script WinActivate,ECHO1 - RUMBA Mainframe Display ;Lastname ;First ;Addr1 ;Addr2 Send, AALTO \, T. LOUISE #{TAB}{TAB} 751 MAIN ST #{TAB}{TAB} #{TAB}{TAB}{TAB}{TAB}{TAB} SOUTH PORTLAND {TAB} ME 04106 {F9}13{F4}{F4}{F5} Send, AASKOV \, BERYL P. #{TAB}{TAB} 146 ANTHOINE ST #{TAB}{TAB} #{TAB}{TAB}{TAB}{TAB}{TAB} SOUTH PORTLAND {TAB} ME 04106 {F9}13{F4}{F4}{F5}
Developers Jos Posted May 21, 2004 Developers Posted May 21, 2004 (edited) So you called the file something.aut ? Edited May 21, 2004 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Developers Jos Posted May 21, 2004 Developers Posted May 21, 2004 just copied you lines of code and saved it as test.aut . then did a rghtmouseclick RUN and it just ran... no errors... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
sfagency Posted May 21, 2004 Author Posted May 21, 2004 tried changing the file to >aut and recieved the same error
Developers Jos Posted May 21, 2004 Developers Posted May 21, 2004 Hmm... stange... like i said... it works for me... What program&version do you start to run it ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Developers Jos Posted May 21, 2004 Developers Posted May 21, 2004 (edited) can you mail me the script that gicvbe the error so i can have a look ? jvdzande at yahoo dot com Edited May 21, 2004 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Developers Jos Posted May 21, 2004 Developers Posted May 21, 2004 just mailed it back.... There were 3 strange ascii characters at the start of the file that didn't show up in Notepad... and got Autoit confused. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Recommended Posts