Sign in to follow this  
Followers 0
Diana (Cda)

Error: "Error parsing function call".

3 posts in this topic

I have text that goes into the settings area in a freeware systray clock that I use. I'm moved around a lot and have noticed that each new computer I go to I must re-input the settings, so I thought to do an AI script for this. However, I get an "error parsing function call error" when I try to use it and don't know how to fix the problem.

My script is this:

;
; AutoIt v3.0
;

SoundPlay (@ScriptDir & "\WAVS\CAMERA.WAV")



ClipPut("yyyy.mm.dd.ddd., hh"h"nn (:ss)")



Sleep(500)

Exit
; finished

The error arrow shows up under the letter h between the quotes: "h".

Thanks! :)

Share this post


Link to post
Share on other sites



Try:

ClipPut('yyyy.mm.dd.ddd., hh"h"nn (:ss)')
Super! I knew it would be something that simple. What I did was use double quotes for the quotation marks themselves, which I seem to remember having to do in another software program,but it didn't work in AI. At any rate, this solution works great in AI. I'll have to remember that. To sub single quotes instead of double whenever this type of thing crops up. Thanks! :)

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