--- In [email protected], "swzoh" <[EMAIL PROTECTED]> wrote: > > --- In [email protected], "brucexs" <bswitzer@> wrote: > > If this works, I can add an option to process clipboard as above > > when trying to make a file name from the text on the clipboard. > > How turn off PP's writing clips? > *Clip Write off wasn't working. > > Anyway, here's a script I wrote. Anyone interested may test it. > > // At PP's startup > cl.create("ClipCaptured",1).insert(0).AddLeft(".ClipCaptured") > > ------------------- ClipCaptured.PowerPro ------------------------- ---- > if(!dll.call("OpenClipboard|ui",win.handle("c=PowerProMain"))) > quit > > if(dll.call("IsClipboardFormatAvailable|ui",13))do > local hClip,pClip,sClip,xClip > > hClip=dll.call("GetClipboardData|ui",13) > pClip=dll.call("GlobalLock|ui",hClip) > > if(pClip)do > dll.call("lstrcpynW|s+ ui ui","xClip",pClip;;+ > ,min(dll.call("lstrlenW|ui",pClip),50)+1) > dll.call("WideCharToMultiByte|ui ui s+ i s+ i ui ui";;+ > ,0,0,"xClip",-1,"sClip",272,0,0) > > dll.call("GlobalUnlock|ui",hClip) > endif > > endif > > dll.call("CloseClipboard|") > sClip[?'["*?:<>|/\\]']=" " > ;sClip=ReplaceChars(sClip,?'"*?:<>|/\ ') > > clip.tofile(pprofolder++?"clip\"++time++" "++sClip++".txt") > quit > ------------------------------------------------------------------- ---- > > Sean >
Hi.. Sean, Thanks alot, for concernning.. But, often Errors.. Just only English capturring.. http://cafefiles.naver.net/data21/2006/11/3/203/11-03-15-57-4.jpg Korean + English http://cafefiles.naver.net/data21/2006/11/3/60/11-03-15-57-3.jpg and when imagecapture is not text.. Aim of Track Clips "All" is capture Text and Image.. Thanks.. Regards, kottami.. 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/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/power-pro/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> 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/
