Re: scripting Word top copy text - should be simple, but ain't
Re: scripting Word top copy text - should be simple, but ain't
- Subject: Re: scripting Word top copy text - should be simple, but ain't
- From: kai <email@hidden>
- Date: Thu, 27 Apr 2006 20:36:42 +0100
On 27 Apr 2006, at 19:51, Paul Berkowitz wrote:
On 4/27/06 11:38 AM, "Emmanuel" <email@hidden> wrote:
At 8:41 AM -0700 4/27/06, Paul Berkowitz wrote:
But it would also be a good thing if the Standard Suite
were to support an optional, non-ignorable Result for 'open'
It would certainly be cool that all applications do like Smile does,
that is, having their "open" command return a reference to the newly
opened object (or whatever makes sense in the particular context),
but I don't think anything prevents a programmer from having his
"open" command return whatever he decides.
That's good. I'll file that as a feature-request type bug, then
with Word.
;-)
As you know, the Standard Suite is more of a recommendation than
anything
else.
I never really know what I know, with regard to AppleScript
application
implementation. If there are real rules anywhere, I don't know
where to find
them. Inside "Inside Macintosh"? Are they updated for OS X?
There's some interesting stuff in the Standard Commands section of
Technical Note TN2106 - Scripting Interface Guidelines (Mar 01, 2004):
http://developer.apple.com/technotes/tn2002/tn2106.html#standard-
commands
This reference to the open command suggests that it should return the
created application object(s):
-------------------------
open
open file | list of files
-- Returns a specifier to the created application object.
Opens the specified files, and returns the new application objects
for them – probably documents. The standard version is designed for
opening document files, but applications may apply open to other
objects and add additional parameters.
-------------------------
---
kai
_______________________________________________
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