Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Not about Default Browser' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Not about Default Browser
Authored by: mahakali on Jun 19, '03 06:30:45PM
You can change the file's creator to nothing. OS X will use extension to determine which app to use and if your default browser is Safari then it'll open in Safari. You can use applescript to change a dropped file's creator to generic "????":
on open (iFiles)
  tell application "Finder"
    set iFiles to iFiles as alias
    display dialog "are you sure you want to ¬
      change file's type/creator to none?" ¬
      buttons {"yes!", "no"} default button 1 ¬
      with icon 2
		
    if the button returned of the result is "yes!" then
      set the creator type of iFiles to "????"
    end if
  end tell
end open
Save it as an application somewhere.

[ Reply to This | # ]