Whu wont this GUI script Click the Go Button to change the folder path

Could someone please tell me why this script refuses to click go?
If I use a keystroke it just types “Return” after the path which it typed in from the variable.

CODE:

try
set the this_folder to (choose folder with prompt “Please select the folder which contains the Indesign files to convert”)
on error
set the this_folder to path to desktop as alias
end try
try
set the open_folder to the POSIX path of this_folder
end try

tell application “QuarkXPress”
activate
end tell
delay 2
try
tell application “System Events”
tell process “QuarkXPress”
keystroke “Return”
tell application “QuicKeys”
play shortcut named “ID2Q Open”
quit
end tell
repeat until exists window “Convert InDesign® Document”
delay 0.5
end repeat
keystroke “G” using {command down, shift down}
delay 1
tell sheet 1
keystroke open_folder
end tell
delay 0.5
tell sheet 1
click button “Go”
end tell
end tell
end tell
end try

MANY THANKS

keystroke "Return"

You have return in quotes. It thinks you want to enter the keystrokes R-e-t-u-r-n

You want:

keystroke Return

or

key code 36

or

key code 76 --if you want the enter key as opposed to the return key

thanks mate worked a treat!