[shell]-creating a filename in Finder
I’ve been searching the web a reasonable amount trying to find basic applescript commands avaible for each Apps. How to execute them etc.
Basically what I want to do is simply change the filename of an new created file by another software.
More precisely, my friend is creating live movie captures with "Isadora" < - which does not enable him to create a custom file name for these captures. <-something all to basic basic in max ;-)
It gives him a quasi-random file name each time.
So I thought I would use the shell object to create a specific file name everytime the end of his capture it is triggered.This would be done via OSC.
Any help on this would be great.
On 3 oct. 08, at 04:54, phil wrote:
> Basically what I want to do is simply change the filename of an new
> created file by another software.
If you want to do this in Max, you could use my small filesys Java
You’ll need to use Max’ [folder] object to get the random name of your
[filewatch] will send a notification when a file is _created_, but not
when it is closed, so you’ll probably need indeed an OSC notification
from Isadora. Bad luck!
Centre de Recherches et de Formation Musicales de Wallonie asbl
Thanks a lot for the tips.
I’ll have a look into it and try find a work around from there.
I’ll keep you posted.
Fantastic! it worked out. No use for OSC.
As you suggested,
I used [folder] < -had to specify MooV as the 4 letter file type (which I got off the net).
[filewatch] to trigger change in folder. And your [mxj filesys]
Only one problem though, Finder will not response to manual name changes after having used your [mxj filesys]. Not until I close Max. ?
Is this normal, does [mxj filesys] confuse the Os x?
On 04-oct.-08, at 21:32, phil wrote:
> Fantastic! it worked out. No use for OSC.
> As you suggested,
> I used [folder] < -had to specify MooV as the 4 letter file type (which
> I got off the net).
> [filewatch] to trigger change in folder.
As I early wrote, [filewatch] will bang when Isadora _creates_ the
file, not when it is done writing the file. I don’t think it’s a good
idea to modify the filename while Isadora is still writing the file,
this may explain the "Os x confusion" you’re talking about! So maybe an
OSC notification once Isadora finished to write may be a good idea!
> And your [mxj filesys]
> Only one problem though, Finder will not response to manual name
> changes after having used your [mxj filesys]. Not until I close Max. ?
> Is this normal, does [mxj filesys] confuse the Os x?
It is not normal and I never encounter this problem before. I will do
some testings on monday… but please try my suggestion!
Thanks for the heads up.
I will try your suggestion.
By the way, I have tried again a few times to cause to Finder problem but w. no success. All might by well?
I’ll get back to if this happens again w. new setup of;changing filename after capture.
thanks very much for your efforts