Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

epls

macrumors newbie
Original poster
Jan 7, 2011
2
0
In applescript, is there a way to say if an application exists do this, if it doesn't then do something else?
 
Yes if I understand your question correctly simply:

try
if exists application "FileMaker Pro Advanced" then
-- do this stuff
beep 5
else
-- do something else
end if
end try
 
In applescript, is there a way to say if an application exists do this, if it doesn't then do something else?

How critical is accuracy?

What if the app exists but in an unconventional location or renamed by the user?

What if the app doesn't exist, but the means of finding out wrongly says it does?
 
thank you andy111r, that looks like it should work, and chown33, accuracy is not that important
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.