Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • September 25, 2016, 10:44:19 AM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Explorer Favorites Macro hotkey thingie  (Read 383 times)

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,158
    • View Profile
    • Miles Ahead Software
    • Donate to Member
Explorer Favorites Macro hotkey thingie
« on: February 01, 2016, 08:20:20 AM »
I finally got this Explorer Favorites macro hotkey thingie to work the way I want.

The idea is you have a folder open and you want to do some drag and drop between that folder and one that is in your favorites list.  Alt right click the mouse on the favorite and that folder should end up on top after the current folder is opened in a new window.

I haven't done anything with spacing them on the desktop(yet.) (Edit added MoveIt code to do it)
The hotkey is only active if Explorer is the active window.

Code: Autohotkey [Select]
  1. SetWorkingDir %A_ScriptDir%
  2. CoordMode,Mouse,Screen
  3.  
  4. GroupAdd,ExplorerGroup, ahk_class CabinetWClass
  5. GroupAdd,ExplorerGroup, ahk_class ExploreWClass
  6.  
  7.  
  8. #IfWinActive ahk_Group ExplorerGroup
  9. !RButton::
  10.   MouseGetPos, , ,AWindow , control
  11.   If (control != "SysTreeView321")
  12.         return
  13. Send,^n
  14. Sleep 1000
  15. WinActivate,ahk_id %AWindow%
  16. ;those running MoveIt will have folders
  17. ;staggered automagically
  18. Process,Exist,MoveIt.exe
  19.     Send,^+e
  20. return
« Last Edit: February 01, 2016, 09:07:51 AM by MilesAhead »