Jump to content



Photo

Lazy {Alt}+{Tab}


  • Please log in to reply
2 replies to this topic

#1 WideBoyDixon

WideBoyDixon

    Code Monkey

  • Active Members
  • PipPipPipPipPipPip
  • 381 posts

Posted 28 May 2009 - 10:34 PM

Another 2 minute wonder script. Moving the mouse to the top left corner of the screen starts the Alt+Tab sequence. Windows are cycled every 3/4 of a second whilst the mouse is there.

Global $thisPos, $fAlt = False While True     $thisPos = MouseGetPos()     If $thisPos[0] = 0 And $thisPos[1] = 0 Then         If Not $fAlt Then             Send("{ALTDOWN}")             $fAlt = True         EndIf         Send("{TAB}")     Else         If $fAlt Then             Send("{ALTUP}")             $fAlt = False         EndIf     EndIf     Sleep(750) WEnd


WBD
  • satanttin likes this





#2 satanttin

satanttin

    Adventurer

  • Active Members
  • PipPip
  • 101 posts

Posted 26 February 2013 - 04:23 PM

xD works and it's funny for lazy people :P just i won't use it(i'm still lazy though) just alt tab is faster :P maybe when one hand is broken or something:')

still fun script:)

#3 Melba23

Melba23

    Yes, me!

  • Moderators
  • 15,344 posts

Posted 26 February 2013 - 04:30 PM

satanttin,

In future, please do not revive old threads unless you have a question closely linked to the content. ;)

M23
StringSize - Automatically size controls to fit text - ExtMsgBox - A user customisable replacement for MsgBox

Toast - Small GUIs which pop out of the Systray - Marquee - Scrolling tickertape GUIs

Scrollbars - Automatically sized scrollbars with a single command - GUIFrame - Subdivide GUIs into many adjustable frames

GUIExtender - Extend and retract multiple sections within a GUI - NoFocusLines - Remove the dotted focus lines from buttons, sliders, radios and checkboxes

ChooseFileFolder - Single and multiple selections from specified path tree structure - - Notify - Small notifications on the edge of the display

RecFileListToArray - An alternative to _FileListToArray with user-defined include/exclude masks, maximum recursion level, sorting and displayed path options

GUIListViewEx - Insert, delete, move, drag and sort ListView items





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users