| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Nov 16, 2005, at 10:28 PM, Dmitry Markman wrote:
Steps 4 and 5 shouldn't be necessary. It appears that you've found a bug, however, where adding a file reference to a project via "path" instead of "full path" doesn't set the file kind appropriately until you close and re-open the project. You're actually specifying both a full path and a path, which is redundant; whichever you list last will be used, and since you list path last, path is used instead of full path. If you make your new file reference and specify just the full path, the file kind will be set to sourcecode.cpp.cpp (for files ending in .cpp) without needing to close and re-open the project. So replace your line:
With something like this: set new_file to make new file reference with properties {name:file_name, file encoding:macos roman, full path:full_file_path} - Rick |
_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/xcode-users/email@hidden This email sent to email@hidden
| References: | |
| >adding file reference via applescript (From: Dmitry Markman <email@hidden>) | |
| >Re: adding file reference via applescript (From: Rick Ballard <email@hidden>) | |
| >Re: adding file reference via applescript (From: Dmitry Markman <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.