How do I write script that will append to the comment text of a music file whenever I press certain keys. I thought I used to have this working, but now I can't get it to work.
For example:
ALT+D
get_browsed_song 'Comment' & param_add ' #dup' & browsed_song 'Comment'
This doesn't work. How do I write a script to append to a comment?
Posted 7 days ago @ 5:57 am
It did change recently with param_add now anything '' or "" will be understood as script queries.
this method is most in line with your old method
get_text, open " mark to open the param of get_text, open ` mark to say actually this bit is script because get_text can do that, get with script, close ` mark to say that's the end of the script grab, raw text, close the " mark to close get_text param, & cast the result to comment
brackets are there to contain the implicit from causing problems else where.
this method is most in line with your old method
( get_text "`get_browsed_song comment` #dup" & param_cast & browsed_song comment )
get_text, open " mark to open the param of get_text, open ` mark to say actually this bit is script because get_text can do that, get with script, close ` mark to say that's the end of the script grab, raw text, close the " mark to close get_text param, & cast the result to comment
brackets are there to contain the implicit from causing problems else where.
Posted 7 days ago @ 8:12 am
I'll correct myself this is most inline with your current thinking.
( get_browsed_song 'Comment' & param_add `constant ' #dup'` & param_cast & browsed_song 'Comment' )
Posted 7 days ago @ 4:48 pm
locoDog wrote :
I'll correct myself this is most inline with your current thinking.
( get_browsed_song 'Comment' & param_add `constant ' #dup'` & param_cast & browsed_song 'Comment' )
Thanks. I'm trying to find a reference to explain the syntax, including the different types of quotes and when they are necessary. Could you point me in the right direction?
Posted 7 days ago @ 7:50 pm
Not quite yet... I have 2 huge documents ready to post in script school thread
They're the most comprehensive and deepest dive ever [like thesis level]. You'll probably want to see that when I publish. I'm working on a 3rd in the trilogy but that's nowhere near ready.
One is titled "Every way* to do everything*" and that's the one you'll want to read first.
Just waiting on the next EA release before I publish, although I am half tempted to wait till I get the 3rd finished and just drop all 3 at once.
They're the most comprehensive and deepest dive ever [like thesis level]. You'll probably want to see that when I publish. I'm working on a 3rd in the trilogy but that's nowhere near ready.
One is titled "Every way* to do everything*" and that's the one you'll want to read first.
Just waiting on the next EA release before I publish, although I am half tempted to wait till I get the 3rd finished and just drop all 3 at once.
Posted 7 days ago @ 9:03 pm
locoDog wrote :
Not quite yet... I have 2 huge documents ready to post in script school thread
They're the most comprehensive and deepest dive ever [like thesis level]. You'll probably want to see that when I publish. I'm working on a 3rd in the trilogy but that's nowhere near ready.
One is titled "Every way* to do everything*" and that's the one you'll want to read first.
Just waiting on the next EA release before I publish, although I am half tempted to wait till I get the 3rd finished and just drop all 3 at once.
They're the most comprehensive and deepest dive ever [like thesis level]. You'll probably want to see that when I publish. I'm working on a 3rd in the trilogy but that's nowhere near ready.
One is titled "Every way* to do everything*" and that's the one you'll want to read first.
Just waiting on the next EA release before I publish, although I am half tempted to wait till I get the 3rd finished and just drop all 3 at once.
Ok, thanks.
Posted 6 days ago @ 2:04 am
Another question. This replaces the comment:
( get_browsed_song 'Comment' & param_add `constant ' #qa n!'` & param_cast & browsed_song 'Comment' )
Is there a way to append to the comment?
( get_browsed_song 'Comment' & param_add `constant ' #qa n!'` & param_cast & browsed_song 'Comment' )
Is there a way to append to the comment?
Posted 4 days ago @ 4:41 am
do my first post
Posted 4 days ago @ 1:28 pm





