Macro to rename file attributes
Posted: 2019 Apr 13, 14:03
I have a folder with many mp3 files.
I want to edit the Comment and Title fields for each file.
my Manual method is to
press F2
press tab *3
overtype the comment field contents
press F2
press tab *5
overtype the Title field contents
save changes to current file
go down one item in active panel file list
I have tried to write a macro ... but it fails to accept the TAB operations
neither of my attempted sendkey commands worked
but I did get an error message:
---------------------------
xplorer²
---------------------------
Macro stopped execution with error 2 Line: 2 Last argument: 32792 #32792
Rename the selected item in place
Rename (F2)
Do you want to debug the macro?
---------------------------
Yes No
---------------------------
can anyone explain what I am doing wrong?
or, even better, provide the macro code to achieve my task ( )
Regards
Mark
I want to edit the Comment and Title fields for each file.
my Manual method is to
press F2
press tab *3
overtype the comment field contents
press F2
press tab *5
overtype the Title field contents
save changes to current file
go down one item in active panel file list
I have tried to write a macro ... but it fails to accept the TAB operations
Code: Select all
COMMAND 32792 #F2 Rename
# SENDKEY TAB # failed
SENDKEY 0x09 # failed
but I did get an error message:
---------------------------
xplorer²
---------------------------
Macro stopped execution with error 2 Line: 2 Last argument: 32792 #32792
Rename the selected item in place
Rename (F2)
Do you want to debug the macro?
---------------------------
Yes No
---------------------------
can anyone explain what I am doing wrong?
or, even better, provide the macro code to achieve my task ( )
Regards
Mark