T.R | Title | User | Personal Name | Date | Lines |
---|
111.1 | Source Included | GEMVAX::KEENE | | Thu Jun 02 1988 16:00 | 8 |
| I can't speak for all the programs on "Compute's Atari ST" disks,
but I do know that "Stashcan" does have the source code on the disk
in a compressed format within the file "SOURCE.ARC".
Hope this helps.
Rick
|
111.2 | stashcan program | CIMBAD::POWERS | I Dream Of Wires - G. Numan | Thu Jun 02 1988 17:35 | 20 |
|
re .0
If I understand what you want to do is add a new icon to the
already existing gem desktop, and be able to drag files to it to
be able to print them out. Is this what you had in mind?? Well
I do not believe this is possible. The gem desktop, is itself an
application program, and there is no way to tell it about the new
icon. You would have to write another desktop application. I have
the computes article and disk you requested, but the person that
wrote that didn't have to put a new desktop icon on the screen,
the trashcan is already there. What I believe he did was intercept
the gemdos call to delete a file. This call gets passed the filename
as a parameter. Also there is no gemdos call to print out a file,
that is done in the application by opening up the file to print
reading in the characters, and making a call to gemdos to print
out a character.
Bill Powers
|
111.3 | It's always so simple once you know how | MILRAT::WALLACE | | Thu Jun 02 1988 17:53 | 11 |
| Thanks .1 and .2!
RE .2, yes you understood correctly. I realized your point about
the DESKTOP being an application etc.. So I was surprised when I
saw this Stashcan program. I thought the author had figured out
how to "tap into" that application. I guess I should have realized
that he had tapped into gemdos as you explained, but I was too busy
dreaming :-).
Thanks again for the information and insight.
Ray
|
111.4 | | CHEST::BADMAN | Laugh? I almost did. | Fri Jun 03 1988 12:28 | 8 |
| I don't see why you couldn't introduce an icon to the screen ...
just write an interrupt routine that intercepts all mouse movement
and clicking. Using this information, you should be able to manipulate
a user defined icon from the interrupt routine.
Jamie.
|
111.5 | Yes but.. | MILRAT::WALLACE | | Fri Jun 03 1988 12:44 | 12 |
| What you say is true, but.. What I want to do is drag a file from
a desktop window to "my icon" and have my application program be
able to figure out what the name of the file (or files) was that
was just dragged to the icon so I can print out the file(s) (or
do other manipulations). Using your suggestion I may be able to
figure that something was dragged to my icon (mouse button pressed
when cursor entered Icon and then button released) but I would have
no indication what (if anything) was dragged there. Some how I need
to get the desktop to tell me the names of the files that were dragged
there.
Ray
|
111.6 | pitfalls of GEM | CIMBAD::POWERS | I Dream Of Wires - G. Numan | Fri Jun 03 1988 13:04 | 25 |
|
re .4
I guess you missed my point, perhaps I didn't explain myself
well enough. Yes you are right you could put an icon on the screen,
and intercept the clicks. But what I was trying to get accross
was that there was no way for you to tell the application program,
in this case the desktop about it, and what it should do say if
a file was dragged to the icon. The icons on the desktop are known
to the desktop, if a disk icon is clicked on the desktop opens a
window, and takes a directory. If a file is dragged to one of the
disk icons, then it knows, that means copy the file. if a file
is dragged to the trashcan icon, then it knows to call gemdos delete
file routine, and passes it the filename to delete. How is it supposed
to know what to do for your icon?? Yes it would have been neat if gem
was capable of doing this. Imagine having an icon for all your
devices, then say you drag a file to the midi icon, and this file
has midi codes in it, automatically your synthesisor starts to play
the codes in it. Or what .0 wanted to do simply drag a filename
to the printer icon, and have the file print out. This is the way
gem should have been written, but it wasen't, so we have to live
with it.
Bill Powers
|
111.7 | NeoDesk | LDP::WEAVER | Laboratory Data Products | Sat Jun 04 1988 15:01 | 19 |
| Re: .0
There is already a desktop replacement that does what you want.
It is called NeoDesk and is available from CompuClub for ~$30.00.
It has a separate printer icon that supposedly queues print requests.
Unfortunately, I don't believe it is a spooler, but it supposedly
will work with spooler accessories. For those who haven't seen
NeoDesk, it is a real nifty program. It allows up to 5 applications
to be placed on the desktop, so you can simply double-click on them
to run them (no more opening file windows for commonly used programs).
It also has improved icons, and a host of other features that are
escaping me for the moment. The one major drawback in my mind is
that it doesn't allow text only windows for files. They also list
a few programs that don't work well with it, one of which is EasyDraw
(which I happen to own). Of course, it is simply an application
program, and you can exit it at any time if you have compatability
problems, to get back to the standard desktop.
-Dave
|