E epls macrumors newbie Original poster Jan 7, 2011 2 0 Jan 7, 2011 #1 In applescript, is there a way to say if an application exists do this, if it doesn't then do something else?
In applescript, is there a way to say if an application exists do this, if it doesn't then do something else?
andy 111r macrumors newbie Nov 13, 2010 11 0 leeds Jan 7, 2011 #2 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
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
chown33 Moderator Staff member Aug 9, 2009 11,456 9,699 A sea of green Jan 7, 2011 #3 epls said: In applescript, is there a way to say if an application exists do this, if it doesn't then do something else? Click to expand... 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?
epls said: In applescript, is there a way to say if an application exists do this, if it doesn't then do something else? Click to expand... 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?
E epls macrumors newbie Original poster Jan 7, 2011 2 0 Jan 10, 2011 #4 thank you andy111r, that looks like it should work, and chown33, accuracy is not that important