Closed Bug 175275 Opened 22 years ago Closed 15 years ago

get contents of selection fails

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 490830

People

(Reporter: elharo, Assigned: lordpixel)

Details

Using AppleScript to read the currently selected text fails in 1.2b1; that is, ti always returns the empty string. Select some text in a Mozilla window and run the following: tell application "Mozilla" activate set quote to contents of selection as string end tell display dialog quote This will always be the empty string. Looking at the event log in the script editor, it appears that the selection-object returned is the current application.
Reproduced in 1.2b1. Taking
Assignee: ccarlen → lordpixel
Status: UNCONFIRMED → NEW
Ever confirmed: true
Thanks for taking it. BTW, the component is wrong. Now tha it's yours, can you change it to something more appropriate so it doesn't show up on Embedding radar?
-> Event Handling, in line with other Apple Script bugs
Component: Embedding: Mac → Event Handling
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".
OS: Mac System 9.x → MacOS X
Simon, this slipped through the cracks, WONTFIX-ing per you
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WONTFIX
No, this is still valid on Mac OS X. Applescript still exists and this still doesn't work. That's why I retargeted it on 2003-09-12 to Mac OS X.
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
lordpixel "Doesn't work on Firefox 2.0 or Camino 1."
QA Contact: dunn5557 → events
Status: REOPENED → RESOLVED
Closed: 20 years ago15 years ago
Resolution: --- → DUPLICATE
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.