Search found 129 matches

by hunter99
04 Jul 2018, 20:12
Forum: Ask for Help (v1)
Topic: Sleep Is Being Inconsistent Topic is solved
Replies: 6
Views: 2521

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 (v1)
Topic: Sleep Is Being Inconsistent Topic is solved
Replies: 6
Views: 2521

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 (v1)
Topic: Sleep Is Being Inconsistent Topic is solved
Replies: 6
Views: 2521

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 (v1)
Topic: Text selection and then icon selection
Replies: 6
Views: 1411

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} ;...
by hunter99
28 Apr 2018, 00:04
Forum: Ask for Help (v1)
Topic: Right-align buttons on GUI
Replies: 7
Views: 3622

Re: Right-align buttons on GUI

Hi Stef, Glad it was of help. I was looking at the code I posted when it hit me that I could remove some useless code. I also wanted to test again the the reordering of the code in "GuiSize:" , this was to stop the leaving part of one buttons image on the other. This would happen when resized repeat...
by hunter99
24 Apr 2018, 17:54
Forum: Ask for Help (v1)
Topic: Right-align buttons on GUI
Replies: 7
Views: 3622

Re: Right-align buttons on GUI

Hi Stef, This should fix the borders touching problem. Also stops the shadow copies of the buttons when sizing the Gui fast. I just modified Odlanir's script, which made it easy for me. Added a few comments to it. hunter99 edit put it in code display: Gui, +hwndGui1 -DPIScale ;-DPIScale added, keeps...
by hunter99
18 Apr 2018, 09:00
Forum: Ask for Help (v1)
Topic: #IfWinActiv don´t work
Replies: 3
Views: 997

Re: #IfWinActiv don´t work

Hi asdads, try this. I only have Mozilla, so change the class to your browser. #IfWinActive, ahk_class MozillaWindowClass F::MsgBox, its on! #IfWinNotActive, ahk_class MozillaWindowClass F::MsgBox, its not on! Read again the docs on how "#" creates context-sensitive hotkeys. hunter99 EDIT: These may...
by hunter99
15 Apr 2018, 13:52
Forum: Ask for Help (v1)
Topic: My Script is pressing down the Shift key Topic is solved
Replies: 4
Views: 1160

Re: My Script is pressing down the Shift key Topic is solved

swagfag, you are a 100% right. I didn't read the OP correctly and was mistook what he/she was asking. For the OP, here is the quote from the docs. "•If one or more modifier keys have been put into effect by the Send command, or if the letter is wrapped in braces, it is sent as a keycode (modified wi...
by hunter99
15 Apr 2018, 07:25
Forum: Ask for Help (v1)
Topic: My Script is pressing down the Shift key Topic is solved
Replies: 4
Views: 1160

Re: My Script is pressing down the Shift key Topic is solved

This should do it:

SendInput +e

hunter99
by hunter99
13 Apr 2018, 23:48
Forum: Ask for Help (v1)
Topic: Hide all GUIs in one line
Replies: 3
Views: 1195

Re: Hide all GUIs in one line

Hi jaccotjuhhh, try using this command: From the docs. GroupAdd, GroupName [, WinTitle, WinText, Label, ExcludeTitle, ExcludeText] ;=========================================== ;for this example I used "allguis" as the GroupName ;May not need the Global in the gui1_hwnd and gui2_hwnd variables. ;----...
by hunter99
18 Nov 2017, 22:26
Forum: Ask for Help (v1)
Topic: Anyone having problems with Firefox 57?
Replies: 2
Views: 1360

Re: Anyone having problems with Firefox 57?

Hi, seems to be a lot of problems with FF57. Many are going back to FF56.0.2. I Googled "rollback Firefox 57", and this was the 1st entry: "I need to rollback from the newly-installed Win10 v57.0 64b Firefox ... can you provide a link?" https://support.mozilla.org/en-US/questions/1187184 It took les...
by hunter99
17 Nov 2017, 16:46
Forum: Ask for Help (v1)
Topic: help withe menus creating extra separator lines Topic is solved
Replies: 3
Views: 946

Re: help withe menus creating extra separator lines Topic is solved

Hi lkbthree,
As Gio said. This was also answered a few years ago by GEV here:
https://autohotkey.com/board/topic/1057 ... s-growing/

hunter99
by hunter99
02 Aug 2017, 17:36
Forum: Ask for Help (v1)
Topic: Open Context​ Menu using Right Click without Mouse
Replies: 10
Views: 3834

Re: Open Context​ Menu using Right Click without Mouse

Hi Mahendrakumar; You said " I am at item selection now but I don't know how to right click on selected item." Is the item really selected? If so you could use the the Click command. In a script or with a hotkey you could use ----> Sendinput {Click right} Show more of your script, mainly how you sel...
by hunter99
11 Jun 2017, 23:22
Forum: Ask for Help (v1)
Topic: Cover or change a windows close button
Replies: 3
Views: 1573

Re: Cover or change a windows close button

Hi Puzzled, glad that was of interest. But one thing about it, it's overkill for what you need. Here is a short script, one which I think you may like better then a Gui and timer. It was just posted on the forum, but the code has been around for awhile . In fact google "disable windows close button ...
by hunter99
06 Jun 2017, 11:53
Forum: Ask for Help (v1)
Topic: Cover or change a windows close button
Replies: 3
Views: 1573

Re: Cover or change a windows close button

Hi Puzzled, here is a script I wrote quite a while ago to remind me how to use dock.ahk Ver 2.0 b3 by majkinetor. It will do what you want as I have used it for just that. It's just an example script, but here I moved client 2 to the upper right corner to block the red X. The change was made around ...
by hunter99
23 May 2017, 14:28
Forum: Scripts and Functions (v1)
Topic: Gdi+ Example: Circle of Text
Replies: 11
Views: 2787

Re: Gdi+ Example: Circle of Text

I like it, very nice.
Thanks
by hunter99
21 May 2017, 21:31
Forum: Ask for Help (v1)
Topic: Gui button color
Replies: 3
Views: 3503

Re: Gui button color

Hi, try this. Change sub. MayaPlay to this: MayaPlay: GuiControl, Hide, Progress sleep 200 ;change value for effect you want. GuiControl, Show, Progress #Include C:\Users\ITV\Documents\maya.ahk ;put before the sleep if you wish. Return hunter99 edit - forgot to mention this. does a really nice job, ...
by hunter99
14 Apr 2017, 00:06
Forum: Ask for Help (v1)
Topic: Does Ahk2Exe for AutoHotkey v1.1.25.01 allow Gdip? Topic is solved
Replies: 3
Views: 932

Re: Does Ahk2Exe for AutoHotkey v1.1.25.01 allow Gdip? Topic is solved

Hi magicinmath, I been away for about the last month and was checking in here to see whats new and saw your post. As HotkeyIt said, it works fine. But want to note that if you keep all your Lib files in a Lib folder here --> C:\Program Files\AutoHotkey\Lib. Then you don't need the #include directive...
by hunter99
17 Mar 2017, 16:20
Forum: Ask for Help (v1)
Topic: Attaching a Tooltip to a Gui drawn by GDI+
Replies: 3
Views: 1467

Re: Attaching a Tooltip to a Gui drawn by GDI+

Hi XiCynx; Problem is the window. Not a true window as shown by WinSpy, its a popup, you tell the script where to place it, using the variables you loaded at beginning of the script. I just added 2 new ones CenterX1 and CenterY1, these will be point of origin for the tool tip displayed by the F3 key...
by hunter99
14 Feb 2017, 23:07
Forum: Ask for Help (v1)
Topic: Error passing variable as SetTimer Period
Replies: 2
Views: 929

Re: Error passing variable as SetTimer Period

Hi, try this" #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a cons...

Go to advanced search