Error "Can't continue run"

Please help: The code segment

tell application "Leopard:Library:Scripts:iWork Numbers DG:gotoCell DG.app"
	launch
	run parameterizedCall("Imported AppleWorks Data:: History:: A4")
end tell -- goCell

completes but then hangs with message “Can’t complete run”.

When the app gotoCell is run stand-alone, the error does not occur.

Try removing “run”. For example if I create this application called “AnApp.app”…

on displayDialog(theText)
	tell me
		activate
		display dialog theText
	end tell
end displayDialog

Then from another script I run this and it works fine…

set anApp to (path to desktop folder as text) & "AnApp.app"

tell application anApp
	launch
	displayDialog("anApp")
end tell

If I run this I get an error…

set anApp to (path to desktop folder as text) & "AnApp.app"

tell application anApp
	launch
	run displayDialog("anApp")
end tell

Many thanks!
I had an improper “tell application” encompassing the statements, and that (apparently) caused the script to fail without the “run” command. With the “run” command, it performed the basic function before hanging.
Your illustration of what works led me to find the root cause of the problem.
DaleGaumer@ieee.org

Glad to hear it helped Dale. That’s why I gave you an example because it breaks everything down to the most basic components so you can see what should work. Anyway, good luck!