Scripting Terminal
Scripting Terminal
- Subject: Scripting Terminal
- From: Paul Scott <email@hidden>
- Date: Thu, 24 Jun 2010 17:11:35 -0700
Why doesn't this work?
tell application "Terminal"
tell front window
set t to selected tab
do script "1G" in t
set s to contents of t
display dialog s
end tell
end tell
But this does:
tell application "Terminal"
tell front window
do script "1G" in selected tab
set s to contents of selected tab
display dialog s
end tell
end tell
???
Paul
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden