Page 1 of 1

[Help] Set Hotkey / script for "Edit Data" of "extra" tag ?

Posted: 31 Jul 2016 19:40
by xnmp
Hi,

I want to set hotkey to "Edit Data" function (of "extra1" tag) (when pressing hotkey, the "edit data" window pop up ,and i can enter the data i want to set to "extra1" )
There are menu for edit tags,label and comment ,so we can easily set hotkey for them. But i can't find anything like that for "extra" tags

i've read the scripting help document and i know how to directly set "extra1","extra2", "extra3" tag by script ,but i don't know how to pop up window so that the user can type the value they want for "extra" tag, like we right click the cell of the extra1 column and choose "Edit Data..." - instead of directly set the value in the script
any help would be appreciated

Re: [Help] Set Hotkey / script for "Edit Data" of "extra" ta

Posted: 31 Jul 2016 20:59
by highend
Minimal form of a script to enter data that is stored in ex1 for all selected files:

Code: Select all

tagitems("ex1", input("Enter tag..."), <selitems |>);
You put it in a script, load it via UDC (Load script file) and assign a keyboard shortcut afterwards...

Re: [Help] Set Hotkey / script for "Edit Data" of "extra" ta

Posted: 31 Jul 2016 21:37
by xnmp
highend wrote:Minimal form of a script to enter data that is stored in ex1 for all selected files:

Code: Select all

tagitems("ex1", input("Enter tag..."), <selitems |>);
You put it in a script, load it via UDC (Load script file) and assign a keyboard shortcut afterwards...
Thank you so much highend, it works perfectly :mrgreen: