Existing users, log in.  New users, create a free account.  Lost password?

Mac OS X  |  System / Utilities  |  Other System / Utilities  |  More Internet  |  AppleScript Application as Protocol Helper do not work in MacOSX 10.4.2

More Internet

More Internet

Modify, remove, and add protocols.

Version:  1.2

   [ Views: 1010 ]

AppleScript Application as Protocol Helper do not work in MacOSX 10.4.2

Feedback Type:  Troubleshooting Report

Contributed by: kostya1 Wednesday, December 28 2005 @ 07:05 AM PST

Product Platform: MacOSX

Used Product For: 1-6 months

I know how it work in MacOSX 10.3.9

For example:

lets create AS Application with the following content:

on open location foo
display dialog foo
end


-Save as Application Bundle
-Browse package contents and edit "Info.plist"
-Modify CFBundleSignature (it was "aplt" and it is now "CACA")
-Add the magical lines in the plist file:

<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLName</key>
<string>mailto handler</string>
<key>CFBundleURLSchemes</key>
<array>
<string>myProtocol</string>
</array>
</dict>
</array>
-Modify the "PkgInfo"

I can register a new Protocol Helper with help of MoreInternet

It works perfect in 10.3.9 but do not work in 10.4.2.
When I try to start working I get the follosing message:
Safari can’t open “myProtocol:51p:132:014:1:1:20:C” because Mac OS X doesn’t recognize Internet addresses starting with “myProtocol:”.

I suggest that MoreInternet do not work correctly in 10.4.2.
But this is not true. I can regiser any Application using MoreInternet (for example TextEdit, Internet Explorer) as Protocol Helper for myProtocol and can see that I can get this Application using link myProtocol:bla-bla


Could you please help me to understand what else AppleScript Application needs for work as Protocol Helper in MacOSX 10.4.2   
System Info:

0 of 1 users found this helpful.

Rate this Troubleshooting Report

Was this Troubleshooting Report helpful? Yes | No

Comments

1 comments |

AppleScript Application as Protocol Helper do not work in MacOSX 10.4.2 - Denis Bajram

There is some errors in your plist code. Should be :

<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLName</key>
<string>myProtocol URL</string>
<key>CFBundleURLSchemes</key>
<array>
<string> myProtocol </string>
</array>
</dict>
</array>

to be sure, generate it with the "Property List Editor" application.

Works perfectly here :-)

Reply to This

Friday, March 02 2007 @ 05:45 AM PST