I’m creating an application that duplicates a user’s files and preferences. No matter what I do, I can’t get the tab view to switch. At this point, I’m just using display dialog commands to ensure that the handlers are working.
When I run this particular script, I get a (-1700) error: Can’t make <> into type reference.
-- This script determines if there is enough space on the hard drive
--
script hdSpace
property parent : InfoPanel
property infoPanelName : "space"
property infoPanelInstruction : "Please wait while we determine if you have enough space to create the new account"
display dialog "cool"
set current tab view item to tab view item "account"
end script
I tried using the developer example script from the Assistant app, but that seems to cause unlimited numbers of (-1708) errors. I’ve also tried the following command:
tell tab view "info panel" of box "border" of window "main"
set current tab view item to tab view item "account"
end tell
Can anyone tell me what I’m doing wrong?