action button on %L empty

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Hurdet
Power Member
Power Member
Posts: 716
Joined: 2003-05-10, 18:02 UTC

action button on %L empty

Post by *Hurdet »

I have a script:

for $i=0 to $CmdLine[0]
MsgBox(0,222,'"' & $CmdLine[$i] & '"')
Next

i have a button:
c:\Program Files\AutoIt3\AutoIt3.exe
k:\aaaa.au3 %T %L

It work if i select any but if i not and set cursor on root folder (not have %L) it not hit.
But i would to execute a action also if i not select.
Do it not possible?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50923
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This is not supported, sorry. TC cannot know what it should do when there are no files and you use a parameter which refers to files.
Author of Total Commander
https://www.ghisler.com
Post Reply