AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Multiple text commands

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
ChemicalKicks



Joined: 09 Jul 2008
Posts: 4

PostPosted: Thu Jul 10, 2008 12:06 pm    Post subject: Multiple text commands Reply with quote

Hi,

I wonder if someone can help me out as I seem a bit daft.

I'm doing a lot of order entry work and I'm trying to speed up the process.

I need to be able to use a couple of different hot keys that will auto populate certain fields;

email address
password
several outcomes

I have been able to come up with a hotkeys and get them to work. Problem is if I use more than one.

eg

wrote:
^d::
send REMOVED@REMOVED.com

^w::
send madeuppassword

^t::
send randomtext outcome


If I use the CTRL T command I get - randomtext outcome - which is great.
However if I use CTRL W I get - madeuppassword randomtext outcome - not so good
Yet again if I use CTRL D I get - REMOVED@REMOVED.com madeuppassword randomtext outcome

What am I doing wrong?
Back to top
View user's profile Send private message
GodlyMario



Joined: 02 Jul 2008
Posts: 35

PostPosted: Thu Jul 10, 2008 12:10 pm    Post subject: Reply with quote

return after each hotkey

--
p.s. to admins
dont ****ing delete my post


Last edited by GodlyMario on Thu Jul 10, 2008 12:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
tonne



Joined: 06 Jun 2006
Posts: 1159
Location: Denmark

PostPosted: Thu Jul 10, 2008 12:10 pm    Post subject: Reply with quote

or oneliners
Code:
^d::send REMOVED@REMOVED.com
^w::send madeuppassword
^t::send randomtext outcome

_________________
there's a dog barking close within the range of my ear
sounds like he wants to escape the chain
he would probably bite me to death if he could
but the chain lets me spit in his face

- Kashmir
Back to top
View user's profile Send private message
poo_noo



Joined: 08 Dec 2006
Posts: 93
Location: Sydney Australia

PostPosted: Thu Jul 10, 2008 12:11 pm    Post subject: Reply with quote

Code:
^d::
send REMOVED@REMOVED.com
return
^w::
send madeuppassword
return
^t::
send randomtext outcome
return


You need to add a return.

edit: looks like lots of responses whilst I was typing
_________________
Paul O
Back to top
View user's profile Send private message Visit poster's website
ChemicalKicks



Joined: 09 Jul 2008
Posts: 4

PostPosted: Thu Jul 10, 2008 2:43 pm    Post subject: Reply with quote

Thanks guys!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group