Search found 125 matches

by hunter99
21 Aug 2019, 12:28
Forum: Ask For Help
Topic: Gui Buttons & Touchscreen problem
Replies: 5
Views: 377

Re: Gui Buttons & Touchscreen problem

Hi ianjf, sorry that didn't help. Don't have Win10 or my laptop with touch at the moment so can't try here. But I was not too clear where to put the line "KeyWait,LButton, L T.3 ", the T is time in seconds, try various times. Here are 4 spots I would try. Gui, Show, W480 H680 X800 Y0 ;KeyWait,LButto...
by hunter99
21 Aug 2019, 10:59
Forum: Ask For Help
Topic: I can't figure out what is wrong with this code Topic is solved
Replies: 2
Views: 261

Re: I can't figure out what is wrong with this code Topic is solved

Hi begenner:
You forgot the quotes around the esc key, like this---> GetKeyState("Esc")
hunter99
by hunter99
20 Aug 2019, 15:22
Forum: Ask For Help
Topic: Gui Buttons & Touchscreen problem
Replies: 5
Views: 377

Re: Gui Buttons & Touchscreen problem

Hi ianjf, Try changing the U to a D in this line MouseClick, left,,,,, U . One on my scripts had the same problem with touch screens, but in this case all the keys where GUIs. Had to add the L option here "KeyWait,LButton, L T.3 ; Waits for you to *release* the LButton. Default wait here is 300ms. L...
by hunter99
19 Aug 2019, 20:00
Forum: Ask For Help
Topic: [SOLVED] MsgBox not outputting anything Topic is solved
Replies: 2
Views: 199

Re: MsgBox not outputting anything Topic is solved

HI, A little typo; your var. labels don't match. Try this, added a little id text in msgbox. Random, vRandom, 1,9 1NUM := vRandom Random, vRandom, 1,9 2NUM := vRandom if (1NUM & 1) { P1NUM := 1NUM + 2NUM msgbox, +Box P1NUM=%P1NUM% } else { P1NUM := 1NUM - 2NUM msgbox, -Box P1NUM=%P1NUM% } hunter99
by hunter99
18 Aug 2019, 17:29
Forum: Ask For Help
Topic: Having hard time using specific variable in an IF condition
Replies: 5
Views: 195

Re: Having hard time using specific variable in an IF condition

Hi IlanSh, thanks for kind comment on other post and glad it working ok. You may want to get this, makes testing small scripts easy. get a copy of CodeQuicktester by GeekDude from here: https://autohotkey.com/boards/viewtopic.php?f=6&t=6113 Try this to see if it helps, read the comments, for test th...
by hunter99
18 Aug 2019, 07:53
Forum: Ask For Help
Topic: Using keyboard LEDs, not working
Replies: 4
Views: 146

Re: Using keyboard LEDs, not working

Hi ILanSh, Welcome to AHK, yes there is help available. Suggest you look in the AutoHotKey help file. Check out these 3 commands: SetCapsLockState / SetNumLockState / SetScrollLockState. They should let you do what you want and with a lot less code. As an example here is a line that toggles the Caps...
by hunter99
14 Aug 2019, 13:25
Forum: Ask For Help
Topic: Will the context menu be destroyed when the GUI is destroyed? Topic is solved
Replies: 4
Views: 240

Re: Will the context menu be destroyed when the GUI is destroyed? Topic is solved

Hi afe, this should do it. See GEV's answer here : https://autohotkey.com/board/topic/105748-my-menu-is-keeps-growing/ hunter99 Edit: a few lines and comments from a script wrote a few years ago. Menu, rcMenu, Add ;Would add another line with each usage; pulling out my hair, then found this: Menu, r...
by hunter99
16 Feb 2019, 20:25
Forum: Ask For Help
Topic: Custom Msgbox
Replies: 13
Views: 871

Re: Custom Msgbox

Perfect here, no stutter, crawling text smooth as silk. Nice job. • Intel Core i7-4790 Processor 3.6GHz up to 4.0GHz Turbo Frequency, 8MB Cache , 16GB DDR3 (8GBx2 1600MHz), 2TB 7200 rpm Hard Drive • Intel HD Graphics, Tray load DVD Drive (Reads and Writes to DVD/CD), 2 USB 3.0, 4 USB 2.0, HDMI • DW ...
by hunter99
17 Jan 2019, 21:19
Forum: Ask For Help
Topic: WinMenuSelectItem and ControlSend not working with Cisco Webex Meetings Topic is solved
Replies: 31
Views: 2318

Re: WinMenuSelectItem and ControlSend not working with Cisco Webex Meetings Topic is solved

Seeing jeeswg's post above I should mentioned that in 3rd post above I posted the link for "Alt Menu Search.ahk” by lexikos: Should have also mentioned that the PostMessage ID is displayed at bottom right of the Gui. But thanks for this one, which I think will see more use. Really like jeeswg's link...
by hunter99
17 Jan 2019, 17:29
Forum: Ask For Help
Topic: WinMenuSelectItem and ControlSend not working with Cisco Webex Meetings Topic is solved
Replies: 31
Views: 2318

Re: WinMenuSelectItem and ControlSend not working with Cisco Webex Meetings Topic is solved

Hi geekyadam, This might give you some ideas. ;Example to show changing from the active window to MSPaint, make changes there and go back to original window ~!w:: ;change key to suit WinGetActiveTitle, oTitle ;oTitle is the variable containing title of active window when key is hit WinActivate, ahk_...
by hunter99
17 Jan 2019, 15:39
Forum: Ask For Help
Topic: WinMenuSelectItem and ControlSend not working with Cisco Webex Meetings Topic is solved
Replies: 31
Views: 2318

Re: WinMenuSelectItem and ControlSend not working with Cisco Webex Meetings Topic is solved

Yeah I'm wondering if that is the case with this particular program... :( Is there any way to test to confirm if it is not a true MS menu? Use this to confirm, you can get it here. Read all the posts there. “Alt Menu Search.ahk” by lexikos. From here - http://ahkscript.org/boards/viewtopic.php?f=6&...
by hunter99
15 Jan 2019, 19:08
Forum: Ask For Help
Topic: WinMenuSelectItem and ControlSend not working with Cisco Webex Meetings Topic is solved
Replies: 31
Views: 2318

Re: WinMenuSelectItem and ControlSend not working with Cisco Webex Meetings Topic is solved

Hi geekyadam, this might help. Don't have Cisco Webex Meeting, so used notepad to test format. Uncomment the key to try. ;!pgup::WinMenuSelectItem, Untitled - Notepad, , File, Open ;may work when one below will not ;!pgup::WinMenuSelectItem, Untitled - Notepad, , 1&, 2& ;may work when one above will...
by hunter99
12 Aug 2018, 17:24
Forum: Ask For Help
Topic: could i display a color in tooltip ?
Replies: 1
Views: 308

Re: could i display a color in tooltip ?

Hi takayo97, Try MagicBox by Alguimist from here: https://autohotkey.com/boards/viewtopic.php?f=6&t=20983 Type MsgBixEx, lets you pick background color. This might give you some ideas. SORRY, this old brain flipped Tooltip and Msgbox. Getting to old. :cry: This should do it. ToolTipFont / ToolTipCol...
by hunter99
02 Aug 2018, 23:48
Forum: Ask For Help
Topic: please help on loop issue
Replies: 2
Views: 466

Re: please help on loop issue

Hi gphogoh, don't really know what you are trying to do, but your code looks like it sends a "tab" then a "control a", a 3.5 second sleep, a "x", a newline, a "y", a "!" and a newline, lastly a 8 second sleep. It looks like you want a loop that for each iteration the x and y count rise by 1. Try thi...
by hunter99
27 Jul 2018, 17:27
Forum: Ask For Help
Topic: Please help testing this small script
Replies: 1
Views: 279

Re: Please help testing this small script

Hi, works Ok for me. Are you sure you are using fincs compiler. I'm using one dated 2-7-16 @ 823 kb. I think it is the last one. The compiler supplied with AHK Version 1.1.29.01 is dated 7-12-18 @ 837 kb. hunter99 Edit: Every time you would upgrade AHK, most pick the compiler also. So you would not ...
by hunter99
07 Jul 2018, 00:48
Forum: Gaming
Topic: Command xx := A??
Replies: 2
Views: 388

Re: Command xx := A??

See the help file -> AutoHotkey.chm Variables and Expressions section "By contrast, the expression method uses the colon-equal operator (:=) to store numbers, quoted strings , and other types of expressions." Would have saved yourself a lot of typing, let alone the wait, if you had tried your last s...
by hunter99
04 Jul 2018, 20:12
Forum: Ask For Help
Topic: Sleep Is Being Inconsistent Topic is solved
Replies: 6
Views: 908

Re: Sleep Is Being Inconsistent Topic is solved

It looks like my last post without the comment and my name. But reason for this post is: Got to thinking about your original post, you never asked that the window be resized, just moved. So here it is. ;=================================================== 1:: WinGetPos, x,, w,, A WinMove, A,, A_Scree...
by hunter99
04 Jul 2018, 15:20
Forum: Ask For Help
Topic: Sleep Is Being Inconsistent Topic is solved
Replies: 6
Views: 908

Re: Sleep Is Being Inconsistent Topic is solved

Hi abcjme: Don't know why the "a" key would work for your script and not mine. Should not need to use sleeps for that script, at least when using "SendInput". See remarks for Sleep command. It is not a accurate timer. Try this, it should do what i think you want. 1:: WinGetPos, x,,,, A WinMove, A,, ...
by hunter99
04 Jul 2018, 11:32
Forum: Ask For Help
Topic: Sleep Is Being Inconsistent Topic is solved
Replies: 6
Views: 908

Re: Sleep Is Being Inconsistent Topic is solved

Hi abcjme: I don't really understand what you want to do "This script makes snapped windows hug the side of the screen better. That way, it's easier to click the scroll-bar rather than the window edges." But this will keep the left side of the window where it is and expand the window to the right wi...
by hunter99
02 Jul 2018, 23:28
Forum: Ask For Help
Topic: Text selection and then icon selection
Replies: 6
Views: 623

Re: Text selection and then icon selection

TRS80, try this: ;================================================================================================ F12:: CoordMode, Mouse, Screen ;Sets coordinate mode SendInput {Raw} over ;types in the word "over" (for this word, really don't need {Raw} but makes for cleaner reading.) Send ^+{Up} ;...

Go to advanced search