This is my 1st post.
I am a complete newbie to applescript and my question is probably very very basic to many of you. <good hopefully I will get a reply
I simply want to trigger specific songs (say 4) in a specifc itunes folder, via chosen ASCII I assign.
How do I go about doing this. Does script editor have to be on?
there is no way to assign a shortcut to a script without any external tool.
You can do it with QuicKeys, Butler, FastScripts, QuickSilver and there are probably a few more.
Of course you can play any song in iTunes with AppleScript.
The origin philosophy of iTunes is, that the user neednât care about folders and paths.
Itâs much easier to refer to the song by title or playlist
there is no way to assign a shortcut to a script without any external tool.
You can do it with QuicKeys, Butler, FastScripts, QuickSilver and there are probably a few more.
Iâve had a quick look @ FastScripts and Quiksilver but wasnât able to do what I wanted.
Of course you can play any song in iTunes with AppleScript.
Itâs much easier to refer to the song by title or playlist
Thatâs fine but can I trigger them each specific one w. the keyboard?
The reason I want this is for âPanic escapeâ in a live show. More specifically, I have a show coming were we do real-time audio/visual crowd captures as our source material and weâre accompanied by a dancer. And as everyone knows, computer software do crash once in a while. This while could be live. So, if it ever were the case I would want an âescape panicâ pre-recorded track to be triggered w. an ASCII in itunes while I restart the software. <the way I programmed my software (max msp), the âdataâ or soundfiles would not be lost and could reloaded in the samplers. < anyways this an complete other topic
Thanks for you reply and I hope to here from you soon.
create a playlist âPanicâ in iTunes and put your songs into it
then save the following script somewhere and assign a shortcut with FastScripts to it
tell application "iTunes"
play playlist "Panic"
end tell
There was indeed a problem w. my setup. I had to upgrade my itunes version. Now the script works fine. Hopefully it was just that?
Still, after searching the net for applescript help, I ended up finding a few step through screen shots of FastScript. < And that also confirms that my FastScript is not behaving normally. < Unless again Iâm not getting something.
Iâve now downloaded Butler and will give it a spin.
One Last question, Could using your ASCII as a controller to trigger things, all be done within the Script editor.
I know you said;
there is no way to assign a shortcut to a script without any external tool.
But to me it seems something that could be so simple in script command line;
tell application âitunesâ/then folder name/ trackname/ to start when /combination ASCII 116 (t)/ctrl /option are pressed.
I mean this is so simple inside other scriptable software I use.
Here is an example of osascript that is used to pilot the [shell] object within the Maxmsp software.
osascript -e âtell application âiTunesââ -e âset mytrack to (first track of view of front window whose (name contains âtracknamehereâ))â -e âplay mytrackâ -e âend tellâ
And this works perfectly. I can also decide on which ASCII I will use to trigger this commandâŚ
The problem is that this is the app. whomâs crashing I am preparing against.
When one is new to something < he is ignorant , not simple minded. Great generous people ,like you, in forums , like this ,help clear things up. Thanks an keep it up.
there is no way to assign a shortcut to a script without any external tool.
what is mistakable in this sentence???
Your right, I change the connotation of âto assign a shortcutâ for to assign ASCII.
So, is it possible to assign ASCII from within Applescript?
What is osascript? â This is my last question of that type. From now on I will get my hands a little more dirty and will probably questions like this will answer themselves ( I wouldnâT mind an answer that last one though!!)