 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
engunneer
Joined: 30 Aug 2005 Posts: 6560 Location: Pacific Northwest, US
|
Posted: Thu Aug 09, 2007 5:14 pm Post subject: engunneer's home thread |
|
|
This is a thread for me to keep common answers handy for forum linking
If I have sent you to this thread, please read below to find the answers you seek.
Please Donate to AHK _________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM
Last edited by engunneer on Thu Jul 24, 2008 12:21 am; edited 6 times in total |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6560 Location: Pacific Northwest, US
|
Posted: Thu Aug 09, 2007 5:14 pm Post subject: stdlib catalog |
|
|
**Temorary holding place
There has been a great deal of work in this, so it is time to start collecting them.
Please post additional ones as replies. Please keep other discussion to a minimum, so this topic is not polluted with non-links. _________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM
Last edited by engunneer on Fri Oct 05, 2007 1:04 am; edited 10 times in total |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6560 Location: Pacific Northwest, US
|
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6560 Location: Pacific Northwest, US
|
Posted: Thu Aug 09, 2007 5:14 pm Post subject: |
|
|
Reserved _________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM
Last edited by engunneer on Mon Feb 25, 2008 9:20 pm; edited 2 times in total |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6560 Location: Pacific Northwest, US
|
Posted: Thu Aug 09, 2007 5:14 pm Post subject: |
|
|
Reserved _________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6560 Location: Pacific Northwest, US
|
Posted: Thu Aug 09, 2007 5:15 pm Post subject: |
|
|
Reserved _________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6560 Location: Pacific Northwest, US
|
Posted: Thu Aug 09, 2007 5:16 pm Post subject: Repeated Actions |
|
|
Links to threads for making or stopping a repeated action:
Help with simple code: loop stop when key pressed.
Breaking an infinite loop with keypress
a bit of help pls
Disconinuing a loop and then again continue
a hotkey to stop current hotkey
Start and Stop
I think the best way to make a simple repeated action that you can start and stop easily.
| Code: |
;start hotkey
1::
settimer, sendkey, 50 ;50 is 20 times a second
return
;stopkey
2::
settimer, sendkey, off
return
sendkey:
send, {whatever key}
return
|
http://www.autohotkey.com/forum/viewtopic.php?p=140032#140032 _________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM
Last edited by engunneer on Thu Dec 27, 2007 11:51 pm; edited 5 times in total |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5026 Location: imaginationland
|
Posted: Tue Aug 21, 2007 11:36 pm Post subject: |
|
|
Good idea. If you continue to build a categorized index of faq's we can link to this thread. _________________
RegExReplace("irc.freenode.net/autohotkey", "^(?=(.(?=[\0-r\[]*((?<=\.).))))(?:[c-\x73]{2,8}(\S))+((2)|\b[^\2-]){2}\D++$", "$u3$1$3$4$2") |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6560 Location: Pacific Northwest, US
|
Posted: Wed Aug 22, 2007 12:00 am Post subject: |
|
|
I borrowed the idea from another user - maybe toralf? _________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5026 Location: imaginationland
|
Posted: Wed Aug 22, 2007 12:12 am Post subject: |
|
|
I think his 'home thread' is more of a portfolio of his scripts. _________________
RegExReplace("irc.freenode.net/autohotkey", "^(?=(.(?=[\0-r\[]*((?<=\.).))))(?:[c-\x73]{2,8}(\S))+((2)|\b[^\2-]){2}\D++$", "$u3$1$3$4$2") |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6560 Location: Pacific Northwest, US
|
Posted: Wed Aug 22, 2007 12:47 am Post subject: |
|
|
true, and I want to do that here as well, but also have some posts for common questions. I am still trying to figure out the right format.
I find myself giving the same responses so often now, that I have finally automated it! Do you like the result?
Here's my script for automated nitpicking
| Code: |
#SingleInstance force
SetKeyDelay, -1
#c::
Gui, Add, Button, w90 h35, &Welcome
Gui, Add, Button, w90 h35 , &Guest
Gui, Add, Button, w90 h35 ym, &Code
Gui, Add, Button, w90 h35 , &Subject
Gui, Add, Button, w90 h35 ym, &Repeated
Gui, Add, Button, w90 h35 , Searc&h
Gui, Add, Button, w290 h35 xm, Cancel (&x)
Gui, Show, , Automated Nitpicking
Return
GuiClose:
ExitApp
ButtonCancel(x):
Gui, Hide
Return
ButtonCode:
Gui, Hide
Sleep, 10
Send,
(
Automated Nitpicking:
when posting code in the forum, please use code tags, like this:
[code]
[code]
;code goes here
[/code]
[/code]
Among other things, it makes it monospaced, syntax colored (comments), easy to copy, smaller, and it preserves the whitespace.
)
Return
ButtonGuest:
Gui, Hide
Sleep, 10
Send,
(
Automated Nitpicking:
when posting in the forum, please choose a username when you post. It helps us keep track of who we are talking to, especially in threads with multiple guests.
You are also invited to register for a user account, which lets you send and receive Private messages, and lets you edit your posts in the future. Registration is free and optional.
)
Return
ButtonSubject:
Gui, Hide
Sleep, 10
Send,
(
Automated Nitpicking:
when posting in the forum, please use a meaningful subject line. Please read the following Sticky post:
[url=http://www.autohotkey.com/forum/viewtopic.php?t=4986]PLEASE READ IF YOU'RE NEW: How to Get Answers Effectively[/url]
)
Return
ButtonWelcome:
Gui, Hide
Sleep, 10
Send,
(
[b][u]Welcome to the AHK community{!}[/u][/b]
)
Return
ButtonRepeated:
Gui, Hide
Sleep, 10
Send,
(
You may be interested in one of the posts in [url=http://www.autohotkey.com/forum/topic21919.html]my home thread[/url]. Specifically, the post about repeated actions.
)
Return
ButtonSearch:
Gui, Hide
Sleep, 10
Send,
(
That is a frequently asked question. The answer can be found by searching the forums.
[b]Never forget:[/b] The [img]http://www.autohotkey.com/forum/templates/subSilver/images/icon_mini_search.gif[/img] [url=http://www.autohotkey.com/forum/search.php]Search[/url] is with you... :wink:
[size=8]Link and quote style borrowed from [url=http://www.autohotkey.com/forum/profile.php?mode=viewprofile&u=610]daonlyfreez[/url][/size]
)
Return
|
_________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM
Last edited by engunneer on Wed Sep 05, 2007 8:00 pm; edited 1 time in total |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5026 Location: imaginationland
|
Posted: Wed Aug 22, 2007 1:45 pm Post subject: |
|
|
I would use hotstrings and change the wording a little but it looks good. _________________
RegExReplace("irc.freenode.net/autohotkey", "^(?=(.(?=[\0-r\[]*((?<=\.).))))(?:[c-\x73]{2,8}(\S))+((2)|\b[^\2-]){2}\D++$", "$u3$1$3$4$2") |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6560 Location: Pacific Northwest, US
|
Posted: Wed Aug 22, 2007 7:45 pm Post subject: |
|
|
please let me know how you think the wording should be, and I will be happy to update it. I do not intend to offend, and would like to avoid it. _________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM |
|
| Back to top |
|
 |
Ian
Joined: 15 Jul 2007 Posts: 1151 Location: Enterprise, Alabama
|
Posted: Mon Aug 27, 2007 12:32 am Post subject: |
|
|
| Thanks for posting your nitpicking script. I'm gonna use it in the forums now. |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6560 Location: Pacific Northwest, US
|
Posted: Mon Aug 27, 2007 3:16 am Post subject: |
|
|
please use it carefully...
I posted it here so I can keep it in sync between a few computers. I should just put it on autohotkey.net _________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM |
|
| 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
|