Connexion rapide:  

Forum: VirtualDJ Technical Support

Sujet Edit Field1 (User 1) using script

Ce topic est ancien et peut contenir des informations obselètes ou incorrectes.

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.
 

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

will write "edited" in field1 of selected track
 

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

Posté 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.
 

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

Posté 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?
 

Posté 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.
 

Posté 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.
 

Posté 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.
 

Posté 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.
 

Posté Sat 09 Mar 19 @ 8:27 am


(Les anciens sujets et forums sont automatiquement fermés)