How to prompt for multiple values (and verify them) from Installer?
How to prompt for multiple values (and verify them) from Installer?
- Subject: How to prompt for multiple values (and verify them) from Installer?
- From: Joseph Silverman <email@hidden>
- Date: Thu, 6 Feb 2003 08:39:37 -0800
I would like to create a Package that, when Installed, would be able to
prompt for a few numeric values in a specific range (TCP/IP port
numbers, actually) during the postflight stage of the install. These
would then be used to modify the installed files as necessary. I can
do ONE value with:
value=`osascript -e 'tell application "Installer"
display dialog "enter a number" default answer "8080"
returned text of the result
end tell' i 2>/dev/null || echo DEFAULT-ANSWER`
This doesn't verify the result is numeric or in range, which I could
readily add in shell but am not sure how to do it in AppleScript.
So, my question is, How do I do this?
Thanks - Yossie
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.