#clipboard and tool types
9 messages in this thread
Hello all,
Using Arexx or Dos (I have OS version 2.05),is there a way for me to read
text/write text using the clipboard device ? I'd like to be able to read text
sent to clipboard by Right Amiga (C or X) or by 'send to clipboard' ? If so how
?
An explaination of what and where 'clipboard' is would also be helpful.
I know there is a clipboard directory in ram: and I have used this with graphic
brushes. I have a brush, which I use frequently, copied there by my
user-startup.Then using Brilliance, I can simple select the 'from clipboard'
when I need it.
One other question,can the 'tool types' from an icon be read from rexx/DOS ?
And yes,I know I really need to get a more extensive programming language,
maybe someday I will. 🙂 I do have AMOS,but something about it turns me off.
Thanks in advance,
keith hicks ===AP=1=75===>
Keith –
You might want to check out David N. Junod's rexxutil.library. It
contains (among other things) functions to read, write, and query the status of
clipboard units from ARexx programs. 'rexxutil.library' can be found in:
AmigaTech Lib: 7
> ZEDRX1.LHA/Bin Bytes: 108556
>
> Title : ZedREXX 1.0 for Amiga – GUI Extensions to REXX
> Keywords: REXX GUI JUNOD REXXUTIL REXXDOS LIBRARY SHAREWARE
>
> ZedREXX 1.0 for Amiga, a REXX Language Extension that adds
> sophisticated Graphical User Interface (GUI) capabilities using an
> easy-to-use yet extremely powerful syntax. Minimum system requirements
> are an Amiga running 2.04 or beyond of the Amiga Operating System.
> ==Shareware==
>
> Note: Evaluation archive includes updated rexxutil.library and
> rexxdos.library by David N. Junod.
>
——
Thanks Bob,
I have that file already,somewhere.But it caused my system to crash.I was told
that the address error I was recieveing was because I either needed a higher OS
(though I have 2.05) or the program was calling an odd address and 68000's can
only call even addresses.(something like that)
***************************************************************************
Does anyone know any easy way for an ARexx script to import/export text that
was 'cut' or 'pasted' to the clipboard ???? (copied by Amiga C for example)
How about reading an icons tool type ????
***************************************************************************
keith hicks ===AP=1=75===>
> I have that file already,somewhere.But . . .
Sigh, I was a beta tester for David and thought that all those type bugs had
been caught (however, I'm running a 68030 accelerated A2000).
You might send him a report — djunod@bix.com — dunno what his current
projects are but he has posted messages on bix recently (last day or so).
Bob
——
Thanks Bob. When I get the chance,I'll do that.
keith hicks ===AP=1=75===>
Clipboard Enhancer (known as CBE) lets you cut and paste to 255 clipboard
buffers, has a graphical interface, handles graphics as well as text and
accepts AREXX commands. It's in the libraries here.
Ron,
Thanks, but I'm looking for information on reading/writing from/to the
clipboard from a small Arexx or dos program.I've been messing with Arexx a lot
lately and I am doing much better.
I still haven't found or read anything that will let me do anything with the
clipboard.Though,I don't think I'll go that route anymore, but I am curious if
there is a way to do this with dos or rexx.
keith hicks ===AP=1=75===>
Keith:
But CBE can do precisely what you want, the way I understand your needs. Since
it has an AREXX command set, it'd be short work to write a small AREXX script
that would handle any clipboard input/output to and from any other program that
can handle AREXX — and to an extent programs with clipboard support that don't
handle it, since the info at least could be moved into the clipboard for their
internal manipulation.
My biggest frustration with most Amiga application implementations of the
clipboard was that they don't take advantage of its power. The ability to have
a couple hundred clips simultaneously available is extremely useful, and CBE is
one of handful of programs that enable that. MachIV and MachV do it, too,
though less elegantly, and there are probably others. CBE is the only
alternative I'm aware of that directly employs AREXX. I'm sure some other
applications have internal clipboard commands in their AREXX set, however.
Ron,
I understand what you're saying.
Actually,I heard from someone that said RexxUtil.library has commands for
clipboard use and that person is going to upload it to the lib.I have the file
but no docs.
I've already done a little messing around with the RexxUtil.lib.I read the
library file itself and it had imbedded in it the commands and <suprisingly> it
also had the valid switches and keywords.These are some of the functions ->
WriteClipboard( VARNAME ,[STEM/s,VAR/s], [FTXT/s,ILBM/s],UNIT/N, AUTH , NAME )
; ReadClipBoard(); and QueryClip() which seems to give information on clips
and the clipboard.The read and write did just that.This seems to be what I was
looking for.Once I get the docs I'll understand the rest.
See you later,
keith hicks ===AP=1=75===>