Jump to content
Sign in to follow this  
Sveet

Parse Error

Recommended Posts

Sveet

; Made by Sveet
; 4/3/04
; Open Source!! :)
; very simple script


$skill = iniread("config.ini", "settings", "Skill", "")
$delay = iniread("config.ini", "settings", "Delay", "")
$window = iniread("config.ini", "settings", "windowname", "")

("SendKeyDelay", $delay)
winactivate($window)
send($skill)

and i get error

Line 11 (File "C:\Documents and Settings\USER\Desktop\AutoSkill\AutoSkull.au3"):

("SendKeyDelay", $delay)
^ ERROR

Error: Unable to parse line.

uhh... what did i do wrong?

Share this post


Link to post
Share on other sites
scriptkitty

; Made by Sveet
; 4/3/04
; Open Source!! :)
; very simple script


$skill = iniread("config.ini", "settings", "Skill", "")
$delay = iniread("config.ini", "settings", "Delay", "")
$window = iniread("config.ini", "settings", "windowname", "")

("SendKeyDelay", $delay)
winactivate($window)
send($skill)

did you mean

Opt("SendKeyDelay",$delay)?

Opt("SendKeyDelay", $delay)

AutoIt3, the MACGYVER Pocket Knife for computers.

Share this post


Link to post
Share on other sites
Sveet

ty, when the person told me what thing to use to do that, he only told me that thing (im a newb fyi) and so ive been learning thru practice... my bad... ty very much!

Share this post


Link to post
Share on other sites
GrahamS

Actually my bad - the cut and past monster bit my post :D

Memo to self - must check posts more carefully :huh2:

:iamstupid:


GrahamS

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.