Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode broke my script



On 03.12.27 5:12 AM, "Paul Berkowitz" <email@hidden> wrote:

> On 12/26/03 2:58 AM, "Takaaki Naganoya" <email@hidden> wrote:
>
>> I am on the way to switch from ProjectBuilder to Xcode.
>>
>> But I found that Xcode broke my script.

>> Xcode changes "file type" to "file kind" when I compiled it.
>>
>> Project Builder never change like this.
>>
>> I think it is a bug.
>
> NONE of your statements should be in a Finder tell block. What's any of have
> to do with the Finder?

Thank you for your suggestion. I had already rewrote my script to avoid this
probrem.


> Both 'info for' and the Finder have a 'file type' property. In OS 10.3,
> there are problems with using the Finder's 'file' object with a file path -
> it seems to be some sort of Finder bug. It's best avoided. The Finder
> understands the 'alias' keyword with filepaths and will coerce to Finder
> file and folder objects just fine. But it seems to get confused now with
> 'file filePath' - it only like its own 'file' object in constructions such
> as 'file a of folder b of folder c of folder d of disk e".
>
> Until that bug is fixed, avoid 'file' in a Finder block - or just avoid
> Finder blocks when you don't need them.

Yes. I think so, too.

But the most important point is--ProjectBuilder and Xcode acts different
even if they work on Panther. ProjectBuilder did not rewrote the script and
works well.

I have a little hesitate to switch to Xcode from ProjectBuilder.
There sould be some *traps* like this matter :-).

Will you tell me the opinion about switching to Xcode ?
For AppleScript Studio users, it seems to be a few merit to switch.


--
Takaaki Naganoya
Director
Newt On Division/EIG K.K.
http://eig.jp/kotodama/
ichat: email@hidden
_______________________________________________
applescript-studio mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-studio
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Xcode broke my script (From: Paul Berkowitz <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.