Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'An iChat paging AppleScript' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
An iChat paging AppleScript
Authored by: GlowingApple on May 22, '05 05:59:49PM

Do you know if there's any way to get the text of the message sent in that window? I've perused the dictionary, but nothing seems to be what I would need to get the text.

---
Jayson --When Microsoft asks you, "Where do you want to go today?" tell them "Apple."



[ Reply to This | # ]
An iChat paging AppleScript
Authored by: Zee on May 22, '05 07:50:35PM

I don't think there is a direct way to get the text of the window. However, you might be able to do something round-about by sending a "select all" and a "copy" to the window. Then use the contents of the clipboard however you see fit.



[ Reply to This | # ]
An iChat paging AppleScript
Authored by: rmiller021 on May 24, '05 08:56:15PM
you can do it with system events

activate application "iChat"
tell application "System Events"
	tell process "iChat"
		count windows
		get value of text area 1 of scroll area 1 of window 1
	end tell
end tell

where window 1 is the last used window

---
I have no clue what i am doing

[ Reply to This | # ]