Launching remote applications

I keep getting the following error message when I try to run this script:

Finder got an error: An error type of -10814 has occurred

using terms from application "Finder"
tell application "Finder" of machine "eppc://USERNAME:PASSWORD@SERVERNAME.local"
	try
		open (application file id "FMP6" as alias)
	on error errMsg
		display dialog errMsg
	end try
end tell

end using terms from

any help would be appreciated

View this post, it discusses the very issue you are trying to solve.

http://bbs.applescript.net/viewtopic.php?t=8633

jON bEEBE

Thanks, I will. The problem is that I am using Filemaker Pro 6 Unlimited, not FMP6 Pro (doh). FMP6U doesn’t appear in the list of available dictionaries so I am assuming it’s not scritable. I found a work around by writing an alias to the db I need opened and launching that file through the finder, which launches FMP6U.

It’s not the exact solution I was looking for and I still need a way to determine if FMP6U is running or not on the server.

That’s the post that started me on this whole thing.

Let’s first see if FMP6U has its own identifiers (one that differs from the normal FMP ID). Find the FMP6U application icon and control-click on it to bring up a contextual menu. Choose “Show Package Contents” and then open the folder named “Contents”. There should be a file named “Info-macos.plist”, or something similar. Open the file in a text editor or, if you have installed Apple’s dev tools, Property List Editor. Look for the following:

CFBundleIdentifier
CFBundleSignature

What are the associated values? For instance, the file for FMP 6 gives me com.filemaker.filemakerpro and FMP5 respectively.

– Rob

Actually FMP6U and FMP6Pro have the same creator code, its FMP5, that was part of the problem.

Before I figured that out I did a work around by just telling the remote finder to open the database file, which in turn launches the FMP application. It works for my situation but I think going with the creator code would be a more universal solution.

That’s why I also wanted to know the CFBundleIdentifier. With it, one can use the following:

tell application "Finder"
	(application file id "com.filemaker.filemakerpro") as Unicode text
end tell

What’s the difference between FileMaker Pro and Unlimited - is it simply a different license or a different app altogether?

– Rob