AutoHotkey Community

It is currently May 27th, 2012, 11:50 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: August 18th, 2010, 8:41 pm 
Offline

Joined: December 20th, 2005, 7:14 pm
Posts: 61
how do i indicate the end of the line of a sendinput command when there are spaces at the end?

eg sendinput this is a test <-- i want 3 spaces


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 18th, 2010, 8:45 pm 
Offline
User avatar

Joined: November 2nd, 2008, 4:23 pm
Posts: 2906
Location: 127.0.0.1
To put spaces at the end or start you can use A_Space or expressions.

Example A_Space:
Code:
This is a test  %A_Space% ;Three space at the end

Example Expressions:
Code:
SendInput, % "This is a test   " ;Three spaces at the end.

The % converts the following paramater to an expression.

_________________
aboutscriptappsscripts
Any code ⇈ above ⇈ requires AutoHotkey_L to run


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 18th, 2010, 10:27 pm 
Offline

Joined: December 20th, 2005, 7:14 pm
Posts: 61
kewl! thanks much!


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: BrandonHotkey, MSN [Bot], Yahoo [Bot] and 17 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