| Author |
Message |
Forum: Support Topic: Script for Automatically Sizing Columns in Windows 7 |
| vertigoelectric |
|
Posted: April 14th, 2012, 5:48 am
|
|
Replies: 9 Views: 388
|
| vertigoelectric, This is a great idea. I copied your code and tried it on my windows 7. It works good enough to put it in my startup folder. Do you have any updates for this script since Feb 21st? thanks Thank you. No, I don't think I made any important changes. I sorta gave up on this project unti... |
|
 |
Forum: Support Topic: Script for Automatically Sizing Columns in Windows 7 |
| vertigoelectric |
|
Posted: February 21st, 2012, 8:22 pm
|
|
Replies: 9 Views: 388
|
| This code tests fine for me without having to set focus on the control, try it and see if it works for you: ControlGet, hWnd, hWnd, , DirectUIHWND3, ahk_class CabinetWClass if ErrorLevel || !hWnd { MsgBox, A problem occurred; operation aborted. return } ControlSend, , ^{NUMPADADD... |
|
 |
Forum: Support Topic: Script for Automatically Sizing Columns in Windows 7 |
| vertigoelectric |
|
Posted: February 21st, 2012, 7:00 pm
|
|
Replies: 9 Views: 388
|
| My version of autosizing columns. #MaxThreadsPerHotkey 2 F1:: If Toggled := !Toggled Loop { If !Toggled Break If WinActive("ahk_class CabinetWClass") { WinGet CtrlList, ControlList, ahk_class CabinetWClass If RegExMatch(CtrlList, "Edit([0-9])+", Mat... |
|
 |
Forum: Support Topic: How can I detect when the scrollbar goes away? |
| vertigoelectric |
|
Posted: February 20th, 2012, 11:46 pm
|
|
Replies: 4 Views: 150
|
| If you can get the height and the number of items you can extimate the row_height. Oh yeah! I already get the original height of the control as well as the number of files/folders in it. I can just use simple math to get the appropriate adjustment height. I don't have to guess. Thanks for the idea!... |
|
 |
Forum: Support Topic: How can I detect when the scrollbar goes away? |
| vertigoelectric |
|
Posted: February 20th, 2012, 6:59 pm
|
|
Replies: 4 Views: 150
|
| Thank you for that. Well, you did seem to be able to retrieve the changing information from the scrollbar, but I actually discovered another issue. See, incrementally increasing the height of the control simply takes too long. Smaller increments have to go through more iterations, and larger increme... |
|
 |
Forum: Support Topic: How can I detect when the scrollbar goes away? |
| vertigoelectric |
|
Posted: February 20th, 2012, 5:41 am
|
|
Replies: 4 Views: 150
|
| This pertains to the script I'm working on here: http://www.autohotkey.com/forum/topic82656.html However this question is specific, hence its own thread. What I need to do is resize the control DirectUIHWND3 (the file view pane in an explorer window) so that it can contain the entire file listing wi... |
|
 |
Forum: Support Topic: Desktop Listview Manipulation |
| vertigoelectric |
|
Posted: February 20th, 2012, 3:38 am
|
|
Replies: 6 Views: 329
|
I know this thread is old, but I am really trying to get this to work in DETAILS view in Windows 7.
I know the file pane control name is DirectUIHWND3.
I've tried sending all kinds of messages to the control and the window and nothing works so far. |
|
 |
Forum: Support Topic: Script for Automatically Sizing Columns in Windows 7 |
| vertigoelectric |
|
Posted: February 18th, 2012, 9:55 am
|
|
Replies: 9 Views: 388
|
| Okay, I have made a few more optimizations to the script, which I can post later if anybody wants me to. However, I still have a problem. Since SHELLHOOK won't detect child windows, this script doesn't work for any file open/save dialog boxes. The CTRL+ shortcut still works in there, but I need a wa... |
|
 |
Forum: Support Topic: Script for Automatically Sizing Columns in Windows 7 |
| vertigoelectric |
|
Posted: February 17th, 2012, 1:04 am
|
|
Replies: 9 Views: 388
|
| Thanks for the reply! I dug a little bit and found that the audio file that plays is: C:\Windows\Media\ding.wav Changing the master volume would work, except that if there is music playing or something, it would be interrupted, and that would get really annoying. As far as setting the sound to [None... |
|
 |
Forum: Support Topic: Script for Automatically Sizing Columns in Windows 7 |
| vertigoelectric |
|
Posted: February 16th, 2012, 9:39 pm
|
|
Replies: 9 Views: 388
|
| NOTE: The script still isn't fully functional. Any help would be appreciated. Long story short, I wanted a way for the "Details" view in Windows 7 Explorer windows to automatically resize the columns to fit the contents whenever I viewed them. There didn't seem to be a way, so I thought AH... |
|
 |
Forum: Support Topic: hotkeys on dual monitors? |
| vertigoelectric |
|
Posted: January 19th, 2012, 9:42 pm
|
|
Replies: 4 Views: 217
|
| Sorry to necro this post, but I have a related question. I also have multiple monitors, and when I noticed WinMinimizeAll wasn't working, I tried Send #d. This does minimize all the windows on both displays, but they just immediately come back the moment anything else happens. This isn't just an AHK... |
|
 |
Forum: Support Topic: OnClipboardChange label eventually stops responding |
| vertigoelectric |
|
Posted: October 10th, 2011, 5:21 am
|
|
Replies: 19 Views: 2042
|
jaco0646 wrote: AutoHotkey_L v1.1.00Lexikos wrote: Changed OnClipboardChange to use AddClipboardFormatListener when available (i.e. on Windows Vista and later) to improve reliability.
I use Windows XP, so... |
|
 |
Forum: Support Topic: OnClipboardChange label eventually stops responding |
| vertigoelectric |
|
Posted: October 10th, 2011, 2:33 am
|
|
Replies: 19 Views: 2042
|
| I know this is a very, very old thread, but if I still came here looking for an answer, someone else might, too. Well, I have a workaround that might help. My idea for this was to use `Reload` to reload the script after processing the OnClipboardChange functions. However, one big problem with this i... |
|
 |
Forum: Support Topic: Possible to wait for multiple windows without looping? |
| vertigoelectric |
|
Posted: August 13th, 2011, 1:27 am
|
|
Replies: 1 Views: 85
|
|
 |
Forum: Support Topic: Possible to wait for multiple windows without looping? |
| vertigoelectric |
|
Posted: August 13th, 2011, 1:03 am
|
|
Replies: 1 Views: 85
|
| I've been using AHK for years and I love it. Basically what I want to do now is create a script that I can have start up when I start Windows, and what it will do is wait for various events and respond to those events. When I say "events", I don't mean keystrokes. For example, I'd like it ... |
|
 |
| Sort by: |