Jump to content

Unable to parse line error?


Recommended Posts

I must be losing my mind?

I am testing with v3, I am old v2 user.

Anyway, I ran a test script and received an "Unable to parlse line" error. I assumed my test script was bad so I simple ran a test script with the following code:

send, {lwin}

Basically just wanted to depress the Left windows key - same error? What simple thing must I be overlooking?

Please help!

Thanks,

Kerry

Link to comment
Share on other sites

  • Moderators

Send("{LWIN}")

Edit:

Sorry forgot quotes...

Edited by SmOke_N

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.

Link to comment
Share on other sites

Ah, I see. So with this new version I need to drop the "," and throw ("") around my commands?

You might also want to take a look at:

Start > Programs > AutoIt v3 > Extras > v2 to v3 Converter

Edited by herewasplato

[size="1"][font="Arial"].[u].[/u][/font][/size]

Link to comment
Share on other sites

  • Moderators

Ah, I see. So with this new version I need to drop the "," and throw ("") around my commands?

If you're converting Au2 to Au3 then herewasplato has the right idea... My strong suggestion is to simply look at the Au3 help file, and look at the different syntax changes.

Unfortunately (or not), I've never seen an Au2 script (well I have, but never bothered to truly look at it). From what everyone has said via the forum, Au3 is the way to go... So being knowlegable in Au2 and learning the proper syntax with the helpfile for Au3, you should be set!

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.

Link to comment
Share on other sites

If you're converting Au2 to Au3 then herewasplato has the right idea... My strong suggestion is to simply look at the Au3 help file, and look at the different syntax changes.

Unfortunately (or not), I've never seen an Au2 script (well I have, but never bothered to truly look at it). From what everyone has said via the forum, Au3 is the way to go... So being knowlegable in Au2 and learning the proper syntax with the helpfile for Au3, you should be set!

Oh, I agree. I am not using my old AU2 scripts - actually going to re-code them in AUv3, what better way to get accustomed to the changes :P

Thanks for the assistance.

Kerry

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