Re: ScriptEditor crash while setting an object name in an AppleWork Vectorial document
Re: ScriptEditor crash while setting an object name in an AppleWork Vectorial document
- Subject: Re: ScriptEditor crash while setting an object name in an AppleWork Vectorial document
- From: Emile Schwarz <email@hidden>
- Date: Sat, 28 Jan 2006 09:38:04 +0100
Hi,
Now, _I AM_ surprised: I am able to change that value !
To be precise, the name property is set, then the crash appears. Once I reloaded
my script and ask for the Properties, I get my change ;)
OK, suppose that property is read only; how in the AppleWorks software can I set
that value ?
Cheers,
Emile
email@hidden wrote:
Date: Fri, 27 Jan 2006 10:04:01 +0100
From: Yvan KOENIG <email@hidden>
Subject: Re: ScriptEditor crash while setting an object name in an AppleWork Vectorial document
To: "AppleScript User's List" <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Le 26 janv. 2006, à 19:26, Emile Schwarz a écrit :
Hi all,
Mac OS X 10.3.9 [French]
AppleWorks 6.2.9 [French]
tell application "AppleWorks 6"
tell front document
set objIdx to 3
set selection to graphic object objIdx
set obj to graphic object objIdx
set name of obj to "Cheminée 1"
return properties of obj
end tell
end tell
Hello Emile.
The AppleWorks dictionnary claims that a graphic object's name is a
r/o (aka read only) property.
So, I am really not surprised by what you got.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden