• 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 Editor problem in 10.2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Script Editor problem in 10.2


  • Subject: Re: Script Editor problem in 10.2
  • From: John Delacour <email@hidden>
  • Date: Sun, 8 Sep 2002 22:58:56 +0100

At 1:59 pm -0700 8/9/02, Cornwall wrote:

Paul Berkowitz and John Delacour responded with some reasonable suggestions, and I have done some more testing.

Scenario: The clipboard contains one line of styled text. The script is called from Eudora's Scripts menu.

Saved as a "compiled" (little c) script from Script Editor.

set barb to the clipboard
display dialog barb
-->crashes Eudora or no result

No result here, but no crash either. Mind you I'm using the latest alpha of Eudora, though I doubt if that makes any difference. Eudora never crashes for me.

This works from the Eudora Scripts menu however you save the file:

tell AppleScript to set barb to the clipboard
display dialog barb

and so will this:

set barb to (get the clipboard)
display dialog barb

Remember that scripts running from the menu are wrapped in a tell Eudora block even though you have not written it, so you have to respect Eudora's way of doing things; besides "the clipboard" has always been a bit of a pest even when Jon was its sole supplier.


Saved as a "Document" from Smile:

set barb to the clipboard
display dialog barb
-->"Some styled text."

Yes, but it's not some styled text; it's some plain text. Do you perhaps mean some text containing extended ASCII characters? That's not styled text.

JD
_______________________________________________
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.

  • Follow-Ups:
    • Re: Script Editor problem in 10.2
      • From: Cornwall <email@hidden>
References: 
 >Re: Script Editor problem in 10.2 (From: Paul Berkowitz <email@hidden>)
 >Re: Script Editor problem in 10.2 (From: Cornwall <email@hidden>)

  • Prev by Date: Re: Script Editor problem in 10.2
  • Next by Date: Re: Using Quark Dictionary Words in a List
  • Previous by thread: Re: Script Editor problem in 10.2
  • Next by thread: Re: Script Editor problem in 10.2
  • Index(es):
    • Date
    • Thread