Macros I use: Auto test selected archives

Here you can discuss any topic concerning Far macro commands.
Locked
jonib
Posts: 70
Joined: Thu Mar 31, 2005 3:00 am
Location: Sweden

Macros I use: Auto test selected archives

Post by jonib »

Hi all macro lovers :twisted:

As there is no activity here which I think is sad, so I though I would post some macros i use.

This is a macro I use from the "File associations" menu it uses "Macro:post"

For any archive format I use, I have this macro in the "execute command" section:
Filemask(example):

Code: Select all

*.rar,*.zip,*.torrent,*.par2,*.r[0-9][0-9]
Description:

Code: Select all

Auto test archives
Command:

Code: Select all

Macro:post ShiftF3 $While (Menu && Title == "Archive commands") t $IF (dialog && substr(Title,0,6) == "Volume") a $End $End
Command should be on one line.
The macro will use the archive support plugins "Test" function on all selected archives that are supported and will stop if there is an error on any test.

jonib
Locked