Xojo Conferences

« Accessing Microsoft S… | Home | Map of blog readers »

Tip of the day: How to launch Disc Utility?

You can use this code:
  Sub Open()
dim f as FolderItem = LaunchServicesFindApplicationForInfoMBS("","com.apple.DiskUtility","")

if f<>Nil then
end if
End Sub
By bundle ID you can launch all applications on Mac. Even if the user moved or renamed them. Used tags:
30 08 10 - 11:46
two comments

What is the app is already launched and you want to bring it to the front?:-)
Tom Kramer (Email) (URL) - 30 08 10 - 15:42

Well, the code above brings the app to the front if it’s already running. You can do the same with the ProcessMBS class.
Christian Schmitz (URL) - 30 08 10 - 16:49

Remember personal info?

Emoticons / Textile

Hide email:

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.