| Author |
Message |
Forum: Support Topic: Refresh ALL currently open Explorer windows |
| Renfro |
|
Posted: February 27th, 2010, 4:45 pm
|
|
Replies: 2 Views: 133
|
| I'm trying to find a way to refresh all currently open Explorer (folder) windows. I searched the forum and found this: http://www.autohotkey.com/forum/viewtopic.php?t=32297 (which is the same technique that I was already using). However, this technique does not work if there is more than one Explore... |
|
 |
Forum: Support Topic: Restricting hotkey actions to certain programs |
| Renfro |
|
Posted: February 23rd, 2010, 2:48 pm
|
|
Replies: 8 Views: 324
|
| Do you have other scripts running at the same time? Which OS and version? I have combined various individual script elements into a single script so that I only have one running (I didn't want a whole bunch of separate autohotkey executables running in my Task Manager processes list). I'm using Win... |
|
 |
Forum: Support Topic: Restricting hotkey actions to certain programs |
| Renfro |
|
Posted: February 23rd, 2010, 2:44 pm
|
|
Replies: 8 Views: 324
|
| OK, I've just disabled my auto-startup script so that nothing at all is running. I then ran only the script to toggle hidden files (exactly as it is shown above in post number 5 of this thread) and it still takes over all programs (rather than only affecting the windows specified in the script). So ... |
|
 |
Forum: Support Topic: Restricting hotkey actions to certain programs |
| Renfro |
|
Posted: February 23rd, 2010, 2:26 pm
|
|
Replies: 8 Views: 324
|
| Your group script works for me ... Hmm ... interesting. You've got me thinking that maybe I should be exploring a different approach. I currently have a bunch of scripts included in a single .ahk file that I auto run at Windows start up. I've checked that there are no obvious clashes or overlapping... |
|
 |
Forum: Support Topic: Restricting hotkey actions to certain programs |
| Renfro |
|
Posted: February 23rd, 2010, 2:17 pm
|
|
Replies: 8 Views: 324
|
| I also use this script to show/hide hidden files: ^h::GoSub,CheckActiveWindow CheckActiveWindow: ID := WinExist("A") WinGetClass,Class, ahk_id %ID% WClasses := "CabinetWClass ExploreWClass" IfInString, WClasses, %Class% GoSub, Toggle_HiddenFiles_Display Return Toggle_Hidd... |
|
 |
Forum: Support Topic: Restricting hotkey actions to certain programs |
| Renfro |
|
Posted: February 23rd, 2010, 1:47 pm
|
|
Replies: 8 Views: 324
|
| Thanks for that! I was not familiar with GroupAdd (it's a useful thing to know). However, it still does not work properly. I used this: ;Only activate this function in Explorer, Shell windows or Desktop GroupAdd, WorkIn , ahk_class ExploreWClass GroupAdd, WorkIn , ahk_class CabinetWClass GroupAdd, W... |
|
 |
Forum: Support Topic: Restricting hotkey actions to certain programs |
| Renfro |
|
Posted: February 20th, 2010, 5:00 pm
|
|
Replies: 8 Views: 324
|
| I am trying to get various hotkey combinations to work only in certain programs while leaving all other programs unaffected. However, no matter what I try I just cannot get it to work. I have carefully followed examples in the help file (as well as on this forum) but the hotkeys always take over all... |
|
 |
Forum: Support Topic: Select None / De-select all in Explorer |
| Renfro |
|
Posted: February 20th, 2010, 11:40 am
|
|
Replies: 5 Views: 369
|
| Thanks to everyone for their replies! :D I guess this means that a "proper" way of directly deselecting does not exist. I like Guest's second suggestion the best because it's simple and causes the least side effects and has minimal visible flicker. However, a_h_k's 'F5' solution is so fien... |
|
 |
Forum: Support Topic: Select None / De-select all in Explorer |
| Renfro |
|
Posted: February 18th, 2010, 4:34 pm
|
|
Replies: 5 Views: 369
|
| Which AutoHotKey command should I use to do the opposite of a "Ctrl +A" in Windows Explorer? (i.e. to de-select all files and folders so that none of them are highlighted). I searched the forum and only came up with this thread , but none of the supplied methods are of any use because they... |
|
 |
Forum: Support Topic: Activate only when Desktop has focus |
| Renfro |
|
Posted: October 9th, 2009, 1:32 am
|
|
Replies: 5 Views: 422
|
Can anyone help with the question that I asked above?
Quote: How can I prevent the script from running if focus is on a Desktop icon (as opposed to the Desktop itself)?
Thanks!
 |
|
 |
Forum: Support Topic: Activate only when Desktop has focus |
| Renfro |
|
Posted: October 4th, 2009, 1:51 am
|
|
Replies: 5 Views: 422
|
I have another question relating to the above topic:
How can I prevent the script from running if focus is on a Desktop icon (as opposed to the Desktop itself)?
the command IfWinActive Program Manager ahk_class Progman does not distinguish between the Desktop and icons that are on the Desktop. |
|
 |
Forum: Support Topic: Activate only when Desktop has focus |
| Renfro |
|
Posted: October 4th, 2009, 12:14 am
|
|
Replies: 5 Views: 422
|
| I think I knew where my confusion came from. I had another script running (with no icon) that was performing the same function (in a different way) in Explorer windows. This made it appear as if the Desktop and Explorer windows were being treated as one (when in fact it was actually 2 separate scrip... |
|
 |
Forum: Support Topic: Activate only when Desktop has focus |
| Renfro |
|
Posted: October 4th, 2009, 12:09 am
|
|
Replies: 5 Views: 422
|
I can't believe it was that simple.
Thanks! |
|
 |
Forum: Support Topic: Activate only when Desktop has focus |
| Renfro |
|
Posted: October 3rd, 2009, 10:26 pm
|
|
Replies: 5 Views: 422
|
| How can I ensure that a particular action only runs when the Desktop has focus? I used Window Spy and clicked on the Desktop to get the window title and class (Program Manager & ahk_class Progman) but when I use these values e.g. IfWinActive, ahk_class Progman it applies to all Explorer windows ... |
|
 |
Forum: Support Topic: Run a script in any Explorer window, but not the Desktop |
| Renfro |
|
Posted: July 7th, 2008, 11:46 pm
|
|
Replies: 12 Views: 597
|
| Hi, I had already tried adding the hash symbol in front of IfWinActive, but it doesn't work. In my example: $^i:: [color=red]#[/color]IfWinActive ahk_class ExploreWClass|CabinetWClass Send !ei return This works in Explorer and Windows shell folders, but it also works in every other window too. In yo... |
|
 |
| Sort by: |