 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
Cyber
Joined: 10 Mar 2009 Posts: 86 Location: Nsw/Syd/Kiama
|
Posted: Fri Dec 04, 2009 4:21 am Post subject: what have i done wrong in this hotstring macro |
|
|
hey this is my script
| Code: |
;rules
::rules::
loop 1(
/cc rules -
sleep ,1000
/-please only pm ranks on cc based q's
sleep , 1201
/-dont ask ranks, if u can buy merch of them =]
sleep ,990
/-only apply for rank if you are comfedent with these rules.
sleep ,1404
/- dont ask ranks for rank. we wil not easily throw it out.
sleep ,1102
/please dont flame ranks.
sleep ,1320
/- commen curticy is much appreciated =]
sleep ,1247
/- have fun and ask feel free to ask questions ,cc based =]
)
return
|
its desinghed for a game to just keep things in order..
it is ment to send this sesired text when i type "rules" but i get error on line 6 =/[/quote]
[Title edited. Please write descriptive titles for your topics. ~jaco0646] _________________ ---{+.-}--- |
|
| Back to top |
|
 |
entropic
Joined: 21 Dec 2008 Posts: 181
|
Posted: Fri Dec 04, 2009 4:28 am Post subject: |
|
|
I'm not sure if this is what you actually want, you have a lot of syntax errors in your script. Have a look at the Quick-Start Tutorial and the other documentation.
| Code: |
;rules
::rules::
SendInput, /cc rules -
sleep ,1000
SendInput, /-please only pm ranks on cc based q's
sleep , 1201
SendInput, /-dont ask ranks, if u can buy merch of them =]
sleep ,990
SendInput, /-only apply for rank if you are comfedent with these rules.
sleep ,1404
SendInput, /- dont ask ranks for rank. we wil not easily throw it out.
sleep ,1102
SendInput, /please dont flame ranks.
sleep ,1320
SendInput, /- commen curticy is much appreciated =]
sleep ,1247
SendInput, /- have fun and ask feel free to ask questions ,cc based =]
return
|
|
|
| Back to top |
|
 |
Cyber
Joined: 10 Mar 2009 Posts: 86 Location: Nsw/Syd/Kiama
|
Posted: Fri Dec 04, 2009 4:52 am Post subject: |
|
|
cheers, um all i whant it to do i write what i typed with them sleep timers lol. _________________ ---{+.-}--- |
|
| Back to top |
|
 |
Cyber
Joined: 10 Mar 2009 Posts: 86 Location: Nsw/Syd/Kiama
|
Posted: Fri Dec 04, 2009 4:59 am Post subject: |
|
|
ok heres my upodated script
| Code: |
;rules
::rules::
SendInput, /cc rules -
{enter}
sleep ,1000
SendInput, /-please only pm ranks on cc based q's
{enter}
sleep , 1201
SendInput, /-dont ask ranks, if u can buy merch of them =]
{enter}
sleep ,990
SendInput, /-only apply for rank if you are comfedent with these rules.
{enter}
sleep ,1404
SendInput, /- dont ask ranks for rank. we wil not easily throw it out.
{enter}
sleep ,1102
SendInput, /please dont flame ranks.
{enter}
sleep ,1320
SendInput, /- commen curticy is much appreciated =]
{enter}
sleep ,1247
SendInput, /- have fun and ask feel free to ask questions ,cc based =]
{enter}
return
|
ok what im trying to get it to do is press enter after every line it rights.
what have i dont wrong this time? _________________ ---{+.-}--- |
|
| Back to top |
|
 |
Cyber
Joined: 10 Mar 2009 Posts: 86 Location: Nsw/Syd/Kiama
|
Posted: Fri Dec 04, 2009 5:33 am Post subject: |
|
|
what im looking for is ...
-whats the code for "enter" that is so that the script presses enter after writing each line of text. _________________ ---{+.-}--- |
|
| Back to top |
|
 |
vahju
Joined: 17 Feb 2008 Posts: 296
|
Posted: Fri Dec 04, 2009 7:20 pm Post subject: |
|
|
You should be able to to do this one of two ways.
SendInput, /cc rules -{enter}
OR
SendInput, {enter} |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|