iceberg Posted April 27, 2005 Posted April 27, 2005 hi there, i have created these 2 scripts using ver 2. now i want it to be in ver 3. i tried using the "built-in" conversion tool, but it gave me alot of errors. can someone pls assist me to convert these 2 scripts to ver 3? I know the coding is totally very bad. pardon me....just learning tho. thanks. mouse not found....scroll any mouse to continue.
jpm Posted April 27, 2005 Posted April 27, 2005 I assume you have used he V2 to V3 converter to get the first result as in the attached file. For me it has done a pretty good Job only 2 and 3 error to correct due to impossibility to have a super clean structured script has the AutoIt3 language help you to think. You have to reorganized your code because you cannot jump inside a while as AU2 was allowing. That's the reason of the error show by the converted. JUst start with this converted scripts and you will do it.
iceberg Posted April 27, 2005 Author Posted April 27, 2005 thanks for the info and encouragement jpm! i have come up with the codes in V3. but i am a bit stuck. how do i exit the program when I click on CANCEL button? thanks. mouse not found....scroll any mouse to continue.
jpm Posted April 27, 2005 Posted April 27, 2005 thanks for the info and encouragement jpm!i have come up with the codes in V3. but i am a bit stuck. how do i exit the program when I click on CANCEL button?thanks.<{POST_SNAPBACK}>If ($__msgbox = 2) Then exitjust put it at the right placeyou can reference the constants.au3 and reference the value in a more clearer manner#include <Constants.au3> If ($__msgbox = $IDCANCEL ) Then exitGood luck
iceberg Posted April 29, 2005 Author Posted April 29, 2005 hi, jpm! thanks for the codes. but i couldn't understand them. but i have done it in a diff way and guess wat....it works man!!!! thank you so much!!! mouse not found....scroll any mouse to continue.
jpm Posted April 29, 2005 Posted April 29, 2005 hi, jpm!thanks for the codes. but i couldn't understand them.but i have done it in a diff way and guess wat....it works man!!!!thank you so much!!!<{POST_SNAPBACK}>You welcome.If you want more help post what you do not understand I am sure you will ,get help from the forum
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