I created a new script as the instructions showed. I then took your message prompt tutorial and copied it Verbatim to a new script in the Myscript section that Scriptographer created.
When I run your code that is installed in the standard Scriptographer folders, it works fine.
However, after I copied and pasted the same exact code into a new script, I get the following error.
illegal character at Scriptographer\Line.js:1
I've only come across this question about 3 times in your help section, but no answer. I'm using CS5 and Windows 7 32bit.
Here's the code:
// First we define the dialog components
var components = {
firstName: { type: 'string', label: 'First Name' },
lastName: { type: 'string', label: 'Last Name' },
email: { type: 'string', label: 'Email Address' }
};
// Now we bring up the dialog
var values = Dialog.prompt('Please Enter Your Contact Details', components);
if (values) {
// Results were returned, so let's say hello to the user:
Dialog.alert('Hello ' + values.firstName + ' ' + values.lastName
+ ', your email address is: ' + values.email);
}