home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ARM Club 3
/
TheARMClub_PDCD3.iso
/
programs
/
programming
/
wimpdiy
/
!WimpDIY
/
HowTo?
< prev
next >
Wrap
Text File
|
1997-07-04
|
2KB
|
46 lines
---------------------------------------
- WIMP-DIY or ... Wimp-Do It Yourself -
---------------------------------------
This is the first version of Wimp-DIY, a shell program to help
all of you reluctant people with doing easy wimp applications in
BASIC. It's mainly aimed at doing converters, but you could also
use it to deepen your knowledge about multitasking programs with
RiscOS (though I do not claim to be a Wimp-guru. There could even
be horrible bugs lying in the program).
The program installs a sprite on the iconbar, reacts to simple
user manipulation (menus, clicks, ...), and displays a save box
if an object is dragged upon the iconbar icon. You then save
wherever you want (filer or application), and finally it calls a
PROCEDURE called PROCtraite(In$,Out$) where In$ is the full path
of the input object and Out$ the full path of the output object.
All you've got to do in order to use the shell program to your
advantage is fill in some simple variables at the beginning of
the program (taskname, filetype of saved data, task purpose for
info window), provide a sprite with the name of the application,
write your PROCtraite(In$,Out$) routine, and that's it !
What the task can do:
---------------------
It will take a file (or directory, I think) and save it under
another name, doing some processing on it while at it. It's just
a bare bones converter. If the SHIFT key is held while saving, it
will also remove the input file (more or less a "move" option).
Source can be an application's save icon (or the Filer).
Destination can be a window from an editor (or the Filer). But
Source and Destination can NOT be application windows at the same
time (it will lead to an error "Input and Output can't be the
same").
Disclaimer: I'm too tired to explain with a sophisticated manner
that I'm not responsible for any crash that may occur using my
program, whether my fault or not. I simply don't want to know.
15th of june 1997
Jérôme Mathevet
8 rue Maurice Genevoix
38150 ROUSSILLON
FRANCE