Search found 129 matches
- 08 Jul 2019, 02:05
- Forum: Ask For Help
- Topic: screen buttons to launch AHK scripts?
- Replies: 5
- Views: 466
Re: screen buttons to launch AHK scripts?
A "toolbar" like the taskbar that takes its own reserved space and pushes other windows aside is called an appbar. So all you would need to do is to create an AHK Gui with buttons to launch your scripts, and transform that Gui into an appbar. Just search for "appbar" in this forum and you'll find a ...
- 06 Jun 2019, 05:03
- Forum: Ask For Help
- Topic: Show current brightness percentage Topic is solved
- Replies: 6
- Views: 530
Re: Show current brightness percentage Topic is solved
How about the following? Press q to see brightness level for plugged and unplugged. ;based on code by qwerty12: ;Set laptop brightness & show Win 10's native OSD - AutoHotkey Community ;https://autohotkey.com/boards/viewtopic.php?f=6&t=26921 q:: ;get AC/DC brightness w:: ;set AC brightness e:: ;set ...
- 21 Mar 2019, 01:25
- Forum: Scripts and Functions
- Topic: Function: IniRead()
- Replies: 18
- Views: 2799
Re: Function: IniRead()
Reminds me of the conceptually similar globalsFromIni() from the old forum that creates global variables:
https://autohotkey.com/board/topic/25515-globalsfromini-creates-globals-from-an-ini-file/
https://autohotkey.com/board/topic/25515-globalsfromini-creates-globals-from-an-ini-file/
- 07 Nov 2018, 01:11
- Forum: Ask For Help
- Topic: Detect screen brightness changes in Windows 10 Topic is solved
- Replies: 4
- Views: 1054
Re: Detect screen brightness changes in Windows 10 Topic is solved
Wow TLM! This is so much better than anything that I could've come up with! Apart from exploring the traditional WMI resources here and on the old forum, I never really dug into WMI. But you might just have pointed me to my next learning adventure! Your code does exactly what I wanted. Perfect, than...
- 06 Nov 2018, 04:52
- Forum: Ask For Help
- Topic: Detect screen brightness changes in Windows 10 Topic is solved
- Replies: 4
- Views: 1054
Detect screen brightness changes in Windows 10 Topic is solved
There is a variety of scripts and strategies that can be used to change the brightness on a laptop. For example, the following (which include some repeated codes) all work on my Windows 10 laptop: https://autohotkey.com/boards/viewtopic.php?t=36170 https://autohotkey.com/boards/viewtopic.php?t=26921...
- 05 Jan 2018, 19:19
- Forum: Ask For Help
- Topic: Using COM to select the "Draw a textbox" tool in PowerPoint
- Replies: 2
- Views: 620
Re: Using COM to select the "Draw a textbox" tool in PowerPoint
@TheDewd First, thanks a lot. I somehow didn't know about the ExecuteMso method but it has now proven to be very useful for my needs. Second, unfortunately, in my copy of Office Professional Plus 2016 the code you provided does not work as I thought it would (unfortunately I don't have other version...
- 02 Jan 2018, 12:57
- Forum: Ask For Help
- Topic: Using COM to select the "Draw a textbox" tool in PowerPoint
- Replies: 2
- Views: 620
Using COM to select the "Draw a textbox" tool in PowerPoint
Hi all, How can COM be used to select the "Draw a textbox" tool in PowerPoint? This is the textbox-shaped tool that is present on both the Home and Insert tabs on the PowerPoint ribbon. When you click it, the cursor changes and the next time you left-click on a slide in PowerPoint it will insert a t...
- 21 Sep 2017, 18:08
- Forum: Ask For Help
- Topic: display a number in notification/taskbar/clock area
- Replies: 7
- Views: 1630
Re: display a number in notification/taskbar/clock area
One way may be to create a custom toolbar in Windows, then dock an AHK Gui to it. The example here works well on my Win 7 system: https://autohotkey.com/board/topic/8972-attach-a-script-to-a-custom-toolbar-on-windows-taskbar/ As another more limited option, you can use gdip to update numbers on a sy...
- 05 May 2017, 12:14
- Forum: Ask For Help
- Topic: Script to Rotate Screen/Change Orientation in Windows 10
- Replies: 2
- Views: 1465
Re: Script to Rotate Screen/Change Orientation in Windows 10
So which old scripts have you tried that don't work for you?
- 02 May 2017, 11:17
- Forum: Ask For Help
- Topic: How to get tooltip for a menu
- Replies: 16
- Views: 2869
Re: How to get tooltip for a menu
Thanks for the code just me, this is great! In a previous life using AHK Basic, to add tooltips to menus I used the MMenu module from the great Majkinetor, which replaces standard menus and allows all kinds of customizations: https://autohotkey.com/board/topic/16248-module-mmenu-10-b1/ It was useful...
- 26 Apr 2017, 01:17
- Forum: Scripts and Functions
- Topic: Dock - Attach a window to another
- Replies: 24
- Views: 6727
Re: Dock - Attach a window to another
Hi Soft,
Thanks for the quick reply, much appreciated. And thanks for the clarification about OnMessage. I look forward to future updates!
Thanks for the quick reply, much appreciated. And thanks for the clarification about OnMessage. I look forward to future updates!
- 24 Apr 2017, 15:06
- Forum: Scripts and Functions
- Topic: Dock - Attach a window to another
- Replies: 24
- Views: 6727
Re: Dock - Attach a window to another
Hi Soft, This is a nice update to the old code. Using the code in the example, if I want to dock multiple windows to the parent window, do I need to define for each docked window one new InitDockX, one new FuncObjX, and call OnMessage for each new FuncObjX? Also, like was done by Majkinetor, would i...
- 21 Dec 2016, 23:29
- Forum: Scripts and Functions
- Topic: AcecoolAHK_Framework - Drag&Drop files or exes& my framework loads them for you without need to #include / run manually!
- Replies: 3
- Views: 1229
Re: AcecoolAHK_Framework - Drag&Drop files or exes& my framework loads them for you without need to #include / run manua
Hi Acecool,
You say "Pretty straight forward" but reading your description here or on Github, I still don't know what this is or how it can be used. Could you maybe try to clarify?
You say "Pretty straight forward" but reading your description here or on Github, I still don't know what this is or how it can be used. Could you maybe try to clarify?
- 14 Dec 2016, 05:43
- Forum: Ask For Help
- Topic: Gradual GUI size change
- Replies: 11
- Views: 1984
Re: Gradual GUI size change
Hi I also don't know jQuery... Maybe one of these does what you want? Gui, Margin, 0,0 Gui +LastFound GUI_ID:=WinExist() Gui, -Caption +AlwaysOnTop +Border Gui, Add, Button,x200 y200 , Hello Gui,Show, AutoSize Hide, Animated Splash Window - Demo DllCall("AnimateWindow","UInt",GUI_ID,"Int",1000,"UInt...
- 02 Dec 2016, 12:32
- Forum: Scripts and Functions
- Topic: DebugVars
- Replies: 30
- Views: 8852
Re: DebugVars
What a great tool. Thanks Lexikos for your work on this (and for all the time and effort you've put into AHK).
- 05 Jul 2016, 23:46
- Forum: Scripts and Functions
- Topic: [Class] ImageButton
- Replies: 127
- Views: 45580
Re: [Class] ImageButton
Hi just me,
Thanks for your thoughtful answer, much appreciated. I'll look into more closely. Cheers!
Thanks for your thoughtful answer, much appreciated. I'll look into more closely. Cheers!
- 26 Jun 2016, 18:02
- Forum: Scripts and Functions
- Topic: [Class] ImageButton
- Replies: 127
- Views: 45580
Re: [Class] ImageButton
Hi just me, I'm still very much enjoying this class. Fantastic work! Is there any way to create on the same Gui different series of independent buttons? To illustrate what I mean, here is a simple example: - I set the "pressed" option to a blue button background - If I press button 1, it becomes act...
- 28 Apr 2016, 03:23
- Forum: Ask For Help
- Topic: Help with COM and PowerPoint
- Replies: 5
- Views: 1862
Re: Help with COM and PowerPoint
Hi kon, Again, thanks a lot for your help. The variable in my real script comes from an iniread, and with your suggestion I just converted the string into a number (using this: https://autohotkey.com/board/topic/21271-converting-string-to-number/) and now it works beautifully! Thanks a lot! Now that...
- 27 Apr 2016, 02:29
- Forum: Ask For Help
- Topic: Help with COM and PowerPoint
- Replies: 5
- Views: 1862
Re: Help with COM and PowerPoint
Hi kon, Thanks a lot. I really appreciate your help, and the comments in your code are very helpful. And thanks also for your tutorial, it's made understanding the basics of COM much easier, although I still have a lot to learn. In relation to that, it's still not clear how I could use the typed val...
- 26 Apr 2016, 20:17
- Forum: Ask For Help
- Topic: Help with COM and PowerPoint
- Replies: 5
- Views: 1862
Help with COM and PowerPoint
Hi, I'm trying to learn COM to control PowerPoint and I'm having a few issues. I've looked into the following very useful docs: https://autohotkey.com/boards/viewtopic.php?f=7&t=8978&p=49871&hilit=powerpoint#p49871 https://autohotkey.com/board/topic/56987-com-object-reference-autohotkey-v11/ but am ...