• 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: Wind Chill (corrected & full)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Wind Chill (corrected & full)


  • Subject: RE: Wind Chill (corrected & full)
  • From: Mr Tea <email@hidden>
  • Date: Fri, 1 Mar 2002 13:29:58 +0000

This from David Groover

>I pasted
>the following in my text editor, only to have the formula hang on a coma
>(the one immediately following "Cancel", "OK"}")

<snip>

>>tell application "Finder"
>>
>> display dialog "Please enter the temp in degrees Fahrenheit: "
buttons {"
>>Cancel", "OK"} ,

Never try to paste anything when you're in a coma, is my advice.

As for the comma, that was cheekily inserted into the message (by the
list server) in place of the 'option-L' character which is used to break
up long lines of script into shorter chunks.

In script editor, you can type 'option-return' to insert this character
and a return character all in one, so, select the comma and do exactly
that, then select the other comma that appears in a similar position a
few lines later and do the same.

Then the script should hum along (if you've successfully removed all the
email client-imposed line wraps, that is).

The 'option-L' character is one of several characters used in AppleScript
that the AS list is unable to reproduce. I won't go into the technical
details (because I don't know 'em - something to do with ASCII characters
on drugs, I think). The legendary Eric Grant wrote a handler for
converting problem scripts to list-frendly versions & vice versa. I'm
sure someone will pipe up with the link if you want to give it a whirl.

Mr Tea
--
"Always remember to drain the keyboard."
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >RE: Wind Chill (corrected & full) (From: David Groover <email@hidden>)

  • Prev by Date: RE: Wind Chill (corrected & full)
  • Next by Date: Re: Mathematical Expressions for Wind Chill Script
  • Previous by thread: RE: Wind Chill (corrected & full)
  • Next by thread: Re: Wind Chill (corrected & full)
  • Index(es):
    • Date
    • Thread