> Can anyone tell me how to insure that BBEdit is launched by the
> Finder as the default application when opening PHP text files?
>
I am still using Tiger, but I have an Applescript app on the desktop which I
drop files on to convert the line endings to UNIX and the file type to BBEdit.
Useful for converting Perl or PHP files so I can upload them to remote hosts
successfully. It may be a BBEdit script. Here's the file type changer portion.
on open filelist
repeat with oneFile in filelist
tell application "Finder"
try
set oneFile's creator type to "R*ch"
set oneFile's file type to "TEXT"
on error the error_message number the error_number
beep
tell me to display dialog error_message buttons {"OK"} default button 1
end try
end tell
end repeat
end open
Then again, once you open Dreamweaver or do a restart, the files might revert,
but the script might be faster.
Wonder if you could set up a folder action?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "BBEdit Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a specific feature request or would like to report a suspected (or
confirmed) problem with the software, please email to "[email protected]"
rather than posting to the group.
-~----------~----~----~----~------~----~------~--~---