Economy-x-Talk - Sample Scripts
Application installed or not?
This script tests whether an application is present on your hard disk.
on test(theCreator)
tell application "Finder"
if exists application file id theCreator then
set iePath to application file id theCreator
display dialog (("The application was located at: " & return & iePath & "") as string) buttons {"Okay"} default button "Okay" with icon 1
return true
else
display dialog "Couldn't find the application!" buttons {"Okay"} default button "Okay" with icon 1
return false
end if
end tell
end test
on checkHyperCard()
get test("WILD")
end checkHyperCard
on checkSomething()
get test("ABCD")
end checkSomething
Keep this extensive resource of tutorials and samples on-line! Support RunRev.info!
| Yes, this script is useful. I make a donation and choose freely how much I want to donate on-line (PayPal). Click here if you want to make a donation in dollars. | This script has not (completely) solved my problem and I want Economy-x-Talk to take care of it. Let me contact you. |
Copyright©2002-2008 by Mark Schonewille, Nijmegen, the Netherlands. This web site is in no way affiliated with Runtime Revolution Ltd., but we do recommend the Revolution development platform.