Autohotkey: Spread Selection with Parameter: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
No edit summary
 
(Added category AutoHotkey scripts)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
If you regularly want to select a certain filetype you may use this script in a button or starter command. even on commandline it should work
If you regularly want to select or deselct a certain filetype you may use those scripts in a button or starter command. Even on commandline they should work.
The given parameter is taken as the mask for spreading the selection
The given parameter is taken as the mask for spreading, shrinking or selecting.


   
   
Line 14: Line 14:
  return
  return


{{backlink|AutoHotkey|AutoHotkey}}
 
;This script shrinks the selection in TC with the passed Parameter as filter mask
;
IfWinActive ahk_class TTOTAL_CMD
{
PostMessage 1075, 522, , , ahk_class TTOTAL_CMD
send,%1%
Controlclick, OK, ahk_class TCOMBOINPUT
}
return
 
 
;This script shows all files that fit the given parameter mask
;
IfWinActive ahk_class TTOTAL_CMD
{
PostMessage 1075, 314, , , ahk_class TTOTAL_CMD
send,%1%
Controlclick, OK, ahk_class TCOMBOINPUT
}
return
 
 
 
 
{{translated|AutoHotkey: Auswahl erweitern mit Parameter|AutoHotkey}}
[[Category:AutoHotkey scripts|Spread Selection with Parameter]]

Latest revision as of 18:59, 1 June 2008

If you regularly want to select or deselct a certain filetype you may use those scripts in a button or starter command. Even on commandline they should work. The given parameter is taken as the mask for spreading, shrinking or selecting.


;This script spreads the selection in TC with the passed Parameter as filter mask
; 
IfWinActive ahk_class TTOTAL_CMD
{
PostMessage 1075, 521, , , ahk_class TTOTAL_CMD
send,%1%
Controlclick, OK, ahk_class TCOMBOINPUT
}

return


;This script shrinks the selection in TC with the passed Parameter as filter mask
; 
IfWinActive ahk_class TTOTAL_CMD
{
PostMessage 1075, 522, , , ahk_class TTOTAL_CMD
send,%1%
Controlclick, OK, ahk_class TCOMBOINPUT
}

return


;This script shows all files that fit the given parameter mask
; 
IfWinActive ahk_class TTOTAL_CMD
{
PostMessage 1075, 314, , , ahk_class TTOTAL_CMD
send,%1%
Controlclick, OK, ahk_class TCOMBOINPUT
}

return




Back to AutoHotkey