Terminal control/Dimensions: Difference between revisions

(→‎Visual Basic .NET: Listed example is .net, not classic vb)
Tags: Mobile edit Mobile web edit
Line 127:
Number of rows: 24
</pre>
 
=={{header|AppleScript}}==
<syntaxhighlight lang="AppleScript">local numColumns, numRows
tell application "Terminal"
if not running then activate
set {numColumns, numRows} to {number of columns, number of rows} of tab 1 of window 1
end tell
</syntaxhighlight>
 
=={{header|Applesoft BASIC}}==