Diana (Cda) Posted September 21, 2007 Share Posted September 21, 2007 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! Link to comment Share on other sites More sharing options...
GaryFrost Posted September 21, 2007 Share Posted September 21, 2007 Try: ClipPut('yyyy.mm.dd.ddd., hh"h"nn (:ss)') SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Diana (Cda) Posted September 21, 2007 Author Share Posted September 21, 2007 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! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now