Re: quicktime player: make recording ... and save it
Re: quicktime player: make recording ... and save it
- Subject: Re: quicktime player: make recording ... and save it
- From: Axel Luttgens <email@hidden>
- Date: Wed, 24 Mar 2010 23:21:48 +0100
Le 24 mars 2010 à 15:12:23, David Schlangen a écrit :
> Hello Axel,
>
> thanks a lot! That seems to have done the trick!
>
> (Applescript is driving me slightly mad with this alias business...)
Hello David,
Happy to have been of some help.
In this case, that alias thing should not have been needed at all.
According o QTP's dictionary, that application should have been able to save its own "documents", to move them somewhere else, and so on. But QTP currently doesn't seem to be able to correctly handle its own "documents"...
Since QTP anyway tends to create a file in ~/Videos, one way is to resort to another application.
Amongst QTP's useful information, there's the "file" property of a window's document; and that property indeed provides a file reference, that is, something liable to be understood by other scriptable applications (some kind of glue provided by AppleScript itself).
One "natural" candidate for handling existing files is the Finder: the Finder can receive file references and act upon files thru them, even if such references aren't native to it.
But the intent was to ask the Finder to move and rename the file created by QTP; hence the "as alias" part: even if an alias reference isn't no more native to the Finder than a file reference, it allows to directly move and rename the file with the help of the Finder, without having to go thru usual Finder references (file "xxx" of folder "yyy" of ...). The "as alias" was just the lazy man's way. ;-)
HTH,
Axel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden