I'm trying to make a script that first picks an item and then copies its datem+datec to other selected items. Help file gives example "
timestamp 'mc', <focitem>, , 'a';" where <focusitem> is quite like a variable for me, but when i try to use simple variable $clondate "magic doesn't happen".. Timestamp seem to not recognize dates of item in variable but takes it's path as a "direct time format, though Syntax says:
timestamp [type = "cma"], [date / source_item], [itemlist], [source_type = "*"], [shift]
What am i doing wrong?
Code: Select all
perm $clondate;
if ($clondate == "") {$clondate = <curitem>; trayballoon $clondate;}
else {timestamp 'mc', $clondate, , 'mc', "1 s"; unset $clondate;}