RE: Wind Chill (corrected & full)
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.