• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Applescripting Appleworks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Applescripting Appleworks


  • Subject: Applescripting Appleworks
  • From: List Guy <email@hidden>
  • Date: Wed, 01 Aug 2001 11:12:55 -0700

Unfortunately, I don't own AW5 which has significant differences in its
scripting from AW6. So let me try the simple first:

This statement:

make new document at desktop with properties
{name:newName, document kind:WP} with data finalText


appears to combine the finder's make document and applework's "make
document". I didn't think AW understood "at desktop". Nevertheless, the
statement works fine in AW6 -- AW5 make not understand "at desktop". In AW6,
the new document is created, but it isn't saved; that is, it does not appear
in the finder on the desktop.

So:

The "make new" command is surrounded by a tell block, yes? As in:

tell app "Appleworks 5"
make new [etc]
end

Have you tried the simpliest version

tell app "Appleworks 5" to make new document

I believe AW5 will create a new document of the default type with this
command.

If you want the document on the desktop in the finder, you must save it to
there.

macguy


  • Prev by Date: Re: AppleScript seems to be Unique...
  • Next by Date: RE: Can't seem to script printing PostScript file
  • Previous by thread: How to grab the text contents of a clipping
  • Next by thread: Apple System Profiler
  • Index(es):
    • Date
    • Thread