English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 15 June 2015, 13:36   #1
TenLeftFingers
Registered User

TenLeftFingers's Avatar
 
Join Date: Sep 2013
Location: Ireland
Posts: 797
Snapshot Amiga Shell window?

There is no menu for Amiga shell, but I don't like the default position of it and my mouse isn't in great shapes at the moment. Is it possible to snapshot the position at the bottom 20% of the screen rather than do it manually each time?
TenLeftFingers is offline  
Old 15 June 2015, 13:58   #2
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 3,198
I don't think it's possible to snapshot the window as such, however you can change the WINDOW tooltype in the Shell icon so it opens up with your desired size/position. For example
WINDOW=CON:0/200//56/My_Shell

should cause it to open in the bottom 56 lines of a non-interlaced PAL Workbench screen. [Not specifying a width (hence the //) causes the window to be as wide as the screen.]
mark_k is offline  
Old 15 June 2015, 14:05   #3
jPV
Registered User
jPV's Avatar
 
Join Date: Feb 2008
Location: RNO
Posts: 847
You can give window size and position parameters in pixels when opening a new shell.

If you're opening the shell by clicking its icon, edit the WINDOW tooltype for it. Or if you're using hotkey or toolbar button or simlar where you use NewCLI or NewShell commands, you can give same kind of option for them too.

From AmigaOS manual:

Code:
To create a custom window, you can include the <window specification> argument. Specify the initial dimensions, location, and title of the window with this <window specification> syntax:

CON:x/y/width/height/title/options

where:

x - Is the number of pixels from the left edge of the screen to the left border of the Shell window. Use a value (//) to specify the minimum possible pixels.

y - Is the number of pixels from the top of the screen to the top of the Shell window. Use no value (//) to specify the minimum possible pixels.

width - Is the width of the Shell window, in pixels. Use no value (//) to specify the full width of the screen.

height - Is the height of the Shell window, in pixels. Use no value (//) to specify minimum possible height.
So, for example:

NewShell WINDOW="CON:/50//200/AmigaShell/CLOSE"

opens a window as wide as the screen, but 50 pixels under the top edge and 200 pixels high.
jPV is offline  
Old 15 June 2015, 16:38   #4
TenLeftFingers
Registered User

TenLeftFingers's Avatar
 
Join Date: Sep 2013
Location: Ireland
Posts: 797
Quote:
Originally Posted by mark_k View Post
... however you can change the WINDOW tooltype in the Shell icon so it opens up with your desired size/position. For example
WINDOW=CON:0/200//56/My_Shell

should cause it to open in the bottom 56 lines of a non-interlaced PAL Workbench screen. [Not specifying a width (hence the //) causes the window to be as wide as the screen.]
Quote:
Originally Posted by jPV View Post
You can give window size and position parameters in pixels when opening a new shell.

If you're opening the shell by clicking its icon, edit the WINDOW tooltype for it. Or if you're using hotkey or toolbar button or simlar where you use NewCLI or NewShell commands, you can give same kind of option for them too.

From AmigaOS manual:

Code:
To create a custom window, you can include the <window specification> argument. Specify the initial dimensions, location, and title of the window with this <window specification> syntax:

CON:x/y/width/height/title/options

where:

x - Is the number of pixels from the left edge of the screen to the left border of the Shell window. Use a value (//) to specify the minimum possible pixels.

y - Is the number of pixels from the top of the screen to the top of the Shell window. Use no value (//) to specify the minimum possible pixels.

width - Is the width of the Shell window, in pixels. Use no value (//) to specify the full width of the screen.

height - Is the height of the Shell window, in pixels. Use no value (//) to specify minimum possible height.
So, for example:

NewShell WINDOW="CON:/50//200/AmigaShell/CLOSE"

opens a window as wide as the screen, but 50 pixels under the top edge and 200 pixels high.
Thank you so much both of you! I found the information on how to do this here: http://wiki.amigaos.net/wiki/AmigaOS...ng_a_Tool_Type

I wonder would there be enough interest in an ask/stackoverflow style of site for Amiga to warrant setting one up.
TenLeftFingers is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Window/Icons refuse to snapshot chalky64 support.WinUAE 3 20 September 2013 07:32
Looking for good usages of the Amiga Workbench/Shell Thomas Olivaux New to Emulation or Amiga scene 2 16 April 2013 20:23
Clear background color for Shell window- Shell-StartUp fc.studio support.Apps 12 29 December 2009 14:21
Amiga crash after reload of a snapshot Maverick357 support.WinUAE 6 14 September 2002 19:28
new snapshot available Worfje support.WinFellow 14 28 November 2001 00:49

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 15:14.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.
Page generated in 0.08430 seconds with 13 queries