Search found 487 matches

by JnLlnd
Yesterday, 16:17
Forum: Ask for Help (v1)
Topic: Loading data blob to the Clipboard (using WinClip library)
Replies: 6
Views: 109

Re: Loading data blob to the Clipboard (using WinClip library)

I think I got the solution. Instead of using DllCall("Kernel32.dll\RtlMoveMemory", "Ptr", &oBlob, "Ptr", intAddr, "Ptr", intSize) when I need to load the data to the clipboard, I use it right after I retreived the data from the SQLlite database. If I don't do it immediately there must be some backgr...
by JnLlnd
Yesterday, 12:19
Forum: Ask for Help (v1)
Topic: Loading data blob to the Clipboard (using WinClip library)
Replies: 6
Views: 109

Re: Loading data blob to the Clipboard (using WinClip library)

Additional info about this statement in my OP: I can use successfully these two fields to create a temporary file and load it to the Clipboard using the WinClip.Load() method. This was not true. There is an issue with the file I create for the Load method when its size exceeds 2054 bytes. I examined...
by JnLlnd
Yesterday, 11:46
Forum: Ask for Help (v1)
Topic: Loading data blob to the Clipboard (using WinClip library)
Replies: 6
Views: 109

Re: Loading data blob to the Clipboard (using WinClip library)

Hi just me , I have some progress to report, at least on the investigation side. I stepped through the _toclipboard() method with Scite4AHK debugger. At first, I tested with a small content of 1 character ("#"). The method succeeded. Then I tried with larger contents. It fails as soon as the size of...
by JnLlnd
17 Mar 2024, 12:17
Forum: Scripts and Functions (v1)
Topic: [Library] Edit v3.0 - Update and Manage any Edit Control
Replies: 71
Views: 36292

Re: [Library] Edit v3.0 - Update and Manage any Edit Control

I've tested Edit_EnableZoom and it worked well on my Win 10 system. I don't have access to a Win 7 system myself to test it. I would assume the function does nothing. I already implemented a Zoom feature in my app using an UpDown control and Ctrl+WheelUp and Ctrl+WheelDown hotkeys to increase/decrea...
by JnLlnd
17 Mar 2024, 08:22
Forum: Ask for Help (v1)
Topic: Loading data blob to the Clipboard (using WinClip library)
Replies: 6
Views: 109

Re: Loading data blob to the Clipboard

Thanks just me for the input. I tried it but there must be something more to fix because I got the same result ( this._toclipboard() returns 0). I added the line clipSize := VarSetCapacity( dataBuff ) to check if the data in dataBuff is the excepted size. It is. SetData( ByRef dataBuff, dataSize ) {...
by JnLlnd
16 Mar 2024, 22:31
Forum: Scripts and Functions (v1)
Topic: [Library] Edit v3.0 - Update and Manage any Edit Control
Replies: 71
Views: 36292

Re: [Library] Edit v3.0 - Update and Manage any Edit Control

Hi jballi . Just a follow up on v3 release. I had no issue with existing functions and the only changes I had to do were about functions that were moved to Edit_Util.ahk. I took the opportunity to add the spell checker to my editor. It's very well done and easy to implement. I considered using the n...
by JnLlnd
16 Mar 2024, 17:44
Forum: Ask for Help (v1)
Topic: Loading data blob to the Clipboard (using WinClip library)
Replies: 6
Views: 109

Loading data blob to the Clipboard (using WinClip library)

I'm saving data captured from the Clipboard to a Blob field in a SQLite table. Later, I want to retrieve the clip data and load it to the Clipboard. From the SQLite table, I get the address and size of the blob in a SQLite record. I can use successfully these two fields to create a temporary file an...
by JnLlnd
28 Feb 2024, 13:58
Forum: Ask for Help (v1)
Topic: Issue reading data after FileAppend/FileRead ClipboardAll
Replies: 6
Views: 223

Re: Issue reading data after FileAppend/FileRead ClipboardAll

It's hard to believe that this is an old mistake. :o Great! The change you did is beyond my knowledge level but I'm glad you found this bug. Should this be included in the library by to egocarib or deo ? On the other hand, I found there was no issue using the WinClip.Save(strClipFilePath) instead o...
by JnLlnd
26 Feb 2024, 10:17
Forum: Ask for Help (v1)
Topic: Issue reading data after FileAppend/FileRead ClipboardAll
Replies: 6
Views: 223

Re: Issue reading data after FileAppend/FileRead ClipboardAll

Thanks for your input. lmstearn : This is interesting. The data missing at the end of the file issue could be a reason. But, even if it breaks the WinClip call, my test shows that the ClipboardAll data retrieved with FileRead can be pasted without issue in all formats (using Paste Special in Word, f...
by JnLlnd
24 Feb 2024, 18:00
Forum: Scripts and Functions (v1)
Topic: WinClip - AHKv2 Compatibility
Replies: 33
Views: 14945

Re: WinClip - AHKv2 Compatibility

I asked a question here but moved it to the "Ask for help" section.
by JnLlnd
24 Feb 2024, 17:46
Forum: Ask for Help (v1)
Topic: Issue reading data after FileAppend/FileRead ClipboardAll
Replies: 6
Views: 223

Issue reading data after FileAppend/FileRead ClipboardAll

I'm not sure if this is something wrong with my code or an issue in WinClip (or AHK). I'm using the WinClip library found here (thank you to egocarib and Deo!). After I used FileAppend to save the Clipboard to a file then FileRead to retrieve the data back to the Clipboard, I can't read the data cor...
by JnLlnd
17 Feb 2024, 16:11
Forum: General Discussion
Topic: Avoiding the Excel "Picture Is Too Large" error when reading the Clipboard
Replies: 5
Views: 489

Re: Avoiding the Excel "Picture Is Too Large" error when reading the Clipboard

> IIRC, Clipboard reads only the CF_TEXT or CF_UNICODETEXT formats. That's true. The issue only occurs with ClipboardAll . > Excel presumably uses delayed rendering, and only displays the prompt when another application attempts to retrieve the data. Thank you for this explanation. I did not know ab...
by JnLlnd
07 Feb 2024, 11:06
Forum: General Discussion
Topic: Avoiding the Excel "Picture Is Too Large" error when reading the Clipboard
Replies: 5
Views: 489

Re: Avoiding the Excel "Picture Is Too Large" error when reading the Clipboard

try ComObjActive("excel.application").DisplayAlerts := True ; not sure this is needed To answer your question: yes, this is needed. If you don't make DisplayAlerts true, XL front-end won't display normal user alerts. For example, when you exit XL, it won't prompt you to save your workbook if you ha...
by JnLlnd
07 Feb 2024, 10:39
Forum: Ask for Help (v1)
Topic: ClipBoardChange - Excel issues
Replies: 2
Views: 338

Re: ClipBoardChange - Excel issues

This "The Picture Is Too Large and Will Be Truncated" issue has been discussed in the following thread and a solution is proposed:
viewtopic.php?style=19&f=81&t=125745
by JnLlnd
07 Feb 2024, 10:38
Forum: Ask for Help (v1)
Topic: AHK Clipboard & Excel returns "The picture is too large and will be truncated"
Replies: 3
Views: 1671

Re: AHK Clipboard & Excel returns "The picture is too large and will be truncated"

This "The Picture Is Too Large and Will Be Truncated" issue has been discussed in the following thread and a solution is proposed:
viewtopic.php?style=19&f=81&t=125745
by JnLlnd
07 Feb 2024, 10:36
Forum: General Discussion
Topic: Avoiding the Excel "Picture Is Too Large" error when reading the Clipboard
Replies: 5
Views: 489

Re: Avoiding the Excel "Picture Is Too Large" error when reading the Clipboard

Thanks for your reply flyingDman . As you and @kon earlier stated, the problem here is Excel and not AHK. I guess Excel tries to take a snapshot image of the range and that picture gets too large after 64 rows. Yes, I knew. My goal was to find out what triggers this error message when the Clipboard ...
by JnLlnd
06 Feb 2024, 17:32
Forum: General Discussion
Topic: Avoiding the Excel "Picture Is Too Large" error when reading the Clipboard
Replies: 5
Views: 489

Avoiding the Excel "Picture Is Too Large" error when reading the Clipboard

Reading the Clipboard (or ClipboardAll ) with AHK (v1) after copying cells in Excel displays the error message "The Picture Is Too Large and Will Be Truncated" (the error message is displayed by Excel, not AHK). This issue has been raised a few times on this forum ( here and here ) but it seems that...
by JnLlnd
06 Feb 2024, 11:36
Forum: Ask for Help (v1)
Topic: Pause required before WinClip.GetFormats()
Replies: 0
Views: 173

Pause required before WinClip.GetFormats()

With the WinClip library and AHK v1.1, I'm using the method WinClip.GetFormats() to inspect the formats currently in the Clipboard. It returns an array of formats with name and size for each format. Used after a Clipboard change (using the OnClipboardChange() function), it works well but only if a s...
by JnLlnd
05 Feb 2024, 18:58
Forum: Scripts and Functions (v1)
Topic: [Library] Edit v3.0 - Update and Manage any Edit Control
Replies: 71
Views: 36292

Re: [Library] Edit v3.0 - Update and Manage any Edit Control

Thanks for this major update @jballi . Can't wait to review all these improvements.
by JnLlnd
25 Dec 2023, 00:27
Forum: Ask for Help (v1)
Topic: Display a bitmap in a Picture Gui control with a bitmap retrieved from a SQLite database
Replies: 4
Views: 1970

Re: Display a bitmap in a Picture Gui control with a bitmap retrieved from a SQLite database

@william_ahk You got it! I'll post the code fixed when I have a little more time. Thanks.

PS: viewtopic.php?p=552284#p552284 fixed.

Go to advanced search