| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
I wrote a simple script to back up one folder to another after reading an article in MACTECH magazine on how to make a GUI for your scripts (yes I am a newbie to Xcode). After I build the application and run it, I get an error message that reads "The variable setup is not defined. (2753)" Does anyone have any idea how I can correct this issue? I have spent two days trying to figure this out. Below is the code that I am using. Any help would be much appreciated. on clicked theObject -setup set myPath to POSIX path of (path to me) as string do shell script quoted form of myPath & "Contents/Resources/backup.sh" end clicked I also tried this code as well with the same results: on clicked theObject -setup set myPath to POSIX path of (path to me) set myPath to (myPath & "Contents/Resources/backup.sh") set myPath to quoted form of myPath set command to "Contents/Resources/backup.sh" end clicked |
_______________________________________________ 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
| 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.