Re: appIsRunning(appName) not showing with filemaker
Re: appIsRunning(appName) not showing with filemaker
- Subject: Re: appIsRunning(appName) not showing with filemaker
- From: dealTek <email@hidden>
- Date: Sun, 27 Jan 2013 10:47:14 -0800
On Jan 26, 2013, at 8:50 PM, Christopher Stone < email@hidden> wrote: This simple script seems to work with some apps (like TextEdit ) but not with FileMaker Pro ... I do have 2 versions on this app (v 10 and v 11) - is that the problem - ( they are both called the same by file maker = FileMaker Pro)?
... on appIsRunning(appName) tell application "System Events" to (name of processes) contains appName end appIsRunning ______________________________________________________________________
Hey Dave,
I don't have FMP to test with, so I have to guess.
What result do you get from:
tell application "System Events" to (name of processes)
Is the name of the process the same as the display name in the Finder?
Thanks to all for the assistance,
Hi Christopher,
Your thinking was right on..
In fact in addition, I was trying to use the app named = FileMaker Pro Advanced.app
and the process was called "FileMaker Pro" not FileMaker Pro Advanced.app
so when I referred to it as "FileMaker Pro" then it started working as expected.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden