Remotely activating an application with an email?

What it says on the label. Is there a way to tell applescript to activate a program when my inbox gets an email from a specific address?
I'm trying to find a way to start an applescript program remotely, from a droid phone. Any ideas? I'm pretty new to programming, any help is much appreciated.
Thanks!

Here's an AppleScript you can use. Just change "TextEdit" to whatever app you need to open.
using terms from application "Mail"
          on perform mail action with messages theMessages for rule theRule
                    tell application "Mail"
                              repeat with eachMessage in theMessages
  activate application "TextEdit"
                              end repeat
                    end tell
          end perform mail action with messages
end using terms from
You can still have Mail perform more actions (you're unclear as to what those are. My guess: deleting the message? If so, just set the rule to Run AppleScript—make sure that script is saved in your ~/Library/Application Scripts/com.apple.mail/ folder—and then set it to also delete the message).
If you need the AppleScript itself to perform more actions, just include them after "end tell".
Good luck!

Similar Messages

  • N8: No active sync (PUSH) with my email accounts !...

    Hello all,
    I love my new N8 but I'm having a problem with my emails and I'm getting really frustrated about it. I saw a couple of topics about similar issues but none of them solves my problem.
    I setup my hotmail email account, everything works fine but there's no active sync between the phone and hotmail. If I set synchronisation to "soonest" (which I can only assume is active sync or PUSH), nothing happens. It only syncs when I turn the device on. If I set it up to 15mn, it works ok but I'd expect a phone like the N8 to support active sync.
    Then I thought it was maybe a compatibility problem with hotmail, so I tried it with my Ovi email but it has the same problem. No push email. I have to sync manually or set it up for syncing every 15mn.
    Reading topics with similar issues on the forum, I tried then to setup my hotmail account as a MfE account, but that was a epic failure.
    I try then to setup my account without accepting the terms of conditions, but then I can only sync every 5mn or manually, and emails I've read on my phone still show as unread on internet.
    I've tried every possible settings now and I'm getting quite frustrated. What am I doing wrong? Should it not work straight away without having to fiddle with the settings?
    I believe other people have the same problem as I've read topics about it but for GMAIL. Nothing on Hotmail though.
    I know it isn't a massive issue but I expect my brand new Nokia N8 to sync my emails as they arrive. Even my old BlackBerry Curve worked better for that, even though the BBs are not user friendly.
    Please help !
    Thanks

    I'm on Orange UK.
    I previously used the downloadable "Nokia Messaging" client when I had a N97mini until the trial expired.  After the trial expired the "Nokia Messaging" service did not work at all (soonest or polling).
    I think the N8 is a bit different.  The underlying tech is obviously "Nokia Messaging"  and the polling setting does work.  Maybe they are deliberately blocking "soonest" from working unless people sign up to extra email plans.  It's the complete lack of information that annoys me. 
    If they said "soonest" requires a plan, then fine but you get no info at all, it just lets you select it then refuses to work.
    Of course it may be that there is no conspiracy, just a broken email service with no end user support.

  • Can't update applications with new email address

    I changed the email address on my wife's itunes account to her current email.  The old email address on the account is no longer active.  Now when she goes to update her applications on her iPhone, it brings up her old email address and won't update anything.  Is there a way to fix this so that she can update all her stuff?

    You can try contacting Apple.  The apps and updates to them are tied to the account that purchased them and Apple says that they can't merge accounts.
    There are two ways to reset the password.  You said why the email verification will not work.  What about the security question?
    Apple - Support - iTunes Store - Contact Us

  • Need help with using Email Activation Agent

    Hi,
    please, help me with using E-mail Activation Agent.
    I used email activation agent to start business processes by email, but after that letter disappear from email-server.
    Where letter was located?
    Can I get and read letter for processing?

    Mail/Preferences/General - do you have Unibox set as your default e-mail application?

  • From my iPad I can print wirelessly in my office, but how do I print remotely via the web through my HP ePrint printer.  It is set up with an email address but i don't know how to access it from my iPad.

    I can print wirelessly in my office from my iPad, but how do I print remotely via the web to my HP ePrint printer.  The printer is set up with an email access address but I don't know how to access it from my iPad.

    Read through this for some information on how to do this:
    http://www8.hp.com/us/en/support-topics/mobile-printing/how-to-print-mobile-devi ces-ipad-iphone.html

  • A lost my remote control for apple tv. I want to use my phone as a remote but the applications can' pair with the Apple TV device , how can I pair them without remote?

    A lost my remote control for apple tv. I want to use my phone as a remote but the applications can' pair with the Apple TV device , how can I pair them without remote?

    Setup for remote app: http://support.apple.com/kb/ht1947
    Specifically:
    Set up Apple TV (2nd and 3rd generation)
    On Apple TV, select Settings from the main menu.
    Select General > Remotes > Remote App. If Home Sharing isn't set up on your Apple TV, you should turn it on.
    Apple TV (2nd and 3rd generation) uses Home Sharing to stream content from your iTunes library on your computer to your HDTV.  If  you connect your Apple TV to your iTunes library using  Home  Sharing, you can use Remote to browse and play content from any  iTunes library in the Computers   section of your Apple TV. You can also  use Remote to select  between available speakers to enhance  your  audio and video experience.

  • I would like to have an email account that is password-protected that I can access on my Mac, Iphone and Ipad, separate from the Mail application, with an alert button that indicates unread messages

    I would like to have an email account that is password-protected that I can access on my Mac, Iphone and Ipad, separate from the Mail application, with an alert button that indicates unread messages

    Try a search... I'm sure if you put forth a little effort you can find a solution that will work for you.

  • Can Microsoft active directory integrated with Oracle Applications

    Hi,
    Can anyone provide me any document on Microsoft Active Directory Integration with Oracle Applications(12.0.6)
    Manish

    Hi,
    It is possible, please refer to the following documents for details.
    Note: 376811.1 - Integrating Oracle E-Business Suite Release 12 with Oracle Internet Directory and Oracle Single Sign-On
    Note: 415007.1 - Oracle Application Server with Oracle E-Business Suite Release 12 FAQ
    Regards,
    Hussein

  • Building Flex Application with Flex Builder installed in a remote server

    Building Flex Application with Flex Builder installed in a remote server and different developers accessing it via VNC etc
    I have a requirement as below..........this is mainly to look for a solution where we can see a environment.............where we can stop developer to install flex builder locally, download/check out code locally and work locally ..............Please have a look ........
    1. There is Remote Server hosting our source code say 1st Remote Server
    2. There is another 2nd Remote Server which support workspace for each user
    3. Flex Builder installed in the 2nd Remote Server
    4. Each Developer connects to the 2nd Remote Server via VNC etc log in to their workspace
    5. Each developer check out code in their workspace by connecting to 1st Remote Server.
    6. Start Flex Builder instance which is running in the 2nd Remote Server
    5. Each developer open source code modifies, build application in their workspace and check
    Do anyone have any idea whether this kind of environment is possible in Flex or can anyone suggest something which is almost close to this ? I heard Cloud Computing is something that world is looking to represent this kind of solution .............not sure though

    Hi
    The concept of cloud computing is not even very clear to me
    I think this is what I understood about it ...........from this link http://communication.howstuffworks.com/cloud-computing.htm
    It says
    "Instead of installing a suite of software for each computer, you'd only have to load one application. That application would allow workers to log into a Web-based service which hosts all the programs the user would need for his or her job. Remote machines owned by another company would run everything from e-mail to word processing to complex data analysis programs. It's called cloud computing, and it could change the entire computer industry"
    "There's a good chance you've already used some form of cloud computing. If you have an e-mail account with a Web-based e-mail service like Hotmail, Yahoo! Mail or Gmail, then you've had some experience with cloud computing. Instead of running an e-mail program on your computer, you log in to a Web e-mail account remotely"
    My issue is not with the license. The solution that I am looking for is
    1. Don't want the developer to download the source code in any fashion either checked out or anything else in the local machine
    2. Want the developer to work directly on the server
    3. Looking for a solution where each developer is not required to install Flex Builder locally and the developer can use Flex Builder that is installed on the server and in his workspace and create/modify build on the server itself
    Hope I could make you understand this time ................
    Regards
    Biswamit

  • I can't run activity monitor application. It just processes with the multicolored disc spinning, but does not open.

    I can't run activity monitor application. It just processes with the multicolored disc spinning, but does not open.  It also won't close without using "Force Quit." When I access it in Force Quit it's listed as not responding. I am getting the messase that my start-up disc is full, but I can't assess the status without using the activity monitor app. Thanks for any assistance you can give. -F.J.

    Welcome to Apple Support Communities
    If your hard drive is full, you have to delete files. Open Finder, search in all your user's folders and delete files that you don't need, or move them to an external drive.
    When the hard drive is full, OS X works slow and applications may freeze, so I wouldn't be surprised if this is the reason why Activity Monitor isn't working

  • TS4268 I'm trying to activate my iMessage & FaceTime with an email on my iPhone 4 , but it keeps saying "waiting for activation.." . So how do I activate it so it can work ?

    I'm trying to activate my iMessage & FaceTime with an email on my iPhone 4 , but it keeps saying “waiting for activation..” . So how do I activate it so it can work ?

    Yes, I know. But at one point in activating FaceTime or iMessage you will need to be able to send a text message. If you can't, there will be no activation.
    Check your device settings
    Make sure that you’re connected to a cellular data or Wi-Fi network. If you're using an iPhone, you'll need SMS messaging to activate your phone number with iMessage and FaceTime. Depending on your carrier, you might be charged for this SMS.
    copied from If you get an error when trying to activate iMessage or FaceTime - Apple Support

  • Create an planning application with trimesters active.

    Hi All
    How to use a planning application with trimesters active in 11.1.2.1 with 12 months included. Is ther any way to create an application with trimesters active ?
    Many Thanks

    Create the application with a custom periods, then add the trimesters into the period dimension once the application has been created.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • I have restored my ipad mini and it has an activation with a email i dont use cause its fake and i dont know the password and it wont let me activate it till i sign it in how do i take it off my ipad

    i have a random email for my activation email and i dont know the password and it wont let me active it unless i sign in with that email and password how do i change it so that doesnt pop up or till it doesnt ask for it

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • Adobe Activation error I bought a used CS2 application with serial numbers: it loads fine and works, but I cannot activate it and it will run out in 26 days. I bought it on ebat for 40 dollars. I am willing to pay a royalty fee. In 2006, or so, I bought a

    Adobe Activation error I bought a used CS2 application with serial numbers: it loads fine and works, but I cannot activate it and it will run out in 26 days. I bought it on ebat for 40 dollars. I am willing to pay a royalty fee. In 2006, or so, I bought a student version of CS2 at the College bookstore legally and registered it and it is still running on my 2002 eMac, but my Mac cannot communicate with my wireless printer I just got. So I looked for a copy of CS2 to put on my second hand IBM PC.

    Error: Activation Server Unavailable | CS2, Acrobat 7, Audition 3

  • Business Content Installation with Remote Activation

    Hi
       During Business Content Installation, BI system attempts to do Remote Activation in the Source System
      But in my case, it's searching for the datasources in the ERP source system instead of the CRM system
      How do I get the Business Content to look into the right CRM system
      Also, do I have to manually build the transfer rules of InfoSource to DataSource ? At the moment, I don`t have InfoSource automatically mapped to DataSource

    Hi, before collecting the datasource to the right you have to select the source system by one of the following ways:
    1) press Shift F7
    2) click on the source system icon on top
    3) goto menu Edit->Source system assignment
    About your secod question check if the BI content already has a mapping defined if not you have to manually create the mapping.
    Best Regards,
    Brindha.

Maybe you are looking for

  • Keyboard Yoga 3 pro doesnt work

    hi friday i receive my yoga 3 pro. On Saturday i start to configure it. and start to install the windows updates. after many restarts the updates were finished. then i want to start to install my programs, but the keyboard didnt work. and the noteboo

  • Why do I get a ClassCastException?

    Hello! I'm playing around with hibernate, axis2 and Weblogic 8.1.6 and I got I really tricky problem. My Weblogic 8.1.6 got consist of 3 servers. 1 Adminserver (myserver) 1 Managedserver (ejbserver) 1 Managedserver (webserviceserver) My play_around_e

  • No free upgrade for Logic 7 purchased 2 weeks ago (august 27)

    I purchased Logic Express 7 on August 27 (16 days ago). I just contacted the apple store via online chat, and here is the transcript. I'm feeling seriously ripped off at the moment. * You are chatting with Caissa, an Apple Expert Hi, my name is Caiss

  • SQL prob

    sorry to ask this question here. how to compare a TEXT field in procedure??

  • Error in C  Compile

    Hi, I am getting this error in the code when I am compiling with these options : "/export/home/vk/inc/asn/AbstractValue.h", line 122: Error: ")" expected instead of ";". "/export/home/vk/inc/asn/AbstractValue.h", line 122: Error: "}" expected instead