Default answer text insertion point

Hi all, thought you might be able to help me with what should be a simple question. In the example below, the default answer text “PFG_” is preselected in the dialog box presented to the user so that any typing replaces it. I would rather have it presented as “PFG_” with a text insertion point at the end of the default text so that the user can immediately begin typing addition characters without replacing the default text. Is there a way to do this?

set folderExists to true
set target_folder to choose folder with prompt "                                               Select  a  Customer  Folder."
get info for result
set cust_name to name of result
display dialog "Enter PFG Number" default answer "PFG_" with icon 1
set job_num to text returned of result
set new_job to job_num

Thanks, Dan

I don’t know if this works every time:

do shell script "osascript -e 'tell application \"System Events\" to key code 124' > /dev/null 2>&1 & " -- Right arrow keystroke.
display dialog "Enter PFG Number" default answer "PFG_" with icon 1

The keystroke has to go into the buffer before the dialog’s displayed. I copied the “dev/null” stuff from another script years ago. I don’t know how it works.

Marvelous Nigel, Thanks - I never would have gotten that otherwise. -Dan (Warwick, RI, USA)