• 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: Delivery Status Notification (Delay)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Delivery Status Notification (Delay)


  • Subject: Re: Delivery Status Notification (Delay)
  • From: Deivy Petrescu <email@hidden>
  • Date: Thu, 21 Oct 2010 13:45:33 -0400

On Oct 21, 2010, at 9:28 AM, Robert Poland wrote:

> Thanks Brian,
>
> But the question was directed to Smile not Script Editor.
>
>
> On Oct 21, 2010, at 7:21 AM, Brian Christmas wrote:
>
>> G'day Robert
>>
>> Works fine for me, using 10.6.4 and the 'run' button in script editor
>>
>> Regards
>>
>> Santa
>>
>> global a
>> set a to (short date string of (current date))
>> my thisTime()
>>
>> on thisTime()
>> 	display dialog a
>> end thisTime


Bob,
It works as expected in Smile.
It will not work in  Smile's terminal because of the way Smile's  terminal is set.
Each line can be run independently.

If you run the script you posted in Smile's terminal the way you posted it, you will get an error,  "thisTime() blah blah"
This because thisTime() is called before being defined.

So if you run

on thisTime()
	display dialog a
end thisTime

before the script, then it kinds of get dissociated from the script and it will not know that a and a are the same a.... :)
You can run in Script mode however.



Deivy Petrescu
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

  • Follow-Ups:
    • Re: Delivery Status Notification (Delay)
      • From: Robert Poland <email@hidden>
References: 
 >Fwd: Delivery Status Notification (Delay) (From: Robert Poland <email@hidden>)
 >Re: Delivery Status Notification (Delay) (From: Brian Christmas <email@hidden>)
 >Re: Delivery Status Notification (Delay) (From: Robert Poland <email@hidden>)

  • Prev by Date: Re: Changing "open with" (Mac Finder) for certain files
  • Next by Date: Re: Delivery Status Notification (Delay)
  • Previous by thread: Re: Delivery Status Notification (Delay)
  • Next by thread: Re: Delivery Status Notification (Delay)
  • Index(es):
    • Date
    • Thread