I understand that Bruce is not into adding new features for a
while, just focussing on any remaining bugs.
So please ignore the following if it looks like much work.

Changing all of PowerPro's clipboard history features away from
"plain text only" would not only be a huge task for Bruce but also
might mess up people's scripts -- giving unexpected results by
pasting non-text data where plain text is expected.
Not only users' scripts but also some plugins might not be able to
cope with such a change.

May I suggest a much less ambitious new feature, which could
probably satisfy Luke's need. My non-programmer's guess is that
the following would be much less work to program than trying to
compete with ClipStash's features.

All of PowerPro's existing clip features should remain unchanged,
i.e. only operating if there is some plain text on the clipboard.

Add two new services: clip.backup and clip.restore
Unlike every other PowerPro clipboard feature, they would work for
any type of clipboard format.

The type of clipboard format(s) would be irrelevant to them
(even mysterious proprietry formats) because it would not need any
ability to display or manipulate or understand the clip contents.
It is all regarded by clip.backup/clip.restore as meaningless
raw data to be dumped into or restored from a file.
____________________________________________

Two alternatives:

Either:
clip.backup and clip.restore [with no parameters]

[Clip.backup saves the complete clipboard contents to one data
file with a hard coded filename, such as \powerpro\clipbackup.dat]

Or better:
clip.backup(filespec) and clip.restore(filespec)

[which would allow someone to script a LIFO series of clip
backups -- maybe called clip_push.powerpro and clip_pop.powerpro
-- or someone could write a similar script which gives the user
a choice of which clip backup file to restore, maybe using *Menu
Folder, rather than scripting a push and pop effect]
____________________________________________

Where it is needed:

Clip.filepaste and clip.textpaste (and some other clipboard features)
only need temporary use of the clipboard for a few seconds.

;; I usually do:
Clip.ToFile("c:\temp\clipholder.txt")
*clip textpaste This is too much text for Keys
Clip.FromFile("c:\temp\clipholder.txt")

;; or this:
oldclip = Clip.Get
*clip textpaste This is too much text for Keys
Clip.Set(oldclip)

The only problem is: I often have an image (or rtf, or vector graphics)
on the clipboard, but Clip.Get/Clip.Set [and Clip.ToFile/FromFile]
only work for plain text.

Therefore I would prefer to use:
Clip.Backup("clipback5.dat")
*clip textpaste This is too much text for Keys
Clip.Restore("clipback5.dat")

I recommended "don't change any existing services such as clip.tofile"
because in many scenarios their built-in "filter effect" (text only)
is very useful. So they would still be useful alternatives to a new
clip.backup and clip.restore.

People who need more comprehensive clipboard history features for all
the clipboard formats could either use a specialised extender such as ClipStash,
or write some fancy scripts using clip.backup and clip.restore.




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to