• 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: Yvan KOENIG <email@hidden>
  • Date: Sun, 11 Oct 2015 15:37:32 +0200


Le 2015/10/11 à 15:34, Jean-Christophe Helary <email@hidden> a écrit :

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 

No need to create the variable.
In fact I forgot to remove that when I, posted directly to your mailbox but the one sent to the  list doesn't contain it.

Yvan KOENIG (VALLAURIS, France) dimanche 11 octobre 2015 15:37:22


 _______________________________________________
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

References: 
 >script differences ? (From: Jean-Christophe Helary <email@hidden>)
 >Re: script differences ? (From: Jean-Christophe Helary <email@hidden>)

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