Hi Bruce, you wrote:

> I don't plan any more enhancement work for a couple of months,
> but I will fix any significant bugs found in 4.5.02

I don't know whether you want to look at the following problem
before you get into holiday mode.
If not, I'll mention it again when summer is finished.

------------------------------------------------------------

In v 4.5.02 I enabled clipboard tracking in the GUI Control
  Track clips:  All
  Max:  12
  Filter:   [empty]
  Timestamp:  checked
  Run ClipCaptured:  checked
  Reattach:  not checked
  Filtered to active:  not checked
  Delay:  0

My ClipCaptured command list has one command: .ClipCapturedScr

;;------------- ClipCapturedScr.powerpro ---------

;; while experimenting:
win.debug
win.debug("ClipCaptured from: ",exefilename)
win.debug(lastclippath)
win.debug(clip.listformats)

;;--------------------------------------------------

ClipCaptured is never executed when I copy a selected part of the
bitmap from Photoshop or MS Paint (nothing appears in debug)
even though the clip is always saved by PP's clipboard tracking.

It is always executed when copying from all other the apps I have tried,
including copying selected bitmap data from some other image editors:
MicroAngelo (part of an icon), the Gimp, Pixel Toolbox and XnView
-- as well as non-bitmap things such as:
Word, KeyNote (rtf), CorelDraw (various data types)
and text from notepad (metapad), pproconf, UltraEdit, etc.

I experimented with the "Delay" setting in the GUI Control dialog
but that did not make it run ClipCaptured for Photoshop or MS Paint.

In case it might be relevant, here is the string returned by clip.listformats
after copying part of a bitmap from various apps:

MicroAngelo Studio:  BITMAP 49716 DIB DIBV5
Gimp:  49699 DIB 49704 49705 49706 49707 49708 BITMAP DIBV5
Pixel Toolbox:  DIB BITMAP DIBV5
XnView:  DIB BITMAP DIBV5
Corel Draw:  49161 49163 49156 49155 49166 49771 ENHMETAFILE METAFILEPICT DIB 
49773 49171 BITMAP DIBV5
(in that case it was a whole embedded bitmap)

Photoshop:  49161 DIB METAFILEPICT BITMAP PALETTE 49578 49579 49577 49163 49156 
49155 49166 49171 ENHMETAFILE DIBV5
MS Paint: 49161 49163 49156 49155 49166 METAFILEPICT DIB 49171 ENHMETAFILE 
BITMAP DIBV5

It seems odd that PowerPro is aware of the Copy event (it always
saves the clip) but does not run ClipCaptured for those two apps.

------------------------------------------------------------------

If you'd rather be at the beach, don't worry, I'll think up a
workaround using:
file.watchfolder("c:\shells\powerpro\clip",".ClipCapturedScr",0,"file")

-----------------------------------------------------------------

The reason for my interest in ClipCaptured is to make a filter
based on the source program, instead of text in the clip.

;; move to a subfolder based on which app it was copied from:

file.move(lastclippath, file.folder(lastclippath) ++ ?"\" ++ exefilename
++ ?"\" ++ lastclipname)

if (validpath(lastclippath ++ "EMF"))do
  file.move(lastclippath ++ "EMF", file.folder(lastclippath) ++ ?"\" ++
  exefilename ++ ?"\" ++ lastclipname ++ "EMF")
endif


Alan M



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

Attention: PowerPro's Web site has moved: http://www.ppro.org 
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