AppleScript in a Run Script Build Phase & User Interaction
AppleScript in a Run Script Build Phase & User Interaction
- Subject: AppleScript in a Run Script Build Phase & User Interaction
- From: Eric Gorr <email@hidden>
- Date: Tue, 24 Nov 2009 11:20:49 -0500
I have an AppleScript that I would like to have executed during a Run Script build phase. This AppleScript contains the line:
set dialogResult to display dialog "Name to use:" default answer "MyName"
For the build phase, I am currently using /bin/sh as the shell and the script is simply:
osascript $SRCROOT/CreateUserFiles
When I run the script, I get the error message:
/Volumes/Depot/EricGsMainWS/Engineering/VectorWorks/TaskBranches/VW16/Cocoa/AppSource/CreateUserFiles:865:955: execution error: No user interaction allowed. (-1713)
Is there a way to have user interaction during a Run Script Build Phase using AppleScript?
If not, perhaps with another scripting language?
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden