Error: Unknown object type
Error: Unknown object type
- Subject: Error: Unknown object type
- From: Landis <email@hidden>
- Date: Mon, 29 Oct 2001 14:35:10 -0800
If anyone has any ideas about scripting QTVR Authoring Studio (a
program by Apple) or has ideas in general on how to this, I'd
appreciate some tips.
The script below will create a new project manager, and I can use it
to make new stitchers and use those, but I need to know how to assign
the name of a stitcher within the project. All of the commented out
lines below do not work. I usually get an error of something like:
"QTVR Authoring Studio 1.0.1 got an error: Unknown object type."
From what I can tell in the dictionary for QTVRAS it says that "name"
is a property of the project manager and the stitcher, yet I get that
message whenever I try to set it. Please tell me the correct syntax
to do this.
Thanks,
Landis
--BEGIN SCRIPT
tell application "QTVR Authoring Studio 1.0.1"
activate
set pm_Doc to make new project manager
set ProjMan to project manager 1 of pm_Doc
tell ProjMan
Create new stitcher --with properties {name:"StitchThis"}
set pano_maker to stitcher 1 of ProjMan
--set name of pano_maker to "StitchThis"
--set name of stitcher 1 to "StitchThis"
tell pano_maker
--set name to "StitchThis"
set wrap to false
end tell
end tell
--set name of stitcher 1 to "StitchThis"
end tell
--END SCRIPT