Quick Sign In:  

Forum: VirtualDJ Technical Support

Topic: Edit Field1 (User 1) using script

This topic is old and might contain outdated or incorrect information.

BLG_VDJControlleristMember since 2018
Is there a script to edit Field1 in Tag Editor? I have tried various permutations using the browsed_file script with no luck. I have also tried using User 1, which is the Filter Folder name for the same field.

TIA.
 

Posted Sat 02 Mar 19 @ 11:45 pm
NicotuxHome userMember since 2014
browsed_song 'field1' edited

will write "edited" in field1 of selected track
 

Posted Sun 03 Mar 19 @ 1:12 am
Will give it a shot. Thank you.
 

Posted Sat 09 Mar 19 @ 4:26 am
Got it to work, so thanks for that.

Ideally trying to accomplish two tag edits at once. The first part of this scripts work, but the Field1 portion does not.

doubleclick ? browsed_file_color "#FFFF6FCF" and browsed_song 'field1' "edited"

Any advice? TIA.
 

Posted Sat 09 Mar 19 @ 4:33 am
locoDogPRO InfinityModeratorMember since 2013
doubleclick ? browsed_file_color "#FFFF6FCF" & browsed_song 'field1' "edited" : singleClick
 

Posted Sat 09 Mar 19 @ 4:43 am
Excellent. Can you direct me to a post on Script School that explains the need for the single click action?
 

Posted Sat 09 Mar 19 @ 7:25 am
locoDogPRO InfinityModeratorMember since 2013
Not really,... your script starts with the query
doubleclick ?

therefore this could be false and would need a reply for a single click.
 

Posted Sat 09 Mar 19 @ 7:43 am
OK. Got it. Just wondering what the rule was for that.

It worked as a single command without, so was curious if there was some hard logic behind it.
 

Posted Sat 09 Mar 19 @ 8:15 am
AdionPRO InfinityCTOMember since 2006
Indeed no need for the singleClick part if you don't want anything to happen when only single-clicking.
 

Posted Sat 09 Mar 19 @ 8:18 am
I see the difference between AND and &. Forgot about that.

Now can you use a script to change file type from video to karaoke??? I haven't tried any scripts for it yet, as I am unsure that type is a variable that can be changed since it is not a tag per se.
 

Posted Sat 09 Mar 19 @ 8:27 am


(Old topics and forums are automatically closed)