• 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: Make AppleScript Create an AppleWorks Spreadsheet? (Applescript-users Digest, Vol 2, Issue 667)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Make AppleScript Create an AppleWorks Spreadsheet? (Applescript-users Digest, Vol 2, Issue 667)


  • Subject: Re: Make AppleScript Create an AppleWorks Spreadsheet? (Applescript-users Digest, Vol 2, Issue 667)
  • From: "Jonathan Levi, M.D." <email@hidden>
  • Date: Fri, 14 Oct 2005 22:13:25 -0400

At Wed, 12 Oct 2005 17:48:46 +0200, Yvan KOENIG <email@hidden> wrote:
------------------------------
Le 10 oct. 2005 , ý 14:56, Jonathan Levi MD a Ècrit :
 > Would someone please help -- how to script AppleWorks's creating, say,
 > a new 20-column x 10-row spreadsheet, without using System Events?

Hello here is a script which do that except if you are using an old
version (before 628) in which deleting an empty row activates the bad
old eutocalc on strike bug.

-- [SCRIPT SS 20x20]
...
-- [/SCRIPT]

Fortunately, I'm using 6.2.9.

Thank you very much for your insightful and painstakingly complete script.

My principal discovery from your script was the "select menu item 14 of menu 4" command, which makes unnecessary my call to System Events: 'tell application "System Events" to tell process "AppleWorks 6" to keystroke "k" using {shift down, command down}..." (the "Delete Cells... item).

For all the weaknesses of AppleWorks's dictionary, I have to admit that the "menu item" class and its properties, "enabled", "checked" and "check character", are very useful. Thank you for alerting me to these!

Jonathan
_______________________________________________
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: Make AppleScript Create an AppleWorks Spreadsheet? (Applescript-users Digest, Vol 2, Issue 667)
      • From: Yvan KOENIG <email@hidden>
  • Prev by Date: Re: number
  • Next by Date: Re: Problem with dot_underscore files
  • Previous by thread: Re: number
  • Next by thread: Re: Make AppleScript Create an AppleWorks Spreadsheet? (Applescript-users Digest, Vol 2, Issue 667)
  • Index(es):
    • Date
    • Thread