Jump to content

script conversion


Recommended Posts

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.

Link to comment
Share on other sites

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. :)

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 exit

just put it at the right place

you can reference the constants.au3 and reference the value in a more clearer manner

#include <Constants.au3>
If ($__msgbox = $IDCANCEL ) Then exit

Good luck :)

Link to comment
Share on other sites

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 :(

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...