home *** CD-ROM | disk | FTP | other *** search
- $VER: AppCon v38.73 (14.5.1994)
- -------------------------------
-
- PUBLIC DOMAIN
-
- written 1993/1994 by Stephan Fuhrmann
-
- History
- ~~~~~~~
- v37.101: first release
- v37.105: improvement - when pathnames contain spaces
- they are enclosed with quotation marks
- v37.129: bug fix - forgot to free some memory
- improvement - using exec memory functions
- improvement - now waiting until the window is really activated
- improvement - using input.device rather than console.device to send
- events following the recommendation of CBM
- v37.160: major improvement - AppCon detects now automatically the closing of
- the shell and exits quietly - AppCon now is 100%
- user friendly!
- bug fix - a problem caused memory loss, fixed
- v37.177: improvement - cleaned & optimized up the code
- v38.16: found a dangerous bug in OS 3.0, included a nice bypass
- v38.18: names with a trailing '+' are enclosed with quotation marks, too
- v38.19: recompiled with SAS/C 6.51
- v38.46: replaced StdIO with DosIO (smaller code), autoremove existing AppCon
- v38.47: some code optimizations (thx Teijo!)
- v38.71: removed C-startupcode and replaced by my own, shorter code
- v38.73: inverted the quotation mark feature by fault - fixed
-
- System Requirements
- ~~~~~~~~~~~~~~~~~~~
- Release 2 of the OS or higher
-
- Introduction
- ~~~~~~~~~~~~
- The Amiga has got two user interfaces: the Workbench and the Shell. The
- professional user has got to switch between these user interfaces very
- often because each one has got its advantages and disadvantages.
-
- When I switched from Workbench to Shell once again I had the idea that my
- work could be much simpler when I could drag icons into the CON:-window and
- have their names displayed in the command line. This is exactly what
- AppCon does.
-
- It declares the actual CON:-window as an AppWindow and lets you drop your
- icons in this window. Then the name and path of the icon are inserted
- into the current command line exactly as if you typed them with your
- keyboard, but slightly faster!
-
- Usage
- ~~~~~
- AppCon must be RUNned from the Shell. The best place to call AppCon is
- your shell-startup. You've got to run AppCon for *EVERY* Shell-Window
- seperately.
-
- If you drop multiple icons at once into your CON:-window the names will be
- seperated with spaces, names containing spaces are enclosed with quotation
- marks.
-
- When the shell exits and AppCon is the only program that's using the
- CON-window, AppCon will detect this and exit nicely, too. You must RUN
- AppCon, otherwise it would exit at once because it would be the only
- program that's using the CON-window.
-
- AppCon periodically checks whether its Shell window is still being used.
- You can modify the time between two checks by setting the TIMEOUT-option in
- the command line of AppCon. When using AppCon, you'll see that with a
- higher TIMEOUT the Shell window will react slower on closing commands, and
- with a lower TIMEOUT AppCon will consume more CPU ticks. The TIMEOUT is in
- tenths of a second, this means that a timeout of 10 (default) will force
- AppCon to check every second whether the shell is still in use.
-
- Simply start AppCon again to remove it from the current shell.
-
- Example Use:
-
- 1> Run AppCon TIMEOUT=12
-
- NOTE: Again, you *MUST* use the AmigaDOS 'Run' to start AppCon, otherwise
- it will exit immediately!
-
- Thanks
- ~~~~~~
- Thank-you's fly to Andy Finkel and Robert "Kodiak" Burns who have released
- their 'ConsoleWindow' some centuries ago on Fish #35 with the source code.
- I'm using their code to find out the window pointer for my CON:-window.
-
- Another big thank-you flies to the SAS Institute for developing their great
- compiler (buy it!).
-
- Special thanks go to Chris, Jorrit & Stefan who helped me to find the
- sollution for the window-blocking-problem.
-
- Thanks to Teijo for some great optimization proposals that really worked!
-
- In Case Of Trouble
- ~~~~~~~~~~~~~~~~~~
- If your machine crashes or when this program doesn't work please contact
- the author with an exact explanation of the way you used the program and a
- precise listing of the hardware/software you're using.
-
- Donations
- ~~~~~~~~~
- ... are always welcome!
-
- Jokes
- ~~~~~
- Jetzt aber Shell!
-
- Greetings
- ~~~~~~~~~
- Greetings go to:
-
- Alex, Arto, Bernhard, Bjørn, Christian, Fred, Jehan-Yves, Jorrit, Kevin,
- Martin, Matze, Otti, Philipp, René, Stefan, Teijo, Thomas, Volker.
-
- Technical Data
- ~~~~~~~~~~~~~~
- Compiled using SAS/C v6.51, the *BEST* compiler for the Amiga.
- Hardware: A4000/040, 12 MByte Memory.
- Compilation time: ~27 seconds.
- Source length: 702 lines (without includes).
- Executable length: 3864 bytes.
- Coffee consumed: >10 cups.
-
- Author's Address
- ~~~~~~~~~~~~~~~~
- Stephan Fuhrmann
- Erikstrasse 30
- 24837 Schleswig
- GERMANY
-
- email: fury@doomsday.sh.sub.de
-