Search found 490 matches

by JnLlnd
22 May 2024, 00:20
Forum: Scripts and Functions (v1)
Topic: [WinAPI] GetXxxFormat Functions
Replies: 14
Views: 10195

Re: [WinAPI] GetXxxFormat Functions

These are great functions! Thank you jNizM and others. Anyone knows about a library of functions that would take a formatted string containing a currency, number, date, etc. for a given locale code and *remove* the formatting to get the "raw" number? The format of that raw number would vary dependin...
by JnLlnd
16 May 2024, 14:21
Forum: Scripts and Functions (v1)
Topic: [Library] HSL & HSV v0.1 (Preview) - Convert RGB To/From HSL or HSV
Replies: 4
Views: 3162

Re: [Library] HSL & HSV v0.1 (Preview) - Convert RGB To/From HSL or HSV

Gosh... I missed a first decimal in the Hue value in HSL to RGB. Sorry for time lost. I'll remove my previous post...

This being said, thank you for these useful libraries, jballi :-)
by JnLlnd
18 Mar 2024, 16:17
Forum: Ask for Help (v1)
Topic: Loading data blob to the Clipboard (using WinClip library)
Replies: 7
Views: 222

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
18 Mar 2024, 12:19
Forum: Ask for Help (v1)
Topic: Loading data blob to the Clipboard (using WinClip library)
Replies: 7
Views: 222

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
18 Mar 2024, 11:46
Forum: Ask for Help (v1)
Topic: Loading data blob to the Clipboard (using WinClip library)
Replies: 7
Views: 222

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: 73
Views: 38067

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: 7
Views: 222

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: 73
Views: 38067

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: 7
Views: 222

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: 318

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: 318

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: 35
Views: 15769

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: 318

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: 835

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: 835

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: 391

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" Topic is solved
Replies: 3
Views: 1741

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

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: 835

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: 835

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...

Go to advanced search