David,

Just to make sure:
- When you double-click the URL on your desktop (the one you dragged from
the Mailplane icon): Mailplane activates and opens the linked conversation.
- When you click the "Link" inside Nozbe: Mailplane activates but doesn't
open the conversation.

Correct?

BTW: The AppleScript you posted composes a new message, but doesn't open the
URL. To open the URL, use the 'open location "mailplane://..." command.


On Thu, Apr 28, 2011 at 9:09 PM, David Simmons <[email protected]> wrote:

> Ruben, Thanks!
>
> Yes, the link on the desktop works.  Here's the applescript as I have
> modified it:
>
> (*
>
> Script to forward email to nozbe
>
> Originally by Mark Anning (thanks!)
>
> Modified and enhanced by Michael Sliwinski
>
> http://www.nozbe.com/
>
>
> Installation: Copy to your home directory/Libary/Scripts and launch using
> Scripts Menu in Menubar
>
> or use the Automator.app to create a service:
>
> 1. Open Automator.app and "New Service"
>
> 2. Choose "Run AppleScript" action
>
> 3. Mark that service receives "no input" in "Mail.app"
>
> 4. Clear the script template there and paste this script
>
> 5. Save and give it a name like: "Nozbe - Email to Action"
>
> 6. (optional & recommended) Go to "System Preferences" and "Keyboard" and
> "Keyboard Shortcuts" and "Services" and scroll down to find this service and
> give it a shortcut. I gave it Shift+Option+N and it works great :-)
>
> Enjoy!
>
> *)
>
>
>
> *repeat*
>
> *set* theResult *to* *display dialog* "What is the action for this
> message?" default answer "Example: Send Followup #Inbox @Mail"
>
> *set* theName *to* text returned *of* theResult
>
> *if* (theName *does not* *start with* "Example:") *then*
>
>  *exit* *repeat*
>
> *end* *if*
>
> *end* *repeat*
>
>
> -- Your Nozbe email address
>
> *set* nozbe *to* "[email protected]"
>
>
> *tell* *application* "Mailplane"
>
> *set* urlText *to* currentURL
>
> *end* *tell*
>
>
> *tell* *application* "Mailplane"
>
> *set* urlsubject *to* currentTitle *as* *Unicode text*
>
> *set* urlcontent *to* currentMessageText
>
> *set* m *to* *make* new *outgoing message* with properties {directlySend:
> false, optimizeAttachments:true}
>
> *tell* m
>
>  *set* r *to* *make* new *to recipient* at *end*
>
>  *tell* r
>
>  *set* address *to* nozbe
>
>  *end* *tell*
>
>  *set* subject *to* urlsubject
>
>  *set* content *to* "\"Link\":" & urlText & return & return & urlcontent
>
> *end* *tell*
>
> *compose* m
>
> *end* *tell*
>
> *
> *
>
> *It results in this e-mail message: *
>
>
> <https://lh4.googleusercontent.com/_h26XXurraPs/Tbm68AU2VeI/AAAAAAAAAAw/SFPAIXZZZeA/Screen%20shot%202011-04-28%20at%202.05.36%20PM.jpg>
>
> Which results in this Nozbe action:
>
>
> <https://lh6.googleusercontent.com/_h26XXurraPs/Tbm7EllOsTI/AAAAAAAAAA4/s33G71qwY9I/Screen%20shot%202011-04-28%20at%202.06.41%20PM.jpg>
>
> When the "Link" is clicked, MailPlane is activated, but it does not go to
> the message.
>
>
>
> *
> *
>
> --
> You received this message because you are subscribed to the Google Groups
> "mailplaneapp" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/mailplaneapp?hl=en.
>

 Ruben Bakker // uncomplex gmbh // Switzerland // mailplaneapp.com //
repliesapp.com // twitter <http://www.twitter.com/Mailplane>

-- 
You received this message because you are subscribed to the Google Groups 
"mailplaneapp" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/mailplaneapp?hl=en.

Reply via email to