Re: QTVRAS and Applescript
Re: QTVRAS and Applescript
- Subject: Re: QTVRAS and Applescript
- From: Brennan <email@hidden>
- Date: Mon, 15 Oct 2001 21:10:04 +0200
Matthew Rogers <email@hidden> wrote
>
Please, please does anyone have any examples of scripting Quicktime VR
>
authoring studio ??? I've been trying for the last week or so and have come
>
to the conclusion that in fact it is not scriptable ! I am running OS 9.1,
>
carbonlib 1.4, applescript 1.6 and QTVRAS 1.0.1
>
I've looked at the extensive dictionary but it doesn't seem to behave as
>
other apps do.
>
I'm at the stage where I'll pay $50 for a simple script to give me an
>
overview of the BASICS.
I have a few scripts garnered from various sources, but I haven't tried any of them yet. No time!
Trouble is they are scattered all over the place. I will make an effort to assemble them in one place, test them, and post them somewhere vaguely permanent because I don't think there are any web based resources for scripting QTVRAS.
Here's something I found just quickly. Be sure that you have run the absolute latest update for the app, as it included applescript fixes.
I have some more scripts elsewhere, but can't find them right now.
--------------------------------------------
--file:///Projekt/VR/Gunnebo_pano1/DSC_0001.pct - location of my source images
set theFolderLocation to ("Projekt:VR:Gunnebo_pano1:") as text
--set the complete path with colons between folder names to your
folder location
--ex: "Applications:QuickTime VR Authoring Studio:My Pano Images:"
set pixList to list folder theFolderLocation --creates an itemized list
--set myDoc to "template"
set myDoc to "g1"
--NOTE: the template file must be a Panorama STITCHER file, not a
MAKER file and must be already opened
tell application "QTVRAS1.0.1"
activate
repeat with i from 1 to count of items in pixList
set pic to (item i in pixList)
set picName to theFolderLocation & pic
Add Images document myDoc image picName rotate 90.5
end repeat
end tell
--adds contents of subfolders, how do I get in a "of folder" or similar