Closed Bug 394582 Opened 18 years ago Closed 16 years ago

Provide access to page text via AppleScript

Categories

(Camino Graveyard :: OS Integration, enhancement)

PowerPC
macOS
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: alqahira, Assigned: chris)

References

Details

(Whiteboard: p-safari)

Safari supports: tell application "Safari" set myText to text of document 1 of window 1 end tell Like bug 374648, but probably even more difficult :( It seems worthwhile to do, IMO.
I don't see any reason we wouldn't want to do this, so confirming.
Severity: normal → enhancement
Status: UNCONFIRMED → NEW
Ever confirmed: true
In bug 196704 comment 8, smfr indicates that the mechanism our Services impl uses can get either text or HTML from a page (and either selection or the entire document); any chance we could call that on the whole page and hook that up to AppleScript to get text/source of page? [3:01pm] peeja: ooh, interesting [3:02pm] peeja: I definitely don' have time to look now, but that's a good thought [3:02pm] sauron: sometimes random comments in old bugs produce serendipitous results [3:02pm] sauron: i'll comment in the relevant bugs, then [3:02pm] sauron: and keep it in my head to poke you about it periodically ;) [3:03pm] peeja: cmd_getContents. well there you go.
FIXED by checkin of the patch in bug 374648.
Assignee: nobody → trendyhendy2000
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.