Move a QuickTime file to a new location

Hi. As a new scripter I have TONS of questions but hopefully someone will be able to answer this one easily.

I have a script where I’m getting the natural dimensions of an open file in QT and then moving the asset to a folder based on it’s dimensions.

I’m having troubles with the move command. I was hoping to do this from QT rather than finder. here is what I tried:

tell application “QuickTime Player”
move document 1 to desktop
end tell

I’m returned with error:
QuickTime Player got an error:

THanks All


QuickTime has no idea about the file system. Use the Finder or the shell


first off welcome to macscripter I’m glad you made it !

you can use quicktime to move files NO more than you can use the finder to make quicktime edits.

you may be able to save a copy to a new location or you will need to direct the finder to move the file or you can call a shell script to move the file.

in fact you can get the dimensions from the file info using the finder and you don’t need qucktime at all :wink:


thanks for the quick replies.
I’m a little confused because when I open my QuickTime Player Dictionary and search “move” it shows:

move‚v : Move object(s) to a new location.
move specifier : the object(s) to move
to location specifier : The new location for the object(s).

this gave me the idea that I could move it’s location from QT… guess not though.

How can I get the natural Dimensions of the file w/o opening in QT?


not sure without looking at qt dictionary (will look tomorrow)

as far as dimension go in the get info window it tells dimension not entirely sure its accessible but you might look at info for


move is a command from the Standard Suite. Almost every scriptable application contains the Standard Suite.

location doesn’t mean explicitly a location on disk, depending on the application it could be a paragraph, a calendar, a mailbox or another list of elements.

thanks all
very helpful

About the Dictionary, after entering “move” into the dictionary, the top window lists move as being part of the Standard Suite rather than the QuickTime Player suite. That lets you know that its not a Quick Time command.