Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
21 crawler(s) on-line.
 96 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 agami:  19 mins ago
 Seiya:  2 hrs 1 min ago
 matthey:  2 hrs 23 mins ago
 Rob:  3 hrs 33 mins ago
 vox:  3 hrs 37 mins ago
 kolla:  4 hrs 31 mins ago
 mbrantley:  4 hrs 33 mins ago
 pixie:  4 hrs 56 mins ago
 FerruleMedia:  5 hrs 4 mins ago
 amigakit:  5 hrs 17 mins ago

/  Forum Index
   /  Amiga OS4.x \ Workbench 4.x
      /  Default CON: window dimensions for Workbench Shell icons?
Register To Post

PosterThread
DWolfman 
Default CON: window dimensions for Workbench Shell icons?
Posted on 3-Jul-2015 0:27:43
#1 ]
Super Member
Joined: 18-Jun-2003
Posts: 1442
From: Leavenworth, KS USA

Anyone know how to set ro change that? I've dug through the forums here (not found anything yet), on Intuitionbase, and in the Documentation drawer on my Sys: partition. So far I have not found how to change that.

I tried adding WINDOW=CON:0/50//500/IconX/AUTO/WAIT/CLOSE to the tooltypes, same as for IconX, but seems Workbench ignores it.

Last edited by DWolfman on 03-Jul-2015 at 12:30 AM.

_________________
This posting, in it's entirety, is the opinion and/or statement of the author and does not reflect the views and/or position of this site.

 Status: Offline
Profile     Report this post  
broadblues 
Re: Default CON: window dimensions for Workbench Shell icons?
Posted on 3-Jul-2015 0:34:26
#2 ]
Amiga Developer Team
Joined: 20-Jul-2004
Posts: 4446
From: Portsmouth England

@DWolfman

main tooltype of sys:system/shell

like so:

WINDOW=CON:80/50/640/300/AmigaShell/CLOSE/HISTORY/TABBED

_________________
BroadBlues On Blues BroadBlues On Amiga Walker Broad

 Status: Offline
Profile     Report this post  
Severin 
Re: Default CON: window dimensions for Workbench Shell icons?
Posted on 3-Jul-2015 9:13:16
#3 ]
Elite Member
Joined: 19-Aug-2003
Posts: 2740
From: Gloucestershire UK

@DWolfman

My full tooltypes are:

WINDOW=CON:50/50/1024/768/Shell. Current Dir - %S/TABBED/HISTORY/CLOSE
STACK=32768
FROM=S:Shell-Startup

nd a default tool of:

SYS:System/CLI

_________________
OS4 Rocks
X1000 beta tester, Sam440 Flex (733)

Visit the Official OS4 Support Site for more help.

It may be that your sole purpose is to serve as a warning to others.

 Status: Offline
Profile     Report this post  
tonyw 
Re: Default CON: window dimensions for Workbench Shell icons?
Posted on 3-Jul-2015 10:21:25
#4 ]
Elite Member
Joined: 8-Mar-2003
Posts: 3240
From: Sydney (of course)

@DWolfman

How are you starting this Shell? Only the Workbench and AmiDock read the tooltypes. If you start a Shell with RAmiga/E and "NewShell...", then it won't read the tooltypes from the icon.

Similarly, if you use FKey to launch a Shell (as many people do), you must include the window descriptor "WINDOW=CON:0/50//500/" in the FKey command string.

Does that answer the question? All this is repeated in the console Help (just type the Help key whilst in a Shell and look for "How to specify the console window".

Last edited by tonyw on 03-Jul-2015 at 10:24 AM.
Last edited by tonyw on 03-Jul-2015 at 10:22 AM.

_________________
cheers
tony

Hyperion Support Forum: http://forum.hyperion-entertainment.biz/index.php

 Status: Offline
Profile     Report this post  
thomas 
Re: Default CON: window dimensions for Workbench Shell icons?
Posted on 3-Jul-2015 13:50:52
#5 ]
Super Member
Joined: 28-May-2003
Posts: 1143
From: Germany

@tonyw

I think he does not talk about the shell by itself, but about scripts with tool icons and "start from shell".

These icons don't open a window by themselves but use Workbench's default output window. At least in OS3 the dimensions of this window are hard coded in workbench.library and cannot be changed.

_________________
Email: thomas-rapp@web.de
Home: thomas-rapp.homepage.t-online.de

 Status: Offline
Profile     Report this post  
DWolfman 
Re: Default CON: window dimensions for Workbench Shell icons?
Posted on 3-Jul-2015 14:40:09
#6 ]
Super Member
Joined: 18-Jun-2003
Posts: 1442
From: Leavenworth, KS USA

@thread

Tonyw got it right, and sorry I didn't come back right away. I am talking about icons for scripts that are set to start the script in a shell.

Tonyw, do you think that may be hard coded in OS4 as well? At least I know how to get around it is to make them into Project icons that use IconX as the tool. IconX does support the WINDOW tooltype, with the same format as the above examples.

_________________
This posting, in it's entirety, is the opinion and/or statement of the author and does not reflect the views and/or position of this site.

 Status: Offline
Profile     Report this post  
tonyw 
Re: Default CON: window dimensions for Workbench Shell icons?
Posted on 4-Jul-2015 0:07:59
#7 ]
Elite Member
Joined: 8-Mar-2003
Posts: 3240
From: Sydney (of course)

@DWolfman

I don't think "hard-coded" is the right description. I would say "it's this size by default", the default being specified in the "Initial CLI", which is opened by DOS.

As you said, if you use IconX, you can specify the window size/position, but I would have to experiment for a while to be sure.

So, are you OK now, or do you need more answers?

_________________
cheers
tony

Hyperion Support Forum: http://forum.hyperion-entertainment.biz/index.php

 Status: Offline
Profile     Report this post  
thomas 
Re: Default CON: window dimensions for Workbench Shell icons?
Posted on 4-Jul-2015 16:02:12
#8 ]
Super Member
Joined: 28-May-2003
Posts: 1143
From: Germany

@tonyw

We don't talk about the initial CLI. We talk about the window opened by Workbench when you double click a tool which has the CLI tooltype set (a.k.a. "start from shell").

In version 40 of workbench.library this *is* hard coded as CON:0/25/640/150/something/AUTO/WAIT.

Since version 44 the binary contains CON:0/%ld/%ld/%ld/%s/AUTO/WAIT, so there seems to be a way to configure it.

_________________
Email: thomas-rapp@web.de
Home: thomas-rapp.homepage.t-online.de

 Status: Offline
Profile     Report this post  

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle