 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
engunneer
Joined: 30 Aug 2005 Posts: 7698 Location: Germany (but I only speak English)
|
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.
http://www.autohotkey.com/forum/viewtopic.php?p=123243#123243
Please Donate to AHK _________________
Unless noted, all code is UNTESTED.
Answers Here: 1.(Loops, Viruses, etc.) 2.Search 3.RTFM 4.Ask for Help.
PMs will be ignored unless you are hiring me.
Last edited by engunneer on Tue Sep 08, 2009 5:06 am; edited 11 times in total |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 7698 Location: Germany (but I only speak English)
|
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 noted, all code is UNTESTED.
Answers Here: 1.(Loops, Viruses, etc.) 2.Search 3.RTFM 4.Ask for Help.
PMs will be ignored unless you are hiring me.
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: 7698 Location: Germany (but I only speak English)
|
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 7698 Location: Germany (but I only speak English)
|
Posted: Thu Aug 09, 2007 5:14 pm Post subject: |
|
|
Using multiple mice and keyboards
Using a hotkey on only one keyboard:
http://www.autohotkey.com/forum/viewtopic.php?t=48238 _________________
Unless noted, all code is UNTESTED.
Answers Here: 1.(Loops, Viruses, etc.) 2.Search 3.RTFM 4.Ask for Help.
PMs will be ignored unless you are hiring me.
Last edited by engunneer on Tue Sep 01, 2009 10:05 am; edited 3 times in total |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 7698 Location: Germany (but I only speak English)
|
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 7698 Location: Germany (but I only speak English)
|
Posted: Thu Aug 09, 2007 5:15 pm Post subject: |
|
|
If you have a problem with a script error, but you don't know how to edit the script anymore (You used to right click the icon and hit edit, but the program won't start anymore)
List collected by JSLover _________________
Unless noted, all code is UNTESTED.
Answers Here: 1.(Loops, Viruses, etc.) 2.Search 3.RTFM 4.Ask for Help.
PMs will be ignored unless you are hiring me.
Last edited by engunneer on Thu Aug 14, 2008 6:15 am; edited 1 time in total |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 7698 Location: Germany (but I only speak English)
|
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 noted, all code is UNTESTED.
Answers Here: 1.(Loops, Viruses, etc.) 2.Search 3.RTFM 4.Ask for Help.
PMs will be ignored unless you are hiring me.
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: 5043 Location: /b/
|
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. _________________ Chat (IRC) • PlusNet • Scripts • IronAHK • Contact by email not private message. |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 7698 Location: Germany (but I only speak English)
|
Posted: Wed Aug 22, 2007 12:00 am Post subject: |
|
|
I borrowed the idea from another user - maybe toralf? _________________
Unless noted, all code is UNTESTED.
Answers Here: 1.(Loops, Viruses, etc.) 2.Search 3.RTFM 4.Ask for Help.
PMs will be ignored unless you are hiring me. |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5043 Location: /b/
|
Posted: Wed Aug 22, 2007 12:12 am Post subject: |
|
|
I think his 'home thread' is more of a portfolio of his scripts. _________________ Chat (IRC) • PlusNet • Scripts • IronAHK • Contact by email not private message. |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 7698 Location: Germany (but I only speak English)
|
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 noted, all code is UNTESTED.
Answers Here: 1.(Loops, Viruses, etc.) 2.Search 3.RTFM 4.Ask for Help.
PMs will be ignored unless you are hiring me.
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: 5043 Location: /b/
|
Posted: Wed Aug 22, 2007 1:45 pm Post subject: |
|
|
I would use hotstrings and change the wording a little but it looks good. _________________ Chat (IRC) • PlusNet • Scripts • IronAHK • Contact by email not private message. |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 7698 Location: Germany (but I only speak English)
|
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 noted, all code is UNTESTED.
Answers Here: 1.(Loops, Viruses, etc.) 2.Search 3.RTFM 4.Ask for Help.
PMs will be ignored unless you are hiring me. |
|
| Back to top |
|
 |
trik
Joined: 15 Jul 2007 Posts: 1318
|
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: 7698 Location: Germany (but I only speak English)
|
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 noted, all code is UNTESTED.
Answers Here: 1.(Loops, Viruses, etc.) 2.Search 3.RTFM 4.Ask for Help.
PMs will be ignored unless you are hiring me. |
|
| 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
|