Search found 45 matches

by RazorHalo
13 Dec 2023, 01:46
Forum: Ask for Help (v1)
Topic: ActiveX Shell.Explorer control and animated images
Replies: 2
Views: 285

Re: ActiveX Shell.Explorer control and animated images

Thanks HellBent, thats some pretty cool stuff. After more searching I found that the IE ActiveX does not support animated PNG or WEBP files. I ended up writing a class to handle animated PNG (APNG) files completely though AutoHotkey. It can be found here https://www.autohotkey.com/boards/viewtopic.p...
by RazorHalo
13 Dec 2023, 01:39
Forum: Scripts and Functions (v1)
Topic: [Class] APNG - Animated PNGs in GUIs
Replies: 1
Views: 574

[Class] APNG - Animated PNGs in GUIs

Class APNG Class to display animated png (APNG) files in AutoHotkey. No external libraries or DLL's needed. I created this as I was using tmplinshi's GIF class but wanted to have animations that supported better quality images and alpha transparency. Credit goes out to @tmplinshi for the animated G...
by RazorHalo
23 Aug 2023, 23:58
Forum: Ask for Help (v1)
Topic: ActiveX Shell.Explorer control and animated images
Replies: 2
Views: 285

ActiveX Shell.Explorer control and animated images

I have tried using animated images in my GUI's. I would like to use animated PNG or WEBP files instead of GIF's Using the code below the animated GIF plays fine, but animated PNG or WEBP only displays the first frame. URL = [PATH TO IMAGE]\731_128.gif Gui Add, ActiveX, xm w128 h128 vWB, Shell.Explor...
by RazorHalo
11 May 2022, 23:12
Forum: Ask for Help (v1)
Topic: ImageMagick API Wrapper - DllCall help Topic is solved
Replies: 4
Views: 680

Re: ImageMagick API Wrapper - DllCall help Topic is solved

Excellent information! I see now why it would be that way. again, much appreciated. Thank you for the detail.
by RazorHalo
10 May 2022, 14:38
Forum: Ask for Help (v1)
Topic: ImageMagick API Wrapper - DllCall help Topic is solved
Replies: 4
Views: 680

Re: ImageMagick API Wrapper - DllCall help Topic is solved

Thanks Swagfag! That is what I needed. How would I tell that the data type for the DllCall should have been Astr ? The documentation for ImageMagick listed that parameter as char and using this utility by jNizM https://www.autohotkey.com/boards/viewtopic.php?t=7342 I would have thought that the data...
by RazorHalo
10 May 2022, 01:17
Forum: Ask for Help (v1)
Topic: ImageMagick API Wrapper - DllCall help Topic is solved
Replies: 4
Views: 680

ImageMagick API Wrapper - DllCall help Topic is solved

I'm trying to write a wrapper for the ImageMagick C API but have hit a block. I don't think I'm doing the DllCall correctly for the MagickReadImage method. https://imagemagick.org/api/magick-image.php#MagickReadImage it is defined as this in the documentation: MagickBooleanType MagickReadImage(Magic...
by RazorHalo
14 Apr 2022, 14:19
Forum: Ask for Help
Topic: UnZipBuffer() fails if archive has a password
Replies: 1
Views: 1110

Re: UnZipBuffer() fails if archive has a password

I have taken a look at the source code and it seems that the password is only processed if it is the 5th parameter. making param #4 blank and the password as param #5 allows the function to work properly. The documentation states that if param #1 is a file name it ignores the 'size' param that shoul...
by RazorHalo
13 Apr 2022, 00:59
Forum: Ask for Help
Topic: UnZipBuffer() fails if archive has a password
Replies: 1
Views: 1110

UnZipBuffer() fails if archive has a password

I can't seem to get UnZipBuffer() to work if the archive has a password. I created the archive using ZipFileCreate() with a password. I can successfully unzip the archive to a file with UnZip() and also successfully extract/view it with 7zip GUI app. UnZipBuffer() will always throw exception stating...
by RazorHalo
10 Dec 2021, 23:48
Forum: AutoHotkey_H
Topic: Ahk2Exe Compile Error with Ahk_H Topic is solved
Replies: 1
Views: 2244

Re: Ahk2Exe Compile Error with Ahk_H Topic is solved

Ok, So I found this post which seems to have fixed the issue. I needed to run Ahk2Exe as Administrator and now it compiles with both boxes checked off with no errors. :D
viewtopic.php?p=377373#p377373
by RazorHalo
10 Dec 2021, 16:54
Forum: AutoHotkey_H
Topic: Ahk2Exe Compile Error with Ahk_H Topic is solved
Replies: 1
Views: 2244

Ahk2Exe Compile Error with Ahk_H Topic is solved

I am trying to compile my code with the Ahk2Exe compiler ver 1.1.33.10. I it will compile fine if I do not have any options checked off, and also if I have selected (none), MPRESS, or UPX. If I try to compile with either box checked off for: -Use compression to reduce size of resulting executable -E...
by RazorHalo
24 Nov 2020, 01:11
Forum: Ask for Help (v1)
Topic: ImageMagick - MagickCore C API - ReadImage() issue
Replies: 1
Views: 366

ImageMagick - MagickCore C API - ReadImage() issue

I have recently been trying to use the MagickCore C API for ImageMagick, and am trying to write a class for it. I'm using the latest build of ImageMagick found here 7.0.10 https://imagemagick.org/script/download.php I'm trying to recreate the example C script in given here https://imagemagick.org/sc...
by RazorHalo
18 Aug 2020, 23:04
Forum: Scripts and Functions (v1)
Topic: [Class] ControlMonitor - Monitor changes to controls
Replies: 0
Views: 517

[Class] ControlMonitor - Monitor changes to controls

I was looking for a way to always execute some code whenever a control is updated or changed by a user, but didn't want to have all my controlsset to the same gLable as I needed them to all have their own, and didn't want to keep track of always Gosub-ing around like crazy. I came up with this class...
by RazorHalo
08 Aug 2020, 21:23
Forum: Scripts and Functions (v1)
Topic: Remote Objects for AHKsock
Replies: 0
Views: 1200

Remote Objects for AHKsock

Remote Objects for AHKsock (adapted from Geekdudes RemoteObj.ahk ) Access and use objects remotely from another computer across LAN or internet - or share them between scripts on the same computer via "localhost" IP. Handle as many objects as you need all on the same port. AhkSock https://autohotke...
by RazorHalo
17 Feb 2020, 23:31
Forum: Ask for Help
Topic: AhkThread() from inline code vs separate file
Replies: 3
Views: 2972

Re: AhkThread() from inline code vs separate file

Ah Ok, I see now. For some reason I was thinking that AhkThread() treated the script file it created the thread from like it was part of the main code, just as if it had been inline code, not a completely separate script.
by RazorHalo
17 Feb 2020, 21:35
Forum: Ask for Help
Topic: AhkThread() from inline code vs separate file
Replies: 3
Views: 2972

AhkThread() from inline code vs separate file

Is there some difference for commands used on threads created with inline code vs separate script file? In the examples functions like Alias() and CritialObject() work fine when using a thread created within the main script project1:={Key:"this is a test"} cObj := CriticalObject(project1) threadD :=...
by RazorHalo
17 Feb 2020, 17:25
Forum: Ask for Help
Topic: ObjShare() example Topic is solved
Replies: 3
Views: 3739

Re: ObjShare() example Topic is solved

Thanks HotKeyIt, I did not realize that syntax was different.

I can't seem to find reference to that in the docs...is that just for _H specific functions called from within AhkThread()?
by RazorHalo
17 Feb 2020, 01:59
Forum: Ask for Help
Topic: ObjShare() example Topic is solved
Replies: 3
Views: 3739

ObjShare() example Topic is solved

First time trying out AutoHotKey_H v1 to see if the Multi-Threading will help my script. Reading the docs it seems pretty simple to use ObjShare() to be able to access my class method from the thread started with AhkThread() . I have been trying everything I can think of for hours now and I can't ev...
by RazorHalo
14 Apr 2019, 00:17
Forum: Scripts and Functions (v1)
Topic: GDI+ standard library 1.45 by tic
Replies: 438
Views: 245645

Re: GDI+ standard library 1.45 by tic

Ok well, I found the problem. I actually wasn't passing the Pointer to the graphicspath to the GDip_IsVisiblePathPoint Function. I was using OnMessage(0x200, "OnWM_MOUSEMOVE") to continuously detect where the mouse was and didn't realize that when running the hit test from that function I had not de...
by RazorHalo
13 Apr 2019, 21:02
Forum: Scripts and Functions (v1)
Topic: GDI+ standard library 1.45 by tic
Replies: 438
Views: 245645

Re: GDI+ standard library 1.45 by tic

It could be, I've tried updating some of them that are used in this sample script Gdip_StartPathFigure Gdip_ClosePathFigure Gdip_AddPathLine and it works now on x32 but only if I also take out the RotateAtCenter Function, I'm pretty sure its because that function uses the function Gdip_GetPathWorldB...
by RazorHalo
13 Apr 2019, 17:00
Forum: Scripts and Functions (v1)
Topic: GDI+ standard library 1.45 by tic
Replies: 438
Views: 245645

Re: GDI+ standard library 1.45 by tic

Thanks swagfag! I see now what I was missing. so now I have this: ;##################################################################################### ; HitTest Function by RazorHalo ;##################################################################################### Gdip_IsVisiblePathPoint(pPat...

Go to advanced search