• 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
Re: making new documents in aworks6
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: making new documents in aworks6


  • Subject: Re: making new documents in aworks6
  • From: kai <email@hidden>
  • Date: Sat, 2 Apr 2005 14:09:51 +0100


On Sat, 2 Apr 2005 07:16:54 EST, Fabrice wrote:

I tried without success to write a script that could make a new document different from text: e.g. vectorial or drawing. Is it possible in AppleWorks 6?

Yes - it certainly is, Fabrice. :-)

And how?

Something like this:

----------------

tell application "AppleWorks 6"

	make new document with properties ¬
		{document kind:drawing document}

	make new document with properties ¬
		{document kind:drawing document}

	make new document with properties ¬
		{document kind:text document}

	make new document with properties ¬
		{document kind:spreadsheet document}

	make new document with properties ¬
		{document kind:database document}

	make new document with properties ¬
		{document kind:painting document}

	make new document with properties ¬
		{document kind:presentation document}

end tell

----------------

For more info, check out the 'document' class in the AppleWorks AS Dictionary's Standard Suite...

---
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


  • Follow-Ups:
    • Re: making new documents in aworks6
      • From: kai <email@hidden>
  • Prev by Date: Re: Property won't save after tell Finder to open
  • Next by Date: Re: Maintaining "State" information between scripts in an AS application
  • Previous by thread: making new documents in aworks6
  • Next by thread: Re: making new documents in aworks6
  • Index(es):
    • Date
    • Thread