Mac Forums | MacApper

   

Welcome to the MacApper Forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), open discussions with our writers, upload content, and access many other special features. Registration is fast, instant, and absolutely free so please, join our community today and feel the Mac love!

If you have any problems with the registration process or your account login, please contact us.
 
Thread Tools Display Modes
Old 06-03-2008, 02:30 PM   #1
MacHeadCase
Senior Member
 
Join Date: May 2008
Location: Montréal, Québec
Posts: 1,946
MacHeadCase will become famous soon enoughMacHeadCase will become famous soon enough
Mac Specs: 20" iMac G5 2.1GHz 2.5GB RAM
Firefox 3 incompatible with AppleScript
For you Firefox users, word is that it is incompatible with AppleScript, AppleScript is broken in Firefox 3:

Quote:
Firefox 3 is in Release Candidate 1 stage. But it shouldn’t go out yet. Yes, there are improvements but I think there’s one big regression: its AppleScript is broken.

There’s two pieces of data that’s critical for several apps to get from Firefox: the current URL and the current Title. The title portion is broken in Firefox 3. That’s a regression from Firefox 2. Except, it isn’t officially, since Firefox never officially supported AppleScript. There were just some good programmers who added it in.

So what happens when you request the title? It returns random garbage data. That’s pretty bad.

So who depends on AppleScript working for Firefox? WebnoteHappy for one. Adium is another app that needs it. There’s probably a lot of private scripts out there that require it too. ...
Read the complete article, there are ways for you to help make sure that the dev team takes a serious look at fixing this.
MacHeadCase is offline   Reply With Quote
Old 06-06-2008, 12:59 PM   #2
Brown Study
Member
 
Join Date: Jun 2008
Location: Winnipeg
Posts: 99
Brown Study will become famous soon enoughBrown Study will become famous soon enough
Mac Specs: G4 OS X & OS 9
Firefox 2.x offers little AppleScript support, anyway, and that's a bother because my ancient WaMCom 3.1 build of Mozilla running in OS 9 is far more AppleScript-friendly.

But there sometimes a way around the lack of support, such as this script that I use to start Firefox (and nearly fill the screen with it each time) by employing System Events. I leave a bit of room at the bottom to check the remaining RAM listed in Activity Monitor.

tell application "System Events" to tell process "Firefox"
tell window 1
set size to {1026, 726} --width, height
set position to {-1, 22} --left, top
end tell
end tell
end tell
Brown Study is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:10 AM.


Macapper.com is © 2010.
vBulletin, Copyright ©2000-2010, Jelsoft Enterprises Ltd.