Re: Slow app with Fusion drive.
Re: Slow app with Fusion drive.
- Subject: Re: Slow app with Fusion drive.
- From: Paul Berkowitz <email@hidden>
- Date: Tue, 12 Mar 2013 11:42:24 -0800
- Thread-topic: Slow app with Fusion drive.
Title: Re: Slow app with Fusion drive.
On 3/11/13 7:10 PM, "Shane Stanley" <email@hidden> wrote:
But the real solution is probably to give up on the Finder. You don't need it any more: use NSFileManager and NSURL.
Shane, I hope you'll forgive me if I ask a couple naïve questions as someone who is about 5-6 years out of date. I'll soon be moving to a new iMac with OS 10.8 installed. In the meantime, I've remained in OS 10.5.8, and missed out on all the new stuff.
In the code you provide to Brian, you appear to be dealing with AppleScript as used in (Apple)Script Editor and other script editors, not in Xcode, although these two classes you refer to here – NSFileManager and NSURL – must be as accessed via AppleScriptObjC? So, although you don't say so, I thought that might mean you'd be using your own ASObjC Runner to be able to do that. But when I check your sample code on your website, all such uses require a 'tell application ASObjCRunner"' block somewhere, which your code for Brian doesn't. These classes appear to be available as part of 'current application's, whatever current application turns out to be, so as part of general AppleScript terminology somehow.
Could you please fill in the missing bits for me, or direct me somewhere where I can read about it? Don't worry, if I have any time to delve into this once I get my new iMac, I'll get your book for sure, but in the meantime I'm curious just to know where this terminology is coming from, and how to access it. And is it available as of OS 10.6, or only a later OS than that?
--
Paul Berkowitz
_______________________________________________
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