Valuater Posted February 27, 2006 Author Posted February 27, 2006 (edited) Hi, I get a similar but diferent error message on WinXP Pro SP2 Best, Randall PS where is the code for the exe? the "Return $ai_Return[0]" is the ONLY return with ( info )... in the entire script All other returns have no INFO in the line...ei... "Return" I have NO idea how you could get that error ??????? Thanks 8) PS the code has not been released as yet and may not be released due to personal information.... I have relied on my name here... and after many uses... there is NOTHING harmful in the script ( registry is not touched ) Edited February 27, 2006 by Valuater
Valuater Posted February 27, 2006 Author Posted February 27, 2006 Update Ver 1.0.8 Feb 27, 2006 Fixed - Spelling Fixed - Reduce Memory Fixed - PacMan Minor bugs 8)
rogerd2u Posted February 27, 2006 Posted February 27, 2006 I just wanted to say you've done a GREAT job in putting this together. Although I've been using AutoIT for about a year, I've learned a few things in the time I've spent going through your tutorial. KEEP UP THE GREAT WORK!!! Roger O."When people show you who they are, believe them. --Mark Twain
randallc Posted February 27, 2006 Posted February 27, 2006 Hi, To be more accurate, Line 0 (File "C:\WINDOWS\Desktop\Autoit-123-Demo14.exe"): For $x=1 to $FileList[0]For $x=1 to $FileList^ ERROR Error: Subscript used with non-Array variable.I haven't tried the new one. Best, Randall ExcelCOM... AccessCom.. Word2... FileListToArrayNew...SearchMiner... Regexps...SQL...Explorer...Array2D.. _GUIListView...array problem...APITailRW
Valuater Posted February 27, 2006 Author Posted February 27, 2006 (edited) that is for the demos... and they should be in "scriptdir\aHelp-Demos"they are part of the zipped file... also the array is checked firstFunc Set_demos() $FileList = _FileListToArray (@ScriptDir & "\Help-Demos", "*.au3", 1) If (Not IsArray($FileList)) and (@error = 1) Then MsgBox(262208, "Demo Error", "No Files\Folders Found. ", 5) Return EndIf For $x = 1 To $FileList[0] GUICtrlSetData($List_1, @ScriptDir & "\Help-Demos\" & $FileList[$x] & "|", 1) Next EndFunc;==>Set_demosThis checks the array... if no array then it should give a message box and "return"otherwise list the files... did you unzip everything????that is the only instance of "For $x = 1 To $FileList[0]" in the entire scriptthanks8)Come to think of it... that array check may be wrong ( from help )maybe it should be If (Not IsArray($FileList)) Or (@error = 1) Then ; change the and to "Or" Edited February 27, 2006 by Valuater
randallc Posted February 27, 2006 Posted February 27, 2006 Hi,"scriptdir\aHelp-Demos"they are part of the zipped file... also the array is checked firstNo such file even in the zip!Best, Randall ExcelCOM... AccessCom.. Word2... FileListToArrayNew...SearchMiner... Regexps...SQL...Explorer...Array2D.. _GUIListView...array problem...APITailRW
randallc Posted February 28, 2006 Posted February 28, 2006 i just downloaded it.. unzipped it and all the files are thereMaybe they were already there before the unzip;Here are the files in the zip;01--Search-Forum.au302--Login-HotMail.au303--Click-Link-in-Frame.au304--Post-in-AutoIt-Forum.au305--Toggle-Radio-Buttons.au306--Search-Google.au307--Search-Google-Button.au308--Search-Google-Enter.au309--Write-Table-to-Array.au310--Find-String-and-Replace.au311--Download-all-Images.au312--Fire-on-Event.au313--Fire-onchange-Event.au314--Difficult-Submit-Buttons.au3Autoit-123-Demo15.exebackground.bmpBeep.au3blank.bmpFileFindFirstFile.au3For.au3GUICtrlCreateButton.au3GUICtrlCreateCheckbox.au3GUICtrlCreateCombo.au3GUICtrlCreateRadio.au3GUICtrlCreateSlider.au3.au3GUISetBkColor.au3GUIStartGroup.au3IconSet.iclInputBox.au3Lesson-1.au3Lesson-10.au3Lesson-2.au3Lesson-3.au3Lesson-4.au3Lesson-5.au3Lesson-6.au3Lesson-7.au3Lesson-8.au3Lesson-9.au3logo4.gifMemGetStats.au3MouseGetPos.au3MouseMove.au3MsgBox.au3My-First-GUI.au3ProgressOn.au3sampleAVI.aviSampleImage.bmpSoundPlay.au3SplashImageOn.au3SplashOff.au3ToolTip.au3TraySetIcon.au3TrayTip.au3While.au3_NowTime.au3.. Or is this wrong zip?But it has demo 15...Best, randall ExcelCOM... AccessCom.. Word2... FileListToArrayNew...SearchMiner... Regexps...SQL...Explorer...Array2D.. _GUIListView...array problem...APITailRW
randallc Posted February 28, 2006 Posted February 28, 2006 No, Same error; I thought you said ""scriptdir\aHelp-Demos"" should be there in the zip? - not in the list above, nor in the zip!? Randall ExcelCOM... AccessCom.. Word2... FileListToArrayNew...SearchMiner... Regexps...SQL...Explorer...Array2D.. _GUIListView...array problem...APITailRW
randallc Posted February 28, 2006 Posted February 28, 2006 Hi, Working now; perhaps you could warn others that you neeed "use Folder names" checked when you extract... Can't you do all that from the exe and install/ include all those files?? best, Randall ExcelCOM... AccessCom.. Word2... FileListToArrayNew...SearchMiner... Regexps...SQL...Explorer...Array2D.. _GUIListView...array problem...APITailRW
Valuater Posted February 28, 2006 Author Posted February 28, 2006 (edited) Hi,Working now; perhaps you could warn others that you neeed "use Folder names" checked when you extract...Can't you do all that from the exe and install/ include all those files??best, Randallcool... finallywell after all that... let me know what you think of the program i thought the zip would be easier... i did not notice ANYONE else having the same problems as you8) Edited February 28, 2006 by Valuater
poisonkiller Posted February 28, 2006 Posted February 28, 2006 Still same Return error . What im doing wrong?
randallc Posted February 28, 2006 Posted February 28, 2006 Hi, @Val; looks great! Only 500 scripts to go! - You have a life's work ahead here..... Best, Randall ExcelCOM... AccessCom.. Word2... FileListToArrayNew...SearchMiner... Regexps...SQL...Explorer...Array2D.. _GUIListView...array problem...APITailRW
Moderators SmOke_N Posted February 28, 2006 Moderators Posted February 28, 2006 Overall Point Score> 1328 ( 1000 Points Max )Err, my math hasn't always been the best... but that's a bit condescending isn't it? Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
Valuater Posted February 28, 2006 Author Posted February 28, 2006 Update Ver 1.1.0 Feb 28, 2006 Completed... 8)
poisonkiller Posted March 1, 2006 Posted March 1, 2006 (edited) My computer sucks, because its not working!!! Still same error. Edited March 1, 2006 by poisonkiller
FuryCell Posted March 2, 2006 Posted March 2, 2006 (edited) Awesome. This is a great way for people to learn about autoit. Very cool.P,S. sorry about my first exam scores not being posted. when the bar stopped at 25% i thought the script was hanging and terminated it. here is my score as from "Exam_One.txt" that was created by autoit1232006-03-01 16:48:45 : ********** New Registry ************2006-03-01 16:48:45 : AutoIt Screen Name> SolidSnake2006-03-01 16:48:45 : AutoIt Member Number> 39572006-03-01 16:48:45 : User Location> Bayville,NJ,USA2006-03-01 16:48:45 : ********** End Registry ************2006-03-01 16:48:45 : Ver 1.1.02006-03-01 16:48:45 : 2006-03-01 16:49:11 : ********** Exam Level One ************2006-03-01 16:49:11 : Number of Attempts> 12006-03-01 16:49:11 : Exam Scores> 100 ( 100 Points Max )2006-03-01 16:49:11 : Accumulated Errors> 02006-03-01 16:49:11 : Point Score> 332 ( 333 Points Max )2006-03-01 16:49:11 : ********** End Exam Report ************ Edited March 2, 2006 by SolidSnake HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code.
AutoChris Posted March 9, 2006 Posted March 9, 2006 (edited) I tried AutoIt 1-2-3 because my boss wants to learn how to use AutoIt after seeing the kinds of things I can do. However, I noticed that there are some pretty big bugs in it... at least what I have seen in just 5 minutes of using it. If I press "Show Me Help Demos" more than once, it adds another entry for each demo. * Example: If I press it 3 times, I will have three instances of each demo. If I press "Run Demo" it will create two instances of the demo. * Example: If I run the "For.au3" demo, I will have to count down from 5 to "Blast Off!" twice. There should be a button on the GUI to turn off the voice, not just on the tray icon. The voice is hard to understand and does not add anything to the tutorial. A text box would be much more helpful. I only got as far as the Demo Page. I will let you know if I encounter any further problems. Edit: I could not submit my exam whether filling in all of the correct -or- incorrect answers. The button was disabled. The Next button was disabled as well. Edited March 9, 2006 by SerialKiller
Valuater Posted March 9, 2006 Author Posted March 9, 2006 (edited) 1If I press "Show Me Help Demos" more than once, it adds another entry for each demo.* Example: If I press it 3 times, I will have three instances of each demo.No ERRORFIXED for next release2If I press "Run Demo" it will create two instances of the demo.NO ERRORit should.... if you press it twice, you should get two seperate demos.. like anyother button you push twice ( only exception is a double mouse click )3There should be a button on the GUI to turn off the voice, not just on the tray icon.NO ERRORThere was a button previously, the problem is because it is utilizing a function to read the script information, the button could not "over-ride" the other function, however the Tray-controls can,,, and do4The voice is hard to understand and does not add anything to the tutorial.No ERRORSorry your speach system is so poor, mine is not perfect but it is understandable, i would like to find a way to have the new "Microsoft Anne" ( Annie or similar )... any ideas5A text box would be much more helpful.No ERRORbetter than that......... all of the text that is read , is also included in the position next to the controls in the demo to explain that particular portion... much better than a text box... 8(6I noticed that there are some pretty big bugs in ityou call those pretty big bugs... when you push buttons more than once... when your computer sound is not clear, when you cant seem to notice you need to register before you can submit the exami call that a VERY UNFAIR Review!8) Edited March 9, 2006 by Valuater
miko0001 Posted March 9, 2006 Posted March 9, 2006 2006-03-09 20:24:04 : ********** New Registry ************2006-03-09 20:24:04 : AutoIt Screen Name> miko00012006-03-09 20:24:04 : AutoIt Member Number> 109612006-03-09 20:24:04 : User Location> germany2006-03-09 20:24:04 : ********** End Registry ************2006-03-09 20:24:04 : Ver 1.1.02006-03-09 20:24:04 : 2006-03-09 21:30:48 : ********** Exam Level Three ************2006-03-09 21:30:48 : Number of Attempts> 202006-03-09 21:30:48 : Exam Scores> 80,75,85,80,80,80,80,85,80,80,85,80,80,80,90,95,90,90,95,100 ( 100 Points Max )2006-03-09 21:30:48 : Accumulated Errors> 02006-03-09 21:30:48 : Point Score> -4 ( 333 Points Max )2006-03-09 21:30:48 : ********** End Exam Report ************2006-03-09 21:30:48 : 2006-03-09 21:30:48 : Overall Point Score> 612 ( 1000 Points Max )WtH This script rocks. Very very nice work.Without this, i´ve never get any idea off all AutoIt-Possibilities.My Exam III-Score sucks, but i´m a NOOB. Hope someday my scripting knowledge may only be 1/10 of yours.Excuse my bad english, i´m native german. Keep up the good work best regardsMiko
Valuater Posted March 9, 2006 Author Posted March 9, 2006 (edited) WtH This script rocks. Very very nice work.Without this, i´ve never get any idea off all AutoIt-Possibilities.My Exam III-Score sucks, but i´m a NOOB. Hope someday my scripting knowledge may only be 1/10 of yours.Excuse my bad english, i´m native german. Keep up the good work best regardsMikoThank you... its people like you that make all my hard work worth while...Thanks againValuater8)PSYour English is Fine! Edited March 9, 2006 by Valuater
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