Firefox 3.6 AppleScript issue workaround for Webbla

Since version 3.5, Firefox lost completely AppleScript scripting functionality.

This makes it currently impossible for Webbla to grab the URL with the shortcut. The only working way to get a bookmark from Firefox into Webbla is by using the bookmarklets.

Also the possibility to open the URL with the default Firefox script is not working. I’ve figured out a workaround which make use of System Events and triggers the menu in Firefox. Not really a satisfying solution but it works.

You only have to copy the script and to replace the existing in Webbla.

tell application “Firefox”

activate

tell application “System Events”

keystroke “l” using {command down}

set the clipboard to (“[@URL]”)

keystroke “v” using {command down}

keystroke return

end tell

end tell


I am some wondering on Firefox. It looks like if they are not interested to make a good programming job on the Mac platform. Google also seems to be very slow by implementing AppleScript in Chrome and are talking on Milestone 5 where it will be included.

So let’s wait and see if the big companies are the same responsive and open for requests as small software companies like we are. 🙂

Greetings from Mauritius,

Marc

6 thoughts on Firefox 3.6 AppleScript issue workaround for Webbla

  1. Any thoughts on the delicious integration with webbla… would love to purchase product but still awaiting this.

  2. >You only have to copy the script and to replace the existing in Webbla.

    Could you clarify this?

  3. Yes, you can replace the existing script.

  4. Where is the script file to paste to ? A little vague on the how to for those of us who don’t have a clue about code.

  5. Sorry for the confusion.
    You have to replace the existing script in Webbla -> preferences -> Browser.
    Edit the Firefox entry and past the Script into it.

    If you will still have problems with Firefox 4.x please send me a mail.

    Marc

Leave a Reply

Your email address will not be published.