Search found 170 matches
- 26 Feb 2024, 12:02
- Forum: Ask for Help (v2)
- Topic: Help converting OnScreen Display function to v2
- Replies: 12
- Views: 691
Re: Help converting OnScreen Display function to v2
do a gui close before you call it the second time
- 27 Jan 2023, 20:18
- Forum: Ask for Help (v2)
- Topic: Help converting OnScreen Display function to v2
- Replies: 12
- Views: 691
Help converting OnScreen Display function to v2
I've got a function from AHK v1.1 that pops up text in an on screen display, and I'm having a bear of a time getting it translated to AHK v2. Anyone able to assist? V1.1 code: ; Function to show OSD text OSD(Text, Color:="Lime", Size:=24, TimeInSec:=3) { Progress, y75 B ZH0 FM%Size% CWBlack CT%Color...
- 27 Jan 2023, 15:30
- Forum: Ask for Help (v2)
- Topic: Error: Invalid key name Topic is solved
- Replies: 4
- Views: 1033
Re: Error: Invalid key name Topic is solved
Thanks, that was it! I see what I was doing wrong there too.
- 27 Jan 2023, 14:57
- Forum: Ask for Help (v2)
- Topic: Error: Invalid key name Topic is solved
- Replies: 4
- Views: 1033
Re: Error: Invalid key name Topic is solved
keys := [] ;Build lookup array, declare hotkeys Loop % key_list.MaxIndex() { key := key_list[A_Index] keys[key] := 0 ; init array values hotkey, $*%key%, keydown ; Declare hotkeys for up and down events hotkey, $*%key% up, keyup } Loop { for sendkey, value in keys { ; Loop through each of the keys ...
- 27 Jan 2023, 14:37
- Forum: Ask for Help (v2)
- Topic: Error: Invalid key name Topic is solved
- Replies: 4
- Views: 1033
Error: Invalid key name Topic is solved
I'm getting the error: Error: Invalid key name. Text: keydown The program will exit. from the code below. It was fine in 1.1L, but I'm having issues converting these two to v2. Anyone have any suggestions? Loop { for sendkey, value in keys { ; Loop through each of the keys in key_list if (value){ Se...
- 23 Jan 2023, 14:49
- Forum: Ask for Help (v1)
- Topic: seeking Oauth2 lib
- Replies: 2
- Views: 335
Re: seeking Oauth2 lib
Not quite what I asked for. Anyone else?
- 20 Jan 2023, 15:02
- Forum: Ask for Help (v1)
- Topic: seeking Oauth2 lib
- Replies: 2
- Views: 335
seeking Oauth2 lib
Does anyone have a link to a good copy of Oauth2.ahk or the Oauth2 lib?
Searching the forums here, github, and the web in general have yielded no valid links.
Searching the forums here, github, and the web in general have yielded no valid links.
- 17 Apr 2021, 19:30
- Forum: Gaming Help (v1)
- Topic: World Of Warcraft Press once A Hotkey And Spam it Topic is solved
- Replies: 8
- Views: 2188
Re: World Of Warcraft Press once A Hotkey And Spam it Topic is solved
@ali_tx
No, because that would be game automation instead of a simple keyspammer, and would be against ToS.
No, because that would be game automation instead of a simple keyspammer, and would be against ToS.
- 11 Mar 2021, 10:22
- Forum: Gaming Help (v1)
- Topic: World Of Warcraft Press once A Hotkey And Spam it Topic is solved
- Replies: 8
- Views: 2188
- 11 Mar 2021, 08:57
- Forum: Gaming Scripts (v1)
- Topic: [12/29/2021 UPDATE] [Script] Rapid Key Presser for World of Warcraft or other MMOs!
- Replies: 8
- Views: 35540
- 11 Mar 2021, 08:54
- Forum: Gaming Help (v1)
- Topic: World Of Warcraft Press once A Hotkey And Spam it Topic is solved
- Replies: 8
- Views: 2188
Re: World Of Warcraft Press once A Hotkey And Spam it Topic is solved
Hi there guys. I'm new to AHK im looking for a script by pressing a hotkey once and realse it then it start to spam that hotkey . I want to make it for binds like 1-9 And q,w,e,r,t,y,u,a,s,d,f,g,z,x,c,v or i don't mind if it work on all keybidings if it's easier to make it for all keys I would also...
- 13 Aug 2018, 12:25
- Forum: Scripts and Functions (v1)
- Topic: Play a sound every 00 and 30 minute marks
- Replies: 2
- Views: 1793
Re: Play a sound every 00 and 30 minute marks
You could also do something like this: ; ; TimeSpeak v1.1 ; by Grendahl ; Announces the time on the hour using Microsoft's text-to-speech engine ; ; Change Log ; v1.1 (2011-11-28) ; First version (inspired by http://www.autohotkey.com/forum/viewtopic.php?t=14305) ;********** settings, variable decla...
- 09 Mar 2018, 13:16
- Forum: Ask for Help (v1)
- Topic: Mouse move, click, and click/drag in two differently sized windows
- Replies: 0
- Views: 1030
Mouse move, click, and click/drag in two differently sized windows
Thanks to Lexikos and his post at https://autohotkey.com/board/topic/40638-controlclick-dragging/#entry254408 I'm at least able to get clicking and dragging working between windows. The hitch is that I need to do the same but on differently scaled windows. EDIT: I got the scaling working. Still need...
- 17 Mar 2017, 07:48
- Forum: Ask for Help (v1)
- Topic: Multiple ListViews in one GUI
- Replies: 3
- Views: 2443
Re: Multiple ListViews in one GUI
Figured it out.
The winspy utility shows them all as having the same ID, but they can be called.
Winspy says the control is named SysListView321, but I can call the sixth one like this:
ControlGet, DSTHLV, Hwnd,,SysListView326,%WindowName%
The winspy utility shows them all as having the same ID, but they can be called.
Winspy says the control is named SysListView321, but I can call the sixth one like this:
ControlGet, DSTHLV, Hwnd,,SysListView326,%WindowName%
- 09 Mar 2017, 09:51
- Forum: Ask for Help (v1)
- Topic: Multiple ListViews in one GUI
- Replies: 3
- Views: 2443
Multiple ListViews in one GUI
How do I get highlighting to only apply to a specified ListView when there are multiple ListViews in one GUI? ; ; AutoHotkey Version: 1.1_L ; Language: English ; Platform: Win9x/NT ; Author: A.N.Other <myemail@nowhere.com> ; ; Script Function: ; Template script (you can customize this template by ed...
- 16 Feb 2017, 11:10
- Forum: Ask for Help (v1)
- Topic: Copy & Paste Scripts
- Replies: 5
- Views: 53724
- 16 Feb 2017, 09:56
- Forum: Ask for Help (v1)
- Topic: Copy & Paste Scripts
- Replies: 5
- Views: 53724
Re: Copy & Paste Scripts
Paste your code in the forums here, using CODE tags from the full editor, and people can help.
Example:
Example:
Code: Select all
;this is a code block
MsgBox This is a message box
- 16 Feb 2017, 09:16
- Forum: Gaming Help (v1)
- Topic: Imagesearch failure (new and confused!)
- Replies: 1
- Views: 1096
Re: Imagesearch failure (new and confused!)
ImageSearch, x, y, 532 , 903, 988, 948, C:\Users\EXAMPLE\Desktop\PixelMacro\buff1.bmp
the output variables are required.
the output variables are required.
- 16 Feb 2017, 09:08
- Forum: Gaming Help (v1)
- Topic: Game Rotation Script, Need Help Topic is solved
- Replies: 3
- Views: 1787
Re: Game Rotation Script, Need Help Topic is solved
For one, you are in expression mode with your variable assignments, so anything that is a letter won't work.
For example,
habq := q
should be
habq := "q"
For example,
habq := q
should be
habq := "q"
- 06 Feb 2017, 11:37
- Forum: Ask for Help (v1)
- Topic: simple example of using file dll
- Replies: 6
- Views: 1776
Re: simple example of using file dll
Sorry... let me re-paste the code.
I'll edit my other post
I'll edit my other post