• 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: Convert HTML Text to Plain Text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Convert HTML Text to Plain Text


  • Subject: Re: Convert HTML Text to Plain Text
  • From: Shane Stanley <email@hidden>
  • Date: Thu, 30 Jun 2016 12:01:54 +1000

On 30 Jun 2016, at 11:47 AM, Jim Underwood <email@hidden> wrote:
>
> So it looks like use of the property statements might be a good thing to put in a template for ASObjC scripts, right?

You're using Script Debugger 6, so there's no need -- code completion can add them as you use them. And as you're using SD6, you most assuredly should be using code completion for all this stuff.
>
> In a script library, can I put those property statements at the top of the script file, and then refer to them in the handlers below?

Yes, but again, let SD do it for you. If you have code that includes "current application's" in-line and you want to convert it, compile, select the section of code in question, then choose Edit -> AppleScriptObjC -> Migrate to Properties in Selection. It will all be done for you (provided you used the "current application's" form).

--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>


 _______________________________________________
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: 
 >Convert HTML Text to Plain Text (From: Jim Underwood <email@hidden>)
 >Re: Convert HTML Text to Plain Text (From: Shane Stanley <email@hidden>)
 >Re: Convert HTML Text to Plain Text (From: Jim Underwood <email@hidden>)
 >Re: Convert HTML Text to Plain Text (From: Shane Stanley <email@hidden>)
 >Re: Convert HTML Text to Plain Text (From: Jim Underwood <email@hidden>)

  • Prev by Date: Re: Convert HTML Text to Plain Text
  • Next by Date: Flag Sent mail in Apple Mail
  • Previous by thread: Re: Convert HTML Text to Plain Text
  • Next by thread: PDF vs. HTML documentation
  • Index(es):
    • Date
    • Thread