Terminal control/Dimensions: Difference between revisions
Content added Content deleted
(→Visual Basic .NET: Listed example is .net, not classic vb) Tags: Mobile edit Mobile web edit |
Rmfsolutions (talk | contribs) |
||
Line 127: | Line 127: | ||
Number of rows: 24 |
Number of rows: 24 |
||
</pre> |
</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}}== |
=={{header|Applesoft BASIC}}== |