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 

Macro

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



Joined: 15 Jun 2008
Posts: 1

PostPosted: Sun Jun 15, 2008 9:24 pm    Post subject: Macro Reply with quote

Hello. Will this work on a new vista laptop? I am using home premium. If so, I need it to be able to replace BBB with:
Want a chance to win coins? See if you can find the secret. ENTER Visit www.website.com for more info. ENTER

ENTER= Pressing the enter key



So whenever I press B three times (bbb) it will come up with the above.

[Title edited. Please write descriptive titles for your topics. ~jaco0646]
Back to top
View user's profile Send private message
PurloinedHeart



Joined: 04 Apr 2008
Posts: 209
Location: Canada

PostPosted: Sun Jun 15, 2008 10:04 pm    Post subject: Reply with quote

Yes.

Vista has some issues with AHK, but it'll probably work.
Back to top
View user's profile Send private message
Guest






PostPosted: Sun Jun 15, 2008 11:07 pm    Post subject: Reply with quote

Can you make the script?
Back to top
Krogdor



Joined: 18 Apr 2008
Posts: 1145
Location: The Interwebs

PostPosted: Sun Jun 15, 2008 11:11 pm    Post subject: Reply with quote

Code:
::bbb::
SendInput, {backspace 3} Want a chance to win coins? See if you can find the secret. {ENTER} Visit www.website.com for more info. {ENTER}
return
Back to top
View user's profile Send private message AIM Address
PurloinedHeart



Joined: 04 Apr 2008
Posts: 209
Location: Canada

PostPosted: Sun Jun 15, 2008 11:24 pm    Post subject: Reply with quote

You don't need to send the three backspaces
Code:

::bbb::Want a chance to win coins? See if you can find the secret.`nVisit www.website.com for more info.`n
Back to top
View user's profile Send private message
Guest






PostPosted: Mon Jun 16, 2008 1:18 am    Post subject: Reply with quote

Thanks. I used the first posted one. The second one did not work. It is working wonderfully for my needs.
Back to top
PurloinedHeart



Joined: 04 Apr 2008
Posts: 209
Location: Canada

PostPosted: Mon Jun 16, 2008 1:20 am    Post subject: Reply with quote

Whoops, you probably needed the Enter key instead of newlines Mad


::bbb::Want a chance to win coins? See if you can find the secret.{Enter}Visit www.website.com for more info.{Enter}
Back to top
View user's profile Send private message
Krogdor



Joined: 18 Apr 2008
Posts: 1145
Location: The Interwebs

PostPosted: Mon Jun 16, 2008 3:52 am    Post subject: Reply with quote

Oh, didn't know you the autoreplace hotstrings worked exactly like a send command, where you could send {enter} and such... well anyway. It's the same thing anyway, just a couple lines shorter.
Back to top
View user's profile Send private message AIM Address
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