• 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: Rookie - Import Mail mailbox
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rookie - Import Mail mailbox


  • Subject: Re: Rookie - Import Mail mailbox
  • From: Ylan Segal <email@hidden>
  • Date: Tue, 22 May 2007 17:05:41 -0700

On May 22, 2007, at 4:57 PM, Michelle Steiner wrote:


On May 22, 2007, at 4:05 PM, Ylan Segal wrote:

I did try changing the slash to colon, as you suggested. But still, nothing seems to happen. Any other suggestions?

Code:
tell application "Finder" to set temp to (path to home folder from user domain as text) & "Temp:ylan.mbox"
tell application "Mail" to import Mail mailbox at temp


Event log:
tell application "Finder"
	path to home folder from user domain as text
		"ylan:"
end tell
tell application "Mail"
	import Mail mailbox at "ylan:Temp:ylan.mbox"
end tell

The only thing that I can think of is that although the dictionary says you need a string, you might need an alias.


So change the first line to

tell application "Finder" to set temp to ((path to home folder from user domain as text) & "Temp:ylan.mbox") as alias

If that doesn't work, I'm out of ideas.

Still, no luck. Thanks for your help. I just don't get why it is not doing anything (visibly) but not giving an error either.


Anyone else want to chime in?

--
Ylan Segal
email@hidden
◂

_______________________________________________
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
References: 
 >Rookie - Import Mail mailbox (From: Ylan Segal <email@hidden>)
 >Re: Rookie - Import Mail mailbox (From: Michelle Steiner <email@hidden>)
 >Re: Rookie - Import Mail mailbox (From: Ylan Segal <email@hidden>)
 >Re: Rookie - Import Mail mailbox (From: Michelle Steiner <email@hidden>)
 >Re: Rookie - Import Mail mailbox (From: Ylan Segal <email@hidden>)
 >Re: Rookie - Import Mail mailbox (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: Rookie - Import Mail mailbox
  • Next by Date: Re: Rookie - Import Mail mailbox
  • Previous by thread: Re: Rookie - Import Mail mailbox
  • Next by thread: Re: Rookie - Import Mail mailbox
  • Index(es):
    • Date
    • Thread