Empty forum, Hmm nobody else using macros?
Hi I wanted to automate testing archives so I started making a macro to automatically press enter on MultiArcs "Test archive" command.
But I wanted it to make sure it was the "Test archive" command but I cant find a way to find this information is there a way?
I ended up using this command "Macro:post ShiftF3 $While (Menu) Enter $End" is there a better way?
How to access menu title and item within a macro?
Cool works great, is this documented somewhere?t-rex wrote:jonib
Well in the FAR version that I gave you test with the dead keys you can get the title of any object, just use the Title macro-constant.
This is my "auto archive testing" macro:
Macro:post ShiftF3 $While (Menu && Title == "Archive commands") t $IF (dialog && substr(Title,0,6) == "Volume") a $End $End
Now should work with archive volumes.
jonib
Yes, it's documented - but not yet in english. The latest docs are always here - http://api.farmanager.com/ - they are auto-updated upon a comit to the SVN.
Yes, it's documented - but not yet in english. The latest docs are always here - http://api.farmanager.com/ - they are auto-updated upon a comit to the SVN.
I did not find it there so I asked.t-rex wrote:jonib
Yes, it's documented - but not yet in english. The latest docs are always here - http://api.farmanager.com/ - they are auto-updated upon a comit to the SVN.
Is there a way to get error info why a macro don't work?