Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Applescript > Re: Delete msgs...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 4 Topic 1551 of 1647
Post > Topic >>

Re: Delete msgs from junk folder / data structures in apple script

by has <has.temp3@[EMAIL PROTECTED] > Jan 13, 2008 at 02:03 PM

On 13 Jan, 14:05, Achim Domma <do...@[EMAIL PROTECTED]
> wrote:
> On 29 Dez. 2007, 14:21, has <has.te...@[EMAIL PROTECTED]
> wrote:
>
> > Doesn't have one. There are various workarounds/solutions to this, but
> > since you already know Python the easiest thing would just be to use
> > that. Example:
>
> Thanks a lot! This works like a charm andappscriptlooks much better
> to me than apple script. Is there an easy way to start this script
> automatically from within mail? For example via a button click or each
> time there are new items in the spam folder?

Mail rules have an option to trigger AppleScripts on incoming mail
which works with any compiled OSA script. There's a developer release
of PyOSA on the appscript site which is fairly usable with care (usual
caveats apply, of course). Do***entation's thin, but there's a basic
Mail rule example script included.

There's also some third-party gizmo that lets you activate Mail rules
with a key-press, although I forget the name.

Alternatively, you could activate the system-wide script menu (/
Applications/AppleScript/AppleScript Utility.app) which works with
shell scripts as well as AppleScripts and chuck your existing .py
script into ~/Libraries/Scripts

HTH

has
--
http://appscript.sourceforge.net
http://rb-appscript.rubyforge.org
 




 4 Posts in Topic:
Delete msgs from junk folder / data structures in apple script
Achim Domma <domma@[EM  2007-12-27 10:40:12 
Re: Delete msgs from junk folder / data structures in apple scri
has <has.temp3@[EMAIL   2007-12-29 05:21:46 
Re: Delete msgs from junk folder / data structures in apple scri
Achim Domma <domma@[EM  2008-01-13 06:05:45 
Re: Delete msgs from junk folder / data structures in apple scri
has <has.temp3@[EMAIL   2008-01-13 14:03:18 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 19:17:51 CDT 2008.