Search found 2114 matches
- 22 Jul 2023, 16:10
- Forum: Ask for Help (v1)
- Topic: GUI help: "Autoposition" commands? Topic is solved
- Replies: 9
- Views: 944
Re: GUI help: "Autoposition" commands? Topic is solved
Thanks HellBent! If you can believe it, in a dozen or so years of working with AutoHotkey, I'm managed to never use Hwnd for anything. Perhaps it's time to learn. :D I was in the same boat up until a few years ago. Since I made the switch I can't imagine going back to using variables for gui contro...
- 22 Jul 2023, 13:16
- Forum: Ask for Help (v1)
- Topic: GUI help: "Autoposition" commands? Topic is solved
- Replies: 9
- Views: 944
Re: GUI help: "Autoposition" commands? Topic is solved
Here is one way you could go about doing it. . resize gui.gif . #SingleInstance, Force Gui1 := {} Gui1.Controls := {} Gui, New, +AlwaysOnTop +HwndGuiHwnd Gui1.Hwnd := GuiHwnd Gui1.Controls.InfoText := CreateControl( Gui1.Hwnd , "Text" , "" , "your info here" ) Gui1.Controls.InfoEdit := CreateControl...
- 22 Jul 2023, 04:41
- Forum: Ask for Help (v1)
- Topic: Scrolling list cant handle over 1000x shortcuts, should add filter by a-z or input keyword? Topic is solved
- Replies: 13
- Views: 1452
Re: Scrolling list cant handle over 1000x shortcuts, should add filter by a-z or input keyword? Topic is solved
I love this thing, HellBent! Generally speaking, Windows GUIs don't use enough color. Our brains like color. :D Thanks, 100% agree. I made a few changes to it ( see below ). your script need the GDI+ lib, and after that need paste the code inside. i haven't used this lib before so there is a learni...
- 22 Jul 2023, 03:33
- Forum: Ask for Help (v1)
- Topic: Grayed-out menu item
- Replies: 2
- Views: 253
- 22 Jul 2023, 03:07
- Forum: Ask for Help (v1)
- Topic: Requesting help with using Gdip to display several images that each change on mouse over Topic is solved
- Replies: 24
- Views: 1866
Re: Requesting help with using Gdip to display several images that each change on mouse over Topic is solved
I'm trying to update the images used for the gui live and seamlessly, based on variables set within the script My gui is only displayed while the LALT key is held. At the moment, I have a test variable that an IF statement uses to pick a different image for one of the buttons, but the only way I've...
- 21 Jul 2023, 11:08
- Forum: Ask for Help (v1)
- Topic: Ini to remember Gui position when closed? Topic is solved
- Replies: 13
- Views: 652
Re: Ini to remember Gui position when closed? Topic is solved
Small question for either of you... On both scripts I've found that if I hit the hotkey again while the Gui is active, it simply creates another Gui in the last saved position rather than drawing a fresh new one. Is this a side effect of INI files? I've tried placing 'Gui, Destroy' immediately afte...
- 21 Jul 2023, 09:30
- Forum: Ask for Help (v1)
- Topic: Scrolling list cant handle over 1000x shortcuts, should add filter by a-z or input keyword? Topic is solved
- Replies: 13
- Views: 1452
- 21 Jul 2023, 09:29
- Forum: Ask for Help (v1)
- Topic: LaunchQ didn't scroll by mouse wheel nor pointer position, render it quite useless. howcome?
- Replies: 11
- Views: 1112
- 21 Jul 2023, 09:06
- Forum: Ask for Help (v1)
- Topic: Ini to remember Gui position when closed? Topic is solved
- Replies: 13
- Views: 652
Re: Ini to remember Gui position when closed? Topic is solved
Thank you @Hellbent, Unfortunately this throws the below error. Is there anything that can be done for that? The hotkey opens the Gui and I am able to drag as expected, but if I hit ^Esc, it exits but then throws that error anytime I attempt to use the hotkey again. image.png Also, this is what the...
- 21 Jul 2023, 07:32
- Forum: Ask for Help (v1)
- Topic: Ini to remember Gui position when closed? Topic is solved
- Replies: 13
- Views: 652
Re: Ini to remember Gui position when closed? Topic is solved
Try this. /* [SavedGuiPosition] xpos= ypos= */ #NoEnv DetectHiddenWindows, On OnExit, ^Esc global xPos , yPos , GuiHwnd IniRead, xPos , % A_ScriptFullPath , SavedGuiPosition , xPos , "" IniRead, yPos , % A_ScriptFullPath , SavedGuiPosition , yPos , "" return ^T:: Gui, +AlwaysOnTop -Caption +HwndGuiH...
- 21 Jul 2023, 06:26
- Forum: Ask for Help (v1)
- Topic: Scrolling list cant handle over 1000x shortcuts, should add filter by a-z or input keyword? Topic is solved
- Replies: 13
- Views: 1452
Re: Scrolling list cant handle over 1000x shortcuts, should add filter by a-z or input keyword? Topic is solved
Try this. . qlist.gif . /* ini Data [MenuPage_1] itemCount=0 [MenuPage_2] itemCount=0 [MenuPage_3] itemCount=0 [MenuPage_4] itemCount=0 [MenuPage_5] itemCount=0 [MenuPage_6] itemCount=0 */ ;**************************************************************************************************************...
- 20 Jul 2023, 08:55
- Forum: Ask for Help (v1)
- Topic: Converting binary to bitmap for WinClip.SetBitMap
- Replies: 10
- Views: 1456
Re: Converting binary to bitmap for WinClip.SetBitMap
Hi Hellbent, Thank you for your help. I remember having seen your work on graphics and icons with Joe Glines. Impressive! I looked at your code (not with all details because today I have to prepare for vacations) and it worked well to create a bitmap from a base64 string in the clipboard. But my go...
- 20 Jul 2023, 02:37
- Forum: Ask for Help (v1)
- Topic: Converting binary to bitmap for WinClip.SetBitMap
- Replies: 10
- Views: 1456
Re: Converting binary to bitmap for WinClip.SetBitMap
Hi JnLlnd . I don't know anything about WinClip or what your ultimate goal is so I'm not sure if this is going to be helpful or not. This is how I would go about creating a hBitmap from a base 64 string loaded from the clipboard. ;*********************************************************************...
- 19 Jul 2023, 00:22
- Forum: Ask for Help (v1)
- Topic: Requesting help with using Gdip to display several images that each change on mouse over Topic is solved
- Replies: 24
- Views: 1866
Re: Requesting help with using Gdip to display several images that each change on mouse over Topic is solved
Is there a way I can zero out the X, Y, W and H values? If possible, I'd like this to be determined by the image I'm using rather than the code You can get the width and height of your image and then use that to update or populate the values of the control objects. Gui1.Controls.MyControl := {} pBi...
- 18 Jul 2023, 00:05
- Forum: Ask for Help (v1)
- Topic: LaunchQ didn't scroll by mouse wheel nor pointer position, render it quite useless. howcome?
- Replies: 11
- Views: 1112
Re: LaunchQ didn't scroll by mouse wheel nor pointer position, render it quite useless. howcome?
limitless items could scroll in the middle of screen If it wasn't clear, the Tab menu has endless scroll. I had originally had it auto scroll by mousing over the up and down buttons (the two buttons at the top right of the menu) but liked the combo of using the mouse wheel and pressing and holding ...
- 17 Jul 2023, 23:59
- Forum: Ask for Help (v1)
- Topic: Requesting help with using Gdip to display several images that each change on mouse over Topic is solved
- Replies: 24
- Views: 1866
Re: Requesting help with using Gdip to display several images that each change on mouse over Topic is solved
I haven't gone over your post yet but this but only the left half of the image is shown and the right side is completely cut off Sounds like it could be due to you changing the window size without recreating the graphics stuff. (HBM,HDC,OBM,etc...) When you up size the window you need to delete the ...
- 17 Jul 2023, 22:23
- Forum: Ask for Help (v1)
- Topic: LaunchQ didn't scroll by mouse wheel nor pointer position, render it quite useless. howcome?
- Replies: 11
- Views: 1112
Re: LaunchQ didn't scroll by mouse wheel nor pointer position, render it quite useless. howcome?
thx for reply, but the script you showed use LARGE pictures which is not fit for my 10" windows tablet. The menu is fully customizable. You can make the tabs and buttons whatever size you want. Its main uses are 1. Run programs / open web pages 2. Dump something into your clipboard. 3. Run code add...
- 16 Jul 2023, 23:32
- Forum: Ask for Help (v1)
- Topic: LaunchQ didn't scroll by mouse wheel nor pointer position, render it quite useless. howcome?
- Replies: 11
- Views: 1112
Re: LaunchQ didn't scroll by mouse wheel nor pointer position, render it quite useless. howcome?
This script https://www.autohotkey.com/board/topic/93383-launchq-productive-all-in-one-launcher/ looks a lot like this script I have. . tab menu1.gif . The pictured menu requires windows 8 or higher to run but there is a windows 7 version available as well. Widows 8+ version: https://www.autohotkey....
- 15 Jul 2023, 19:19
- Forum: Scripts and Functions (v1)
- Topic: [Tool] InstaNote Clipboard Mod
- Replies: 16
- Views: 2554
Re: [Tool] InstaNote Clipboard Mod
New Features I have added a bunch of new features to my copy that someone might find useful. I'm not sure when I will have the time to do a proper rewrite of the whole script yet because I still have a number of controls, etc. that I need to create for the project. Here is the current code, save th...
- 14 Jul 2023, 05:14
- Forum: Ask for Help (v1)
- Topic: how to create a blur layer on screen Topic is solved
- Replies: 2
- Views: 375
Re: how to create a blur layer on screen Topic is solved
Requires the gdi+ lib for autohotkey. Replace the name/path at the top of the script. Press F1 to toggle on and off. Press ESC to exit. . blur .gif . ;*****************************************************************************************************************************************************...