Re: Convert HTML Text to Plain Text
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