[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference hydra::amiga_v1

Title:AMIGA NOTES
Notice:Join us in the *NEW* conference - HYDRA::AMIGA_V2
Moderator:HYDRA::MOORE
Created:Sat Apr 26 1986
Last Modified:Wed Feb 05 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:5378
Total number of notes:38326

2144.0. "HandyIcons!" by WJG::GUINEAU () Mon Jan 23 1989 10:11


ANyon using "HandyIcons" (found on CGOU01::AMNEW: or on WJG::AMIGA:HANDY13.ARC)?

This program is a MUST. It's allows you to define a list of "tools"
and then adds a menu to the workbench strip. You can then select any tool
from the WB menu and run it. No more poking through drawers and icons.

For example, I have Preferences, NewShell, IconLab, VT200, Clipit, etc...
in the menu. It's a snap to get things going!

I had to write a simple program for the NewShell. Otherwise you get
only the CLI (i.e. no command editing,recall etc). If anyone wants it,
let me know and I'll upload it.

This version only allows tools, no projects.

There are 2 ways to define the list:

1.  click on it's icon and then, using extended selection, select
	all icons of the tools you want. (you had to get them all 
	displayed first..) Then either select OPEN from workbench,
	or double clisk the last tool. You now will have a new menu
	in the WB strip with all your tools.

2.  Select it's icon and chose INFO from workbench. Now just ad all
	your tools (full path!) as tool types. Simple!


Method 2 makes your list "permanent" until you change the tool types again.
The program can then be started from the startup-sequence with "HandyWB"
which comes with it.


Sorry for the sparse review.

John

T.RTitleUserPersonal
Name
DateLines
2144.1 Who wants gum? I do, I do!! CRISTA::CAPRICCIOSlave to the waffle lightMon Jan 23 1989 15:4810
Re: .1

    > I had to write a simple program for the NewShell.
    > If anyone wants it, let me know and I'll upload it.

    Please do!

    Thanks in advance,

    Pete
2144.2NewShell uploadWJG::GUINEAUTue Jan 24 1989 07:213
I'll do it tonight.

John
2144.3here it isWJG::GUINEAUTue Jan 24 1989 21:3532


			WJG::AMIGA:ASHELL.ARC


			     AmigaShell


A program for use with HandyIcons to get an AmigaShell in the
menu. Just rename AShell.info to AmigaShell.info and put it and
AmigaShell into your favorite directory. Then add the path
and name to HandyIcons tooltypes.

AmigaShell will create a default window (see source for window spec)
or will read the environment variable named NewShellWin for the spec.


For example:

1> setenv NewShellWin NEWCON:0/55/550/300/AmigaShell


Make sure the window spec is right since there is no error
checking done!



John 



2144.4here *it* isWJG::GUINEAUTue Jan 24 1989 21:3629

Just for Kicks&Comments:

AmigaShell.c
------------

#include <stdio.h>
#include <libraries/dosextens.h>

extern char *getenv();

main()
{
UBYTE	success;
char	*windef,cmd[80];

windef = getenv("NewShellWin");
if(!windef)
   windef = "NewCon:0/55/550/300/AmigaShell";

sprintf(cmd,"C:NewShell %s",windef);

success = Execute(cmd,NULL,NULL);

return((int)success);

}

2144.5need an executableWILKIE::LEIMBERGERWed Jan 25 1989 05:1710
    re .4 
    	Looks great but I don't have a compiler yet.Would you please
    upload the binary code to the net.I like handy but really don't
    want to give up the "shell".I have used Zippy but haven't tried
    running the shell from it's menu feature.These programs that allow
    you to extend the menus on workbench,are in my opinion some of the
    most exciting because of the great potentional for new interfaces.
    It would be great if CBM incorperated this type of user friendlyness
    into It's future releases.
    							bill 
2144.6"It's in there!"WJG::GUINEAUWed Jan 25 1989 07:5711

$ arc -l ashell
Name          Length    Date
============  ========  =========
AmigaShell        6032  24 Jan 89	<- executable from Lattice 5.0/WB1.3
AmigaShell.c       316  24 Jan 89	<- C source code
ashell.info        395  24 Jan 89	<- The ICON (Handy requires one!)
read.me            544  24 Jan 89	<- a couple replies back
        ====  ========
Total      4      7287
2144.7Some delay may be necessaryYUPPIE::WILSONTony, the HOSS TRUMPETSun Jan 14 1990 19:485
    My HandyIcons clashed with my system the other night after I added a
    MINIMEGS 1 meg upgrade (A500).  It worked before I put the memory on
    and when I removed it.  It kept throwing up the SYSTEM ERROR requestor. 
    I added a WAIT 5 between my LoadWB and HandyWB and it seems to work OK. 
    No explanation.
2144.8HandyIcon it is, HandyWB it aintYUPPIE::WILSONTony, the HOSS TRUMPETSun Jan 21 1990 21:426
    Bad news!  The 5 second delay doesn't help!  It issues the error
    roughly every other time the system is booted.  
    
    It still works fine when I click on the icon.  
    
    (Maybe I should start it first and let it wait on WB :^)