• 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: Happy New Year! - Filemaker Applescript email help needed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Happy New Year! - Filemaker Applescript email help needed


  • Subject: Re: Happy New Year! - Filemaker Applescript email help needed
  • From: Damon Casey <email@hidden>
  • Date: Wed, 04 Jan 2012 13:10:53 +0000

Sorry, I don't know why the email went to Alan, it should have gone to the list.

Hello Dave,

Is there an option for closing all windows in Outlook? I don't have it
to hand so can't check myself. I also came across an issue where
Outlook was set to HTML emails and all the email's body (from a
FileMaker field with an auto-enter calculation) appeared on one line.
Changing the preferences to plain text emails fixed that.

Best regards,
--
Damon Casey
Automating Data Ltd.
http://www.automatingdata.co.uk/

FileMaker Certified Developer for versions 8, 9, 10 and 11.
FileMaker Business Alliance and FileMaker TechNet Member.

Registered in England no. 4840986.
Registered Address: 7 Waterstone Way, Greenhithe, Kent DA9 9TU.

On 31 December 2011 19:48, DealTek <email@hidden> wrote:
> Happy New Year,
>
> I posted this on an Filemaker site but would also love some input from here since it's all about applescript
>
> ---
>
> Hi All - I have an Filemaker script that send out many emails (sometimes hundreds) to to companies clients. Until recently the company has been using entourage 2008 on a mac. I set the email send step to UNCHECK perform without dialog - and they would all neatly accumulate in the draft box so they could be reviewed and sent when the user needed to sometime later...
>
> Now I see that some of them moved to outlook 2011 on mac and the script does still put them in the draft box but they are not in a saved state but remain open so this means hundreds of open windows. When you close and reopen outlook all extra windows get closed - but this is very messy.
>
> BTW: SAME problem with open windows happens in apple mail...
>
> So I'm looking to create an applescript that closes the active window just created by fm... So I added this applescript script step in Filemaker....
>
>
> ------
> tell application "Microsoft Outlook"
>        activate -- maybe can skip this step
> end tell
>
> tell application "System Events"
>        keystroke "w" using command down
> end tell
> ------
>
> which sort of works, but I need to add the following....
>
> Q: others may not be using outlook 2011 so how do I check if the active default mac email app is "outlook 2011"?
>
> like in fm or inside the AS...??? :
>
> if active default email app is "outlook 2011" ???
>
> then run applescript and close the window (also best to only close if it's a new email in drafts.... hmmm?)
>
> endif
>
>
> Thanks in advance and HAPPY NEW YEAR!
>
>
>
>
> --
> Thanks,
> Dave - DealTek
> email@hidden
> [db-11]
>
>
>
>  _______________________________________________
> 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
 _______________________________________________
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

  • Prev by Date: Re: Lion -- Disable fast user switching via command line and Applescript.
  • Next by Date: Re: Lion -- Disable fast user switching via command line and Applescript.
  • Previous by thread: Fwd: Lion -- Disable fast user switching via command line and Applescript.
  • Next by thread: vi to do Shell Script
  • Index(es):
    • Date
    • Thread