• 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: script differences ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: script differences ?


  • Subject: Re: script differences ?
  • From: Jean-Christophe Helary <email@hidden>
  • Date: Sun, 11 Oct 2015 22:34:16 +0900

Thank you Yvan for the reply (and Shane too).

On Oct 11, 2015, at 22:03, Yvan KOENIG <email@hidden> wrote:

#2 I don't see any reason to speak to System Events.

I would code :

display dialog "Create a new reminder" default answer "" buttons {"Cancel", "Create"} default button 2 cancel button 1 giving up after 20 with icon path to resource "Reminders.icns" in bundle (path to application "Reminders")
set reminTitle to text returned of result
tell application "Reminders"
set newremin to make new reminder with properties {name:reminTitle}
end tell

In such a case (where the script ends there), is there any necessity to create a newremin that won't be used in the rest of the script ?

Jean-Christophe 
 _______________________________________________
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

  • Follow-Ups:
    • Re: script differences ?
      • From: Yvan KOENIG <email@hidden>
References: 
 >script differences ? (From: Jean-Christophe Helary <email@hidden>)

  • Prev by Date: Rép: script differences ?
  • Next by Date: Re: script differences ?
  • Previous by thread: Re: script differences ?
  • Next by thread: Re: script differences ?
  • Index(es):
    • Date
    • Thread