Quantcast
Channel: Total Commander
Viewing all articles
Browse latest Browse all 18761

Eng :: RE: Selecting Files

$
0
0
Author: Stefan2
Subject: AutoHotkey: Select a amount of Files down.
Posted: Fri Apr 22, 2016 3:18 am (GMT -6)

Take a look here: http://ghisler.ch/board/viewtopic.php?p=298324#298324


Based on Romans script:

Select-Amount-Of-Files-small.AHK
Code:


;   http://ghisler.ch/board/viewtopic.php?p=298324#298324   
;   Hacker Posted: Wed Jul 29, 2015 21:32    Post subject:    
;   Here is a shorter AHK script:

; First select first wanted file manually by hand yourself.
; Next execute this script to select %OutputVar% times down.

WinActivate, ahk_class TTOTAL_CMD
WinWaitActive, ahk_class TTOTAL_CMD

; cm_GoToFirstFile=2050;Place cursor on first file in list
; PostMessage, 1075, 2050

msg  = Purpose: Select a bunch of items`n
msg = %msg%1) Select first item(s) yourself.`n
msg = %msg%2) Run this script.`n
msg = %msg%3) Enter below an amount of how many to select down.
InputBox, OutputVar, TC AHK script, %msg%

SendInput, {Insert %OutputVar%}   

AHK v1.1.22.9

For more info about AHK and that script, see here
http://ghisler.ch/board/viewtopic.php?p=298324#298324





For "How to create an button" see:
http://ghisler.ch/board/viewtopic.php?p=287965#287965

Code:
CMD: "%COMMANDER_PATH%\TOOLs\AHK\AutoHotkey.exe" "%COMMANDER_PATH%\TOOLs\AHK\Select-Amount-Of-Files-small.AHK"
PARAM:
ICON: "%COMMANDER_PATH%\TOOLs\AHK\AutoHotkey.exe"
Tooltip: Select-Amount-Of-Files-small






 
(Selektieren Auswählen Anzahl Dateien markieren)
_________________
MfG, Stefan
WinXP-10, 32+64-Bit
Am Anfang war das Wort... Darum: Wehret den Anfängen. Kein Viertes Reich! - (☪ oe is †) = ☮


Viewing all articles
Browse latest Browse all 18761

Trending Articles