Problem building AppleScript Application

When i build my script into an Application and then run the newly built app I get an error which states:

Anyone know what this means? Thanks.

We’ll need more info Jim. Does the script run from the Script Editor? Maybe you can post the code so that we can see what is happening. I couldn’t find an error code for -1344.

That’s what i mean, I’m building the script as an application from the script editor, not a compiled script which would require the script editor to run.

The script itself is very basic:

tell application "Terminal"
	do shell script "/Applications/FibreShare/installFSLogInItem.command"
	set clientdialog to display dialog "Enter Admn Password " default answer ""
	
	do shell script "sudo chmod 4755 /Applications/FibreShare/FibreShareBKLaunchApp.app/Contents/MacOS/FibreShareBKLaunchApp"
	set password to text returned of clientdialog
	
	do shell script "rm /Applications/FibreShare/installFSLogInItem.command"
	do shell script "touch /System/Library/Extensions"
end tell

What I am trying to do is use this script in a software installer (Stuffit InstallerMaker), so Ineed the script to run as an application, not running through script editor. Your help is greatly appreciated.

I think when sending commands to the Terminal, you don’t include “shell” in the command. Try:

tell application "Terminal"
do script "/Applications/FibreShare/installFSLogInItem.command"
end tell

Instead of:

tell application "Terminal"
do shell script "/Applications/FibreShare/installFSLogInItem.command"
end tell