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

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
xnmp
Posts: 88
Joined: 15 Mar 2013 04:46

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

Post 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

highend
Posts: 14996
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

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

Post 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...
One of my scripts helped you out? Please donate via Paypal

xnmp
Posts: 88
Joined: 15 Mar 2013 04:46

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

Post 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:

Post Reply