The AROS Archives(anonymous IP: 3.15.225.173,331) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu


 Categories

   o Audio (94)
   o Datatype (15)
   o Demo (46)
   o Development (243)
   o Document (61)
   o Driver (19)
   o Emulation (60)
   o Game (506)
   o Graphics (218)
   o Library (22)
   o Network (59)
   o Office (21)
   o Utility (242)
   o Video (18)

Total files: 1624

Full index file
Recent index file

Part of aros exec
 Readme for:  Utility » Shell » consize.i386-aros.lha

CONSize

Description: Print out the size of the CLI window
Download: consize.i386-aros.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 65kb
Version: 1.1
Date: 26 Oct 20
Author: Brielle Harrison
Submitter: aGGreSSor [CPU]
Requirements: ABIv0
Category: utility/shell
License: Freeware
Distribute: yes
FileID: 2203
 
Comments: 0
Snapshots: 0
Videos: 0
Downloads: 32  (Current version)
32  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

[Show comments] [Show snapshots] [Show videos] [Show content] [Replace file] 
Often I get frustrated with the inability to set my
icon tool types or helpers to open just the right sized
console window. 

CONSize to the rescue! Position your window how you want
and run CONSize. The output string will be a fully 
fledged CON: handler string that has the exact same offset
and size as the window you're running the utility from.

If you prefer NEWCON or VNC or KCON instead, simply pass
that value as the first parameter and it will generate a
string with that as the handler. 

If you prefer to customize the Title of the generated string,
no problem! Pass a second parameter with the value of the 
title or other values you might want. For example, if you
are using ViNCEd you may want something like

CONSize VNC AmigaShell/SHELL/CLOSE

Which will generate the string, if you're full screen on a
NTSC Hi Res screen, like the following:

VNC:0/0/640/200/AmigaShell/SHELL/CLOSE

Long titles or values with spaces are supported if you wrap
the second parameter in double quotes.

Source is include, and compiled with SAS/C 6.58. It is compatible
with OS 1.3 and above. License is...none! Do whatever you
want with it.

Enjoy!

-Brie

------------------------------------------------------
Changelog

1.1     - Refactored code
          Extraced methods to get shell window into
          reusable code (included; getshellwin.(c|h))

1.0     - Initial release

Copyright © 2005 - 2024 The AROS Archives All Rights Reserved