AutoHotkey Community

It is currently May 26th, 2012, 10:27 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: August 30th, 2009, 5:12 pm 
Offline

Joined: March 8th, 2008, 11:36 am
Posts: 64
Location: Santa Barbara
You aren't sure how to escape the special characters in that parameter so it comes out right?

How Command Line Parameters Are Parsed
How to escape the special characters in your parameters
with numerous examples.


For example
  • to get "Call Me Ishmael" (parameter includes double quotes) use "\"Call Me Ishmael\""
  • to get C:\TEST A\ (parameter includes trailing slash) use "C:\TEST A\\"
  • to get "C:\TEST A\" (parameter includes double quotes and a trailing slash) use "\"C:\TEST A\\\""

How Command Line Parameters are Parsed:
http://www.autohotkey.net/~deleyd/param ... meters.htm

_________________
http://www.autohotkey.net/~deleyd/xprxm ... amples.htm


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 30th, 2009, 5:28 pm 
Would you mind to reopen/archive that post/thread at the Script & Functions section of the forum (btw, something like "... [HowTo]" at the subject line would indicate its main purpose).

Otherwise (plain guessing) your tutorial will drown quite fast at "Ask 4 Help", and people (like myself :roll: ) filtering specific sections won't find it anymore :shock:

And btw, thx for sharing it 8)


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: August 30th, 2009, 5:39 pm 
Let me be the first to heap praises upon you. That is a very comprehensive collection of information, very well presented, and very much appreciated. :!:


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: August 30th, 2009, 7:09 pm 
Offline

Joined: March 8th, 2008, 11:36 am
Posts: 64
Location: Santa Barbara
BoBo, you wish me to repost on the Scripts forum? Or is there some way to move a post to the Scripts forum I don't know about.

_________________
http://www.autohotkey.net/~deleyd/xprxm ... amples.htm


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 30th, 2009, 10:58 pm 
Offline

Joined: October 7th, 2006, 4:50 pm
Posts: 3157
Location: MN, USA
I think it's fine to leave the topic here. Threads in S&F are more for displaying code. All tutorials should also be listed on the Wiki, so that a comprehensive list is kept.

@deleyd
I've put a couple links to your work on that page, and I see this topic linked at the bottom of your AutoHotkey Expression Examples. You've created the most comprehensive AHK documentation outside of the official Help file. Kudos!

If I may make a suggestion, the amount of information on that page looks overwhelming. I think it would be more palatable to new users if it was broken down into several pages. It actually looks like a great candidate for a CHM file to me, in the same style as the official docs.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: AndyJenk, Bing [Bot], JSLover, Leef_me, Miguel, patgenn123, rbrtryn and 71 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group