• 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: Email Archiver script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Email Archiver script


  • Subject: Re: Email Archiver script
  • From: Michelle Steiner <email@hidden>
  • Date: Thu, 14 Oct 2004 16:57:21 -0700


On Oct 14, 2004, at 2:10 PM, Ron Rosson wrote:

The Below script is from the Email archiver readme file... When I run it stand
alone it errors with the open alias line saying it can not find the file.


tell application "Email Archiver"
activate
open alias "HardDisk:Users:ron:Documents:configs:EmailArchive.arconf"

Are you absolutely sure that's the path and the file name?

To assure that you have the correct path to the documents folder, use this:

Open alias (path to documents) as text & "configs:emailArchive.arconf:"

To be absolutely sure you have the correct path to the file, try this:

make the first line of your script to be
property fullPath: missing value

the next line will be
if fullPath is missing value then set fullPath to item 1 of (choose file)


Then in the script instead of spelling out the path name use this:

Open fullPath

--
"The past is like a foreign country. They do things differently there." --Leslie Poles Hartley


_______________________________________________
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


References: 
 >Email Archiver script (From: Ron Rosson <email@hidden>)

  • Prev by Date: Re: [Admin] Re: Real cool device
  • Next by Date: Re: [Admin] Re: Real cool device
  • Previous by thread: Email Archiver script
  • Next by thread: How to find network computers, use Rendezvous?
  • Index(es):
    • Date
    • Thread