• 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: Cannot open "On My Mac" mailboxes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cannot open "On My Mac" mailboxes


  • Subject: Re: Cannot open "On My Mac" mailboxes
  • From: Christopher Stone <email@hidden>
  • Date: Fri, 04 May 2012 19:48:31 -0500

Hey Tom,

On May 04, 2012, at 08:46, Tom Lyon wrote:
Thanks, Chris.  That did the trick.

Good.

Being new to applescript, I opted for the simpler solution by using your first script.  It does what I need with just a couple of small tweaks.

Understandable.  Regular expressions look like so much Greek to the uninitiated, and you have to install the OSAX (Open Scripting Architecture eXtension).

Is there an applescript reference that might list all of the possible interactions applicable to say, Mail, Safari, etc.?

Nope.  Sorry about that.  :)

There's the Applescript Language Guide for the base Applescript syntax:

PDF

Online

But each application has its own Applescript dictionary and few if any are well documented.

You have to learn to read the dictionary in the dictionary window of the Applescript Editor, or Smile (freeware, or Script Debugger (commercial).

Script Debugger offers the most sophisticated means of doing this, but it's also pretty expensive.  (I've used it since version 1.0 came out many years ago.)

If you're serious about learning Applescript then you'll want to buy a book or two.  The ones I personally recommend at the moment are:

Learn AppleScript: The Comprehensive Guide to Scripting and Automation on Mac OS X

AND:

AppleScript: The Definitive Guide, 2nd Edition

But there are some other good ones.

The other active Applescript User Community is Macscripter.net.

A really basic Applescript tutorial:

Applescript For Absolute Starters

When I started learning Applescript in the early '90s there was only one decent book available (by Danny Goodman).  I bought that and lurked on this list for a good while before I started asking lots of questions.

The list has been too quiet lately, so by all means jump in with both feet!

--
Best Regards,
Chris

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Cannot open "On My Mac" mailboxes
      • From: Tom Lyon <email@hidden>
References: 
 >Cannot open "On My Mac" mailboxes (From: Tom Lyon <email@hidden>)
 >Re: Cannot open "On My Mac" mailboxes (From: Christopher Stone <email@hidden>)
 >Re: Cannot open "On My Mac" mailboxes (From: Tom Lyon <email@hidden>)

  • Prev by Date: Re: Gui script for Preview
  • Next by Date: Re: Cannot open "On My Mac" mailboxes
  • Previous by thread: Re: Cannot open "On My Mac" mailboxes
  • Next by thread: Re: Cannot open "On My Mac" mailboxes
  • Index(es):
    • Date
    • Thread