Qt conversion

I’ve written some script but seem to be getting stuck somewhere, can anybody point me where I am going wrong

Try to get to QT to convert using pre-saved QT export settings on files dropped onto droplet.
I one working before, but now it doesn’t seem to work. It will accept and open the file that is dropped, but then just sits there not doing anything
Script included


choose file with prompt “select file to export:”
set chosenFile to result as Unicode text
set qtes to (“Desktop:my_settings.qtes”)
set prmpt to “Export as …”
set expF to (choose file name with prompt prmpt)

tell application “QuickTime Player”
activate
close every window
open chosenFile
export chosenFile to expF as QuickTime movie using settings qtes

end tell:o

Hi,

I assume (“Desktop:my_settings.qtes”) is just a placeholder, because it must be the full path.
The type class of settings is required as file or alias

set qtes to ("Desktop:my_settings.qtes") as alias

It wasn’t have changed to full path, but still nothin??

for example


.
set qtes to ((path to desktop as text) & "QTsettings")
.
tell application "QuickTime Player"
	close every window
	open chosenFile
	export document 1 to expF as QuickTime movie using settings (qtes as alias)
end tell