I am trying to accomplish something different, but I do have an Apple Script someone helped me write which prompts an end user for input. Though, it would be of my opinion to have zero user interaction and have it all automated. Can you give me an example of where this profile is stored and generated?
Anyway, here is the Apple Script to get a user to prompt to input text:
-- get the input information for the script set theName to text returned of (display dialog "Enter a base name for the images" default answer "ScreenImage" buttons {"Cancel", "Continue"} default button 2 with icon note) set imageFolderPath to choose folder with prompt "Please choose the folder where you want the images saved." set posix_imageFolderPath to POSIX path of imageFolderPath
This is an exert from my script that prompts the installer of the package to input information. Of course this is to a predefined path, so it is calling up that predefined path to input the text to.
I think there may be a better way to do what you want though.