This is a test. This is a test. ---- Tried on Window 2000 Pro, AS Tcl 8.4.6, TWAPI 0.8. Put image on clipboard via Alt-PrntScrn. The image pastes into MSpaint fine. When I push paste on this test program the process just disappears with no message or error display of any kind. :*( RT, 26March2006. To install the patched Img I simply copied the zip files over top of existing Img install. Was that correct? (I did this because the zip did not contain a full compliment of files) '''Update by [RT], 30June06''' - finally tried with 8.4.9 (ActiveState) and the new Img is indeed working to load the .bmp file created by the Clipboard2Img proc below. Thanks!! [PO] 2006/03/26 The Zip file should contain everything you need. But, I've compiled the Img extension against Tcl 8.4.9. This may be your problem; Stubs are only upwards compatible. [APN] Both copy and paste worked fine for me on XP SP2 in 16 and 32 bit display modes. Tcl 8.4.12, [TWAPI] 0.8. Unlike the above user, I removed by original Img directory and just used the above version instead. [MG] I used a simplified version of this code on XP SP2 for pasting PNG images for different Excel objects (charts, equations) from the clipboard directly to Tk canvas. Tcl 8.4.11, TWAPI 0.8 and a standard Img1.3. My code follows after the main example. [DC] Paul, did you ever post a patch file or the source code to this modification? [MR] Did not work for me on WinXP, Tcl 8.4.9, TWAPI 0.8. Getting this error: couldn't load library "Img1.3/tkimgwindow13.dll": this library or a dependent library could not be found in library path while executing. [PO] 2006/09/19 The Img package available from my homepage is dependent on msvcrtd.dll. It was intended as a test/debug version. The patched sources of the BMP parser are in the SF repository since 2006/06/06. It could therefore be part of an actual AS distribution. '''[potrzebie] - 2011-11-15 07:46:28''' The test code works directly with latest ActiveTCL, so I guess they included your extended BMP parser. ---- ***Just copy image to clipboard*** (extract from below) * requires [twapi] and [Img] (at least tkimg files pkgIndex.tcl, tkimg14.dll, tkimgbmp14.dll) * Image is named Img (image create photo Img) ======tcl set a {return button pack set menu} package require twapi_clipboard package require img::bmp twapi::open_clipboard twapi::empty_clipboard # First 14 bytes are bitmapfileheader - get rid of this twapi::write_clipboard 8 [string range\ [binary decode base64 [Img data -format bmp]] 14 end] twapi::close_clipboard ====== +& | [tcl-only datefield] | screenshot not found +& | [sockspy] | screenshot not found +& | [1] +& | [Dragon Curve] | [vetter_DragonCurve_wiki3349_step12_screenshot_410x487.jpg] +& | [Octabug] | [vetter_Octabug_wiki3494_About_screenshot_561x495.jpg] +& | [TkTopoMap] | [vetter_TkTopoMaps_wiki3926_screenshot_398x506.jpg] +& | [Why manhole covers are round] | screenshot not found +& | [3D Maze] | [vetter_3D-Maze_wiki4188_Help_screenshot_497x524.jpg] +& | [SpiroGraph] | screenshot not found +& | [TkChallenger] | [vetter_tkChallenger_helpWindow_screenshot_515x635.jpg] +& | [TkPente] | [vetter_tkPente_helpWindow_screenshot_508x601.jpg] +& | [TkOverload] | [vetter_TkOverload_helpWindow_screenshot_531x476.jpg] +& | [Dot to Dots] | [vetter_dot2dot_screenshot_1015x663.jpg] +& | [Pass by reference] | screenshot not found +& | [Maritime Signal Flags] | [WikiDbImage maritime.jpg] +& | [Fractal Mountains] | screenshot not found +& | [Møiré Patterns] | [vetter_MoirePattern_wiki4602_screenshot_708x531.jpg] +& | [Mandelbrot] | [WikiDbImage mandelbrot.jpg] +& | [Juggler] | [vetter_tkJuggler_wiki4801_screenshot_752x581.jpg] +& | [TkMapper] | [vetter_TkMapper_wiki6277_screenshot_1024x547.jpg] +& | [Bitmap Editor] | [vetter_bitmapEditor_wiki6298_screenshot_592x468.jpg] +& | [a triangle puzzle] | [vetter_nestedTriangles_wiki8280_screenshot_708x580.jpg] +& | [TkRose] | [vetter_TkRose_wiki8295_roseANDcontrols_screenshot_623x546.jpg] +& | [Morley's Miracle] | [vetter_MorleysMiracle_About_screenshot_574x371.jpg] +& | [Bulging Line Illusion] | [vetter_BulgingLineIllusion_wiki8340_GLBW_screenshot_409x469.jpg] +& | [Hilbert Curve] | [WikiDbImage hilbert.gif] +& | [Buffon's Needle] | [vetter_BuffonsNeedles_wiki8407_screenshot_719x611.jpg] +& | [3 Triangles] | [3 Triangles screen.png] +& | [tkAtaxx] | [WikiDbImage tkataxx.jpg] +& | [Polyhedron Nets] | [vetter_polyhedronNets_wiki8528_screenshot_592x444.jpg] +& | [Cubic Splines] | [vetter_cubicSpline_wiki8536_screenshot_571x392.jpg] +& | [Arrow buttons] | [vetter_ArrowButtons_wiki8554_screenshot_110x106.jpg] +& | [Drawing rounded polygons] | [vetter_Drawing-rounded-polygons_wiki8590_screenshot_508x547.jpg] +& | [Canvas Rotation] | [Canvas Rotation more clowns.jpeg] +& | [Named Colors] | screenshot not found +& | [tkGoldberg] | [vetter_tkGoldberg_wiki8607_screenshot_866x711.jpg] +& | [Regular Polygons 2] | [vetter_regularPolygons2_wiki8612_screenshot_542x477.jpg] +& | [3D Hilbert Curve] | [vetter_3DhilbertCurve_wiki8723_screenshot_636x508.jpg] +& | [Playing Card Images] | screenshot not found +& | [Scat] | [vetter_Scat_helpWindow_screenshot_498x490.jpg] +& | [Falling Marbles] | screenshot not found +& | [Rain Storm] | screenshot not found +& | [Lissajous Figures] | [vetter_lissajousFigures_wiki8875_screenshot_615x480.jpg] +& | [Puzzle Blocks] | [vetter_PuzzleBlocks_boat_screenshot_635x550.jpg] +& | [Video Poker] | [vetter_VideoPoker_screenshot_423x483.jpg] +& | [Eliminator] | [vetter_Eliminator_screenshot_203x288.jpg] +& | [Gem Game] | [vetter_GemGame_screenshot_432x337.jpg] +& | [Triangle Madness] | [WikiDbImage trianglemadness.jpg] +& | [Square Root] | screenshot not found +& | [Hack-O-Matic] | [vetter_Hack-O-Matic_binary-editor_wiki9755_screenshot_261x403.jpg] +& | [Printing text files under Windows] | screenshot not found +& | [Variable versus a Global Array] | screenshot not found +& | [TkMines] | [vetter_tkmines_screenshot_1011x665.jpg] +& | [Widget Configure] | screenshot not found +& | [I love foreach] | [I love foreach screenshot2.png] +& | [Starfield] | [vetter_Starfield_wiki10100_screenshot_503x371.jpg] +& | [Collapse] | [WikiDbImage TCL_wiki_Collapse_Game.PNG] +& | [Pastel Colors] | [vetter_PastelColors_colorlist_screenshot_616x62.jpg] +& | [Wiki History Diff] | screenshot not found +& | [Word Jumble] | [vetter_WordJumble_screenshot_776x438.jpg] +& | [Pig Latin] | screenshot not found +& | [SkipList] | screenshot not found +& | [SkipList Demo] | screenshot not found +& | [Fern Fractal] | [markus_FractalPicture_wiki10492_screenshot_506x523.jpg] +& | [A Very Simple Weather App] | screenshot not found +& | [A Simple Fan Animation] | [vetter_fanBladesAnimation_wiki10820_screenshot_257x322.jpg] +& | [Parsing XML] | screenshot not found +& | [Parallel Geturl] | [vetter_ParallelGeturl_wiki11060_screenshot_827x545.jpg] +& | [Azimuth Plotting] | screenshot not found +& | [Universal Transverse Mercator] | [vetter_UniversalTransverseMercator_wiki13044_screenshot_616x142.jpg] +& | [Print Area Selector] | screenshot not found +& | [Convolutions] | screenshot not found +& | [Following Redirects] | screenshot not found +& | [Tic Tac Toe] | [Tic Tac Toe game screen.png] +& | [Lights Out] | [vetter_LightsOut_screenshot_649x526.jpg] +& | [Rush Hour] | [http://holgerzeinert.gmxhome.de/share/rushhour_pocketpc.gif] +& | [Word Search] | [vetter_WordSearch_screenshot_474x483.jpg] +& | [A simple Font Viewer] | screenshot not found +& | [Dynix2RSS] | screenshot not found +& | [TriPeaks Solitaire] | [vetter_TriPeaks_helpWindow_screenshot_513x537.jpg] +& | [Can You Read This?] | screenshot not found +& | [WAV Dump] | screenshot not found +& | [XML Tree Walking] | screenshot not found +& | [My House] | [vetter_MyHouse_wiki14330_screenshot_479x361.jpg] +& | [BMP Dump] | screenshot not found +& | [Hold'Em Solitaire] | [vetter_HoldEmSolitaire_feltAndCards_screenshot_1021x711.jpg] +& | [Simple Tktable] | [vetter_Simple-Tktable_wiki14901_demo_screenshot_294x250.jpg] +& | [3d Matrix Inversion] | screenshot not found +& | [Labyrinth] | [vetter_LabyrinthGame_screenshot_661x601.jpg] +& | [Smallest Enclosing Disc] | [vetter_smallestEnclosingDisk_screenshot_526x472.jpg] +& | [The Classic 15 Puzzle] | [vetter_15puzzle_wiki15067_screenshot_208x291.jpg] +& | [N-Puzzle] | [vetter_MxNpuzzle_withBoardSizeMenu_wiki15085_screenshot_230x343.jpg] +& | [Animated Circles] | [Dynamic Widget] +& | [Wavy Text] | screenshot not found +& | [Mind Reader] | screenshot not found +& | [Kandinsky Dance] | [vetter_KandinskyDance_wiki15178_animation_screenshot_507x413.jpg] +& | [Spotlight] | [vetter_Spotlight_wiki15238_screenshot_325x284.jpg] +& | [Magnifying Glass] | [vetter_MagnifyingGlass_wiki15239_zoom8_screenshot_324x266.jpg] +& | [Colliding Blocks] | [vetter_collidingBlocks_wiki15262_screenshot_568x589.jpg] +& | [Lights On] | [vetter_LightsOn_screenshot_647x461.jpg] +& | [Ring Master] | [vetter_RingMaster_wiki15442_help_screenshot_418x324.jpg] +& | [Capturing Multiple Screens] | screenshot not found +& | [Shadow Photo] | [WikiDbImage shadow.jpg] +& | [Photo Gallery] | [vetter_PhotoGallery_wiki15611_top_screenshot_557x547.jpg] +& | [Montana Solitaire] | [vetter_MontanaSolitaire_screenshot_1021x517.jpg] +& | [Black Box] | [Black Box screen.png] +& | [Another Font Chooser Dialog] | screenshot not found +& | [Dithering] | screenshot not found +& | [Gradient Spheres] | [colorGradient_6spheres_wiki16283_screenshot_553x400.jpg] +& | [Geneva Drive] | [WikiDbImage Geneva.jpg] +& | [Vanishing Child] | [vetter_VanishingChild_wiki16345_right_screenshot_670x326.jpg] +& | [Gear Animation] | [WikiDbImage gears.jpg] +& | [Nice Numbers] | screenshot not found +& | [Reading BMP image dimensions] | screenshot not found +& | [Chinese Checkers] | [WikiDbImage ChineseCheckers.jpg] +& | [Bulging Square Illusion] | [WikiDbImage BulgingSquare.jpg] +& | [Ribbon Graphs] | [WikiDbImage ribbon.jpg] +& | [Pulsing Squares] | [WikiDbImage pulsquare.jpg] +& | [Benford's Law] | screenshot not found +& | [Word Chain] | [Word Chain screen.png] +& | [Dice] | [Dice screen.png] +& | [Cubic Function Explorer] | [vetter_CubicFunctionExplorer_wiki17383_screenshot_671x459.jpg] +& | [Unzip in tcl] | screenshot not found +& | [Crazy Eights] | [vetter_CrazyEights_screenshot_705x711.jpg] +& | [NOAA Weather Forecast] | screenshot not found +& | [Crossword Puzzle Builder] | [vetter_CrosswordPuzzleBuilder_wiki17662_screenshot_611x549.jpg] +& | [Solving Logic Puzzles] | screenshot not found +& | [Cubic equation] | screenshot not found +& | [A Hypertext Help System] | screenshot not found +& | [Image Fading] | [vetter_ImageFading_wiki19875_split_screenshot_652x265.jpg] +& | [Rotated Text Font] | [WikiDbImage rotafont.jpg] +& | [Arbitrary Rectangle Selection] | screenshot not found +& | [Text2PDF] | screenshot not found +& | [Parsing PDF] | screenshot not found +& | [Celtic Braid] | [vetter_CelticBraid_wiki20337_4sides_screenshot_683x545.jpg] +& | [Project Euler] | screenshot not found +& | [Scotch Yoke] | [WikiDbImage scotchyoke.jpg] +& | [Tile Table] | screenshot not found +& | [Grid Debugger] | screenshot not found +& | [Tk Robots] | [vetter_TkRobots_helpWindow_screenshot_513x711.jpg] +& | [High Score Package] | [High Score Package screen png] +& | [Tk Robots2] | [vetter_TkRobots2_gameBoard_screenshot_926x629.jpg] +& | [WhenIdle] | screenshot not found +& | [VS Project List Editor] | screenshot not found +& | [Nonogram] | screenshot not found +& | [Time Picker] | screenshot not found +& | [GridLines] | screenshot not found +& | [Canvas Annotations] | [WikiDbImage canvasAnnotations_screen.png] +& | [TkAsciiArt] | [WikiDbImage TkAsciiArt.png] +& | [Tk Dali Clock] | screenshot not found +& | [CryptoAid] | [WikiDbImage cryptoAid_screen.png] +& | [TreeView Tooltips] | screenshot not found +& | [Cribbage Crib Aid] | screenshot not found +& | [CheckedListBox Widget] | screenshot not found +& | [ChooseDir] | screenshot not found +& | [Extensions to Plotchart 2] | screenshot not found +& | [Pythagoras Tree] | screenshot not found +& | [Slippy Map Demo] | screenshot not found +& | [GPX] | screenshot not found +& | [Word Clock] | screenshot not found +& | [Mormon Porn] | screenshot not found +& | [Line Simplification] | [vetter_LineSimplification_wiki27610_screenshot_807x549.jpg] +& | [Integer Partition] | screenshot not found +& | [Bubble Letters] | screenshot not found +& | [CPU Monitor] | screenshot not found +& | [Nominatim Demo] | [vetter_NominatimDemo_wiki37844_screenshot_727x316.jpg] +& | [Celtic Knot] | screenshot not found +& | [Reading WEBP image dimensions] | screenshot not found +& | [EpubCreator] | screenshot not found +& | [EpubDump] | screenshot not found +& | [Gmail Filters] | screenshot not found +& | [Flow Colors] | screenshot not found +& | [PNG Dump] | screenshot not found +& | [PNG Decoder] | screenshot not found +& | [Penrose Tiling] | [Penrose Tiling screenshot] +& | [1010!] | [1010! screenshot2] +& | [Divisible by 7] | [7divScreenShot] +& | [Image Compare] | [ICompareScreenShot] +& | [Rubik's Cube Timer] | [RubiksTimerScreenShot] +& | [Image Sizes] | screenshot not found +& | [Photo Crop] | [Photo Crop Screenshot] +& | [Continued Fraction] | [Continued Fraction Screenshot] +& | [Image Viewer] | [Image Viewer screenshot] +& | [Photo Album] | [photo_album_screenshot] +& | [Super SymDoodle] | [super_symdoodle_screen] +& | [string mapx] | screenshot not found +& | [Clock of Clocks] | [clock_of_clocks_image] +& | [Solomon's Knot] | [solomon knot screen shot] +& | [@decorators] | screenshot not found +& | [Centered Coordinate System] | screenshot not found +& | [Impossible Triangle] | [impossible_triangle_image2] +& | [Tip #288] | screenshot not found +& | [Tip #508] | screenshot not found +& | [ao3] | screenshot not found +& | [ao3ToEpub] | screenshot not found +& | [Enhanced Expression Syntax] | screenshot not found +& | [FamFamFam Demo] | screenshot not found [stevel] cache test 8