• 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: Can´t move mail message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can´t move mail message


  • Subject: Re: Can´t move mail message
  • From: Michelle Steiner <email@hidden>
  • Date: Sun, 23 Jan 2005 19:00:03 -0700

On Jan 23, 2005, at 6:42 PM, Juan Pablo Garcia wrote:

if I replace the s variable in the code down here with a mailbox name it works, but getting the mailbox as a parameter doesn´t.

to check things, I invoke a display dialog with the s variable and it works. I don ´t understand why the string is there for the display dialog, but it gets "lost" somewhere for the move command.

I´m invoking this applescript code from a RealBasic Application.-



on run {s}
	tell application "Mail"
		move selection to mailbox {s}
	end tell
end run

We need more information; how do you get s in the first place? Why is s in braces?


--
Windows was always a mystery to me; the biggest mystery being "Why does anyone want to use this?"


_______________________________________________
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: 
 >Can´t move mail message (From: Juan Pablo Garcia <email@hidden>)

  • Prev by Date: Can´t move mail message
  • Next by Date: Re: Can ´ t move mail message
  • Previous by thread: Can´t move mail message
  • Next by thread: Re: Can ´ t move mail message
  • Index(es):
    • Date
    • Thread