speedi Posted May 1, 2008 Share Posted May 1, 2008 I always have problems where to place quotes when using macros such as @MyDocumentsDir. Is there a basic rule for inserting macros like this in a command that has other literals? Thanks Link to comment Share on other sites More sharing options...
Developers Jos Posted May 1, 2008 Developers Share Posted May 1, 2008 I always have problems where to place quotes when using macros such as @MyDocumentsDir.Is there a basic rule for inserting macros like this in a command that has other literals? ThanksA Marco is a Variable which means you shouldn't use any type of quotes.Show an example what confuses you... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
speedi Posted May 1, 2008 Author Share Posted May 1, 2008 A Marco is a Variable which means you shouldn't use any type of quotes.Show an example what confuses you...I am referring to using a macro within a literalHere are 2 that I now have working correctly.Send(@MyDocumentsDir &"{enter}")WinWait("PowerDesk -> " & @MyDocumentsDir & "\*.*","")I guess I need to be sure the quotes are placed correctly... 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