Sign in to follow this  
Followers 0
Botman

Problem with Error parsing function call

5 posts in this topic

#1 ·  Posted (edited)

So i made my first script but when i tried to run it, a message pops up: Line 3 error parsing function call.

I have posted other threads but they got locked cuz i hadnt read the rules properly, so i decided to change the script completely and make it so it just moves the mouse across the screen then types autoit forum. i would really appriciate it if you could help me.

Edited by Botman

Share this post


Link to post
Share on other sites



So i made my first script but when i tried to run it, a message pops up: Line 3 error parsing function call.

I have posted other threads but they got locked cuz i hadnt read the rules properly, so i decided to change the script completely and make it so it just moves the mouse across the screen then types autoit forum. i would really appriciate it if you could help me.

This is what is called a catch22:

You need to post the script when you need help with this and I guess it still is on the same topic so not allowed.

Either way: Posting these type of questions without the details is useless.

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

So heres my script:

WinWaitActive ( "Google - Mozilla Firefox" )

While 1=1

MouseMove ( 688, 389 [, 10] )

MouseDown ( "left" )

Sleep ( 500 )

MouseUp ( "left" )

Send ( "A" )

Sleep ( 1 )

Send ( "U" )

Sleep ( 1 )

Send ( "T" )

Sleep ( 1 )

Send ( "O" )

Sleep ( 1 )

Send ( "I" )

Sleep ( 1 )

Send ( "O" )

Sleep ( 1 )

Send ( "{ENTER}" )

WEnd

Hope someone can help me.

Share this post


Link to post
Share on other sites

Brackets denote optional parameters. So remove them from the MouseMove statement.

BTW: If you want reliable scripts don't do it this way. Use the FireFox UDF to automate FireFox.

1 person likes this

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
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
Sign in to follow this  
Followers 0