Search found 321 matches

by DataLife
09 Aug 2019, 09:23
Forum: AutoHotkey v2 Scripts and Functions
Topic: Graphics - Simple yet powerful text and image renderer
Replies: 8
Views: 641

Re: Graphics - Simple yet powerful text and image renderer

I get Call to nonexistent function. Specifically: GetMonitorInfo(image) Did you include Gdip_All: https://github.com/iseahound/Graphics/blob/master/lib/Gdip_All.ahk ? This function seems to be in there (lines 2884-2890) Yes, I already had Gdip_all in my library folder. I was not aware of an updated...
by DataLife
08 Aug 2019, 23:26
Forum: AutoHotkey v2 Scripts and Functions
Topic: Graphics - Simple yet powerful text and image renderer
Replies: 8
Views: 641

Re: Graphics - Simple yet powerful text and image renderer

I get Call to nonexistent function.
Specifically: GetMonitorInfo(image)
by DataLife
20 Jul 2019, 04:46
Forum: Wish List
Topic: Gui support for webp image format
Replies: 1
Views: 203

Gui support for webp image format

I wish that Autohotkey would support webp image format for Gui's ?
by DataLife
19 Jul 2019, 09:53
Forum: Ask For Help
Topic: Gui support for webp image format Topic is solved
Replies: 19
Views: 1379

Re: Gui support for webp image format Topic is solved

teadrinker wrote:
19 Jul 2019, 01:00
Just for fun, the code in attachment (since it is too large) will work without any dll and libraries at all.
This works as expected. Now I can display webp image formats in an Autohotkey Gui with an all AHK solution.

thank you very much
by DataLife
19 Jul 2019, 00:14
Forum: Ask For Help
Topic: Gui support for webp image format Topic is solved
Replies: 19
Views: 1379

Re: Gui support for webp image format Topic is solved

All these examples look great but I can not use them. I distribute my ahk file and prefer not to download dwebp.exe or Dll's to someone else's computer. I prefer my scripts run properly "out of the box". I do not want to require the end user to download libraries, dll's, functions and external progr...
by DataLife
18 Jul 2019, 14:00
Forum: Ask For Help
Topic: Gui support for webp image format Topic is solved
Replies: 19
Views: 1379

Re: Gui support for webp image format Topic is solved

Does this mean that an Autohotkey Gui can not support webp until Windows 10 has built in support for webp ?
by DataLife
18 Jul 2019, 07:23
Forum: Ask For Help
Topic: Gui support for webp image format Topic is solved
Replies: 19
Views: 1379

Re: Gui support for webp image format Topic is solved

These are the other possible URL endings that need to be removed to down webp images as png. -rw -rw-no -rwa Does anyone know if ALL webp image urls will end in one of these 3 possibilities? Maybe just Google chooses to end their webp images with these and other webpage developers can do what ever t...
by DataLife
17 Jul 2019, 21:31
Forum: Ask For Help
Topic: Gui support for webp image format Topic is solved
Replies: 19
Views: 1379

Re: Gui support for webp image format Topic is solved

Upon further research I have found that if you remove the -rwa from the end of the url and use UrlDownLoadToFile to download the file, it can be displayed by an AutoHotkey Gui. URLDownloadToFile,https://lh3.googleusercontent.com/BdQ1ngugnmV6uT960KOX0G9av7YJF4MnoEdSgi5xBINEC4YYuOp3Q7RUj7i4Cg0tRQ=w884...
by DataLife
17 Jul 2019, 17:49
Forum: Ask For Help
Topic: Gui support for webp image format Topic is solved
Replies: 19
Views: 1379

Gui support for webp image format Topic is solved

As far as I can determine AutoHotkey Gui's do not support webp image format.

As far as I can determine Windows 10 does not have built-in support for WebP

Does this mean that Autohotkey can not support webp until Windows 10 has built in support for webp ?
by DataLife
28 Jun 2019, 14:07
Forum: Scripts and Functions
Topic: NestedHotkeysWGUI - An ahk class to create nested hotkeys with a GUI
Replies: 4
Views: 777

Re: NestedHotkeysWGUI - An ahk class to create nested hotkeys with a GUI

This is very nice. All my favorite folders in one place. Works great! thanks
by DataLife
28 Jun 2019, 11:40
Forum: Scripts and Functions
Topic: CommentBox() - Turn comments into a block for easier readability
Replies: 15
Views: 996

Re: CommentBox() - Turn comments into a block for easier readability

How can I get my Scite4Autohotkey to show the corners like notepad? I used notepad to save my CommentBox() script as unicode, then I tested on Scite4Autohotkey and the unicode characters are replaced by ansi characters. In Scite4Autohotkey, for the document, check the menu setting File / Encoding. ...
by DataLife
27 Jun 2019, 23:44
Forum: Scripts and Functions
Topic: CommentBox() - Turn comments into a block for easier readability
Replies: 15
Views: 996

Re: CommentBox() - Turn comments into a block for easier readability

How can I get my Scite4Autohotkey to show the corners like notepad? I used notepad to save my CommentBox() script as unicode, then I tested on Scite4Autohotkey and the unicode characters are replaced by ansi characters. Notepad ; ┌────────┐ ; │ │ ; │ test │ ; │ │ ; └────────┘ Scite4Autohotkey ; +---...
by DataLife
27 Jun 2019, 23:11
Forum: Scripts and Functions
Topic: CommentBox() - Turn comments into a block for easier readability
Replies: 15
Views: 996

Re: CommentBox() - Turn comments into a block for easier readability

This works properly in my Scite4Autohotkey, Notepad and NotePad++ for me. Notepad++ version 7.7.1 (64 bit)
Before

Code: Select all

;
; test
;
After

Code: Select all

; +--------+
; ¦        ¦
; ¦  test  ¦
; ¦        ¦
; +--------+
I am using Autohotkey Unicode 32bit.
by DataLife
27 Jun 2019, 15:27
Forum: Scripts and Functions
Topic: CommentBox() - Turn comments into a block for easier readability
Replies: 15
Views: 996

Re: CommentBox() - Turn comments into a block for easier readability

What would be better in your opinion, global alignment or per-line alignment? I don't like the "per line", that could get complicated. How would you know what the user wanted per line? I think it should stay global. Although, in addition to options for left, center & right text justify there could ...
by DataLife
27 Jun 2019, 13:05
Forum: Scripts and Functions
Topic: CommentBox() - Turn comments into a block for easier readability
Replies: 15
Views: 996

Re: CommentBox() - Turn comments into a block for easier readability

Comment lines that are too long are not a limitation of CommentBox(). CommentBox() should not be expected to break up long lines. Before ; This line is too long and wraps to the next line in Scite4Autohotkey. I have comments like this in my scripts. AutoHotkey is a free, open-source scripting langua...
by DataLife
26 Jun 2019, 23:31
Forum: Scripts and Functions
Topic: CommentBox() - Turn comments into a block for easier readability
Replies: 15
Views: 996

Re: CommentBox() - Turn comments into a block for easier readability

Very nice, thanks for this. Works great as long as you select the whole line including the comment character and there is a space after the comment character.

An option for the text to be left justified would be great.

It does not work on comments that wrap to the next line.
by DataLife
25 Jun 2019, 17:22
Forum: Scripts and Functions
Topic: SavePictureAs - (Save Image/Picture)
Replies: 34
Views: 31883

Re: SavePictureAs - (Save Image/Picture)

I downloaded Thunderbird and the first picture I tried to save did not have an extension. Here is a partial solution. I can let SavePictureAs download the picture. Get the image dimensions of the downloaded file. In the Get Image Size code below if the file is not an image it returns 0x0. If it is a...
by DataLife
25 Jun 2019, 16:25
Forum: Scripts and Functions
Topic: SavePictureAs - (Save Image/Picture)
Replies: 34
Views: 31883

Re: SavePictureAs - (Save Image/Picture)

BGM...So, I'm wondering, if maybe SPA can detect the file extension, and if it is .htm, to switch it to .jpg?
What if it is not a jpg? Maybe it is a png, or bmp or some other video format.
by DataLife
24 Jun 2019, 23:03
Forum: Scripts and Functions
Topic: SavePictureAs - (Save Image/Picture)
Replies: 34
Views: 31883

Re: SavePictureAs - (Save Image/Picture)

@BGM
I just remembered that if you try to save a picture before the page completely loads the right click "Save image" / "Save Picture As" will try to save the page and not the picture. This was intermittent and I do not remember what browser I was using.

Go to advanced search