Open Bug 156013 Opened 22 years ago Updated 3 years ago

Need AppleScript "Get profile name" or some thing else

Categories

(SeaMonkey :: UI Design, enhancement)

PowerPC
macOS
enhancement
Not set
normal

Tracking

(Not tracked)

People

(Reporter: jpmelko, Assigned: samir_bugzilla)

References

(Blocks 1 open bug)

Details

(Keywords: qawanted)

Attachments

(1 file)

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:1.1a) Gecko/20020611
BuildID:    2002061103

"Get profile name" was present in Netscape 4 and is missing in mozilla.
I used it, to see if the Navigator is ready to Accept commands (The profile is
choosed)




Reproducible: Always
Steps to Reproduce:
1.Create a script:
tell application "Mozilla"
....
OpenURL...
end
2. Quit Mozilla
3. run thescript

Actual Results:  If the choose profile dialog is opened, the Open URL can fail
because no profile is ready

This happens also with only one profile (No choose profile dialog). Depnds on
timing.

Expected Results:  Implement get profile name or some other stuff to wait
Mozilla to be ready.


A simplified version of a correct launch:
tell application "Mozilla"
	with timeout of 60 seconds
		set theprofile to ""
		repeat while theprofile = ""
			try
				set theprofile to Get Profile Name
			end try
		end repeat
	end timeout
	OpenURL "zzz"
end tell
-> Xp APPS
Assignee: Matti → sgehani
Component: Browser-General → XP Apps
QA Contact: asa → paw
Blocks: 125419
Jean-Pierre, please attach an AppleScript testcase as I did to bug 156010. (Adding qawanted 
pending such.)
Keywords: 4xp, qawanted
Summary: Need apple script "Get profile name" or some thing else → Need AppleScript "Get profile name" or some thing else
Sorry i am late
I have Tested this script with NS4
It cannot be compiled (yet) with mozilla, because Get profile name is not in
the dictionary

Try with a multi-profile configuration
Status: UNCONFIRMED → NEW
Ever confirmed: true
This bug is targeted at a Mac classic platform/OS, which is no longer supported
by mozilla.org. Please re-target it to another platform/OS if this bug applies
there as well or resolve this bug.

I will resolve this bug as WONTFIX in four weeks if no action has been taken.
To filter this and similar messages out, please filter for "mac_cla_reorg".
Since Mozilla is no longer supported on Mac OS X pre-OS X I am attepting to test
the remaining open bugs (all 175 of them).

The test client will be the Mozilla (SeaMonkeys) 1.6.

Result/Status: OS --> Mac OS X
OS: Mac System 9.x → MacOS X
Product: Core → Mozilla Application Suite
is this bug still relevant (specifically, is it relevant to MacOS X)?
apple scripts exists on mac osx. The problem is the same.
But now on OSX and mozilla 1.8a the dictionnary has reduced.
There is only 4 items in it.
When i have submitted this report Mozilla had a complete dictionnary (herited
from ns4 i suppose)
So now the problem is: What to put in the applescript dictionnary ?
Is mozilla really a scriptable application now ?

Idem for firefox...
You need to log in before you can comment on or make changes to this bug.