Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate

<<kiu-ALTTAB>>:very simple alt-tab replacement,


  • Please log in to reply
3 replies to this topic
kiu as guest
  • Guests
  • Last active:
  • Joined: --
Hold LButton and press wheelup.
This is a built-in menu for my radialm project, but I think that can be useful for many people.

Edit: This code work. The one before(also mine) had some errors :oops:.

;author: Salvatore Agostino Romeo
selTask:
WinActivate, %A_ThisMenuItem%
return

;make it your favourite hotkey
~LButton & WheelUp::
Menu,kiu,add
Menu,kiu,deleteall
;get windows list
Winget, ids, list, , , Program Manager
Loop, %ids%
{
 id:=ids%A_Index%
 Wingettitle, title, ahk_id %id%
 ;exclude docks window and not needed ones
 If title not contains dock
 if(title!="")
 Menu,kiu,add, %title%,selTask
}
Menu,kiu,show
return


Chris
  • Administrators
  • 10727 posts
  • Last active:
  • Joined: 02 Mar 2004
Thanks for sharing it.

I don't know how to delete the [old version]

You have to be logged in to edit or delete your own posts.

TheLeO
  • Members
  • 264 posts
  • Last active: Jan 02 2012 01:51 AM
  • Joined: 11 Jun 2005
Thank you, this'll come in handy.
::
I Have Spoken
::

  • Guests
  • Last active:
  • Joined: --
A simple popup menu as an Alt-Tab replacement.. Awesome idea! I changed the hotkey to Tab & RButton.