Search found 35 matches

by RazorHalo
24 Nov 2020, 01:11
Forum: Ask For Help
Topic: ImageMagick - MagickCore C API - ReadImage() issue
Replies: 1
Views: 87

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
Topic: [Class] ControlMonitor - Monitor changes to controls
Replies: 0
Views: 253

[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
Topic: Remote Objects for AHKsock
Replies: 0
Views: 853

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

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

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

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

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
Topic: GDI+ standard library 1.45 by tic
Replies: 385
Views: 145445

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
Topic: GDI+ standard library 1.45 by tic
Replies: 385
Views: 145445

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
Topic: GDI+ standard library 1.45 by tic
Replies: 385
Views: 145445

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...
by RazorHalo
13 Apr 2019, 15:25
Forum: Scripts and Functions
Topic: GDI+ standard library 1.45 by tic
Replies: 385
Views: 145445

Re: GDI+ standard library 1.45 by tic

I'm now trying to do a hit test to see if the mouse is inside that graphics path using the GDI+ function "GdipIsVisiblePathPoint" https://docs.microsoft.com/en-us/previous-versions//ms535573(v=vs.85) And have wrote the wrapper as: Gdip_IsVisiblePathPoint(pPath, x, y, pGraphics) { Ptr := A_PtrSize ? ...
by RazorHalo
13 Apr 2019, 13:28
Forum: Scripts and Functions
Topic: GDI+ standard library 1.45 by tic
Replies: 385
Views: 145445

Re: GDI+ standard library 1.45 by tic

It's seems to be failing for you when trying to create the layered Gui but I don't see why. I've looked at a couple of examples of creating a layered Gui to the drawing on and don't see anything out of place there...
by RazorHalo
13 Apr 2019, 12:01
Forum: Scripts and Functions
Topic: GDI+ standard library 1.45 by tic
Replies: 385
Views: 145445

Re: GDI+ standard library 1.45 by tic

iPhilip As posted, the sample script generates an error. What is the error your getting? I'm using the Gdip_All.ahk file from the first post of this thread and only the functions defined within the sample script itself as far as I can tell. On my system it generates a Gui with a rotating square in ...
by RazorHalo
13 Apr 2019, 00:22
Forum: Ask For Help
Topic: Rotating a Graphics Path in GDI+ Topic is solved
Replies: 3
Views: 836

Re: Rotating a Graphics Path in GDI+ Topic is solved

I have figured it out. It turns out I was using A_PtrSize ? "UPtr*" : "UInt*" with the asterisk when it should have been A_PtrSize ? "UPtr" : "UInt" I have posted the completed Matrix functions and sample script in the GDI+ main thread here https://www.autohotkey.com/boards/viewtopic.php?f=6&t=6517&...
by RazorHalo
13 Apr 2019, 00:15
Forum: Scripts and Functions
Topic: GDI+ standard library 1.45 by tic
Replies: 385
Views: 145445

Re: GDI+ standard library 1.45 by tic

Thanks guys, after playing around for a few hours I was able to get it working. Here are the GDip Matrix functions I wrapped for the rotations and a sample script to see it implemented. The thing that got me stuck the most was not realizing the order the transformations were applied with the MatrixO...
by RazorHalo
12 Apr 2019, 01:20
Forum: Scripts and Functions
Topic: GDI+ standard library 1.45 by tic
Replies: 385
Views: 145445

Re: GDI+ standard library 1.45 by tic

Hi All, I was wondering if using DllCall can we only access the Functions of GDI+ or is there also a way to use it's methods. I want to rotate a graphicspath on the center of its bounding rectangle and it would be a lot easier if I could use the RotateAt method. It looks to me like I can only access...
by RazorHalo
09 Apr 2019, 22:10
Forum: Ask For Help
Topic: Rotating a Graphics Path in GDI+ Topic is solved
Replies: 3
Views: 836

Re: Rotating a Graphics Path in GDI+ Topic is solved

I have read that post. I have searched for quite a while but not found an answer. That post uses RotateWorldTransfom,which will rotate the entire layered window and all the graphics paths that are drawn on it. I have displayed several shapes with graphics paths and used RotateWorldTransform function...
by RazorHalo
09 Apr 2019, 20:02
Forum: Ask For Help
Topic: Rotating a Graphics Path in GDI+ Topic is solved
Replies: 3
Views: 836

Rotating a Graphics Path in GDI+ Topic is solved

Been stumped on this for a few days now, I'm just trying to rotate a Graphics path in GDI+. I can't seem to do it. I know I can use Gdip_RotateWorldTransform but that rotates all my graphics paths. I just want to rotate one. I have studied the MSDN docs on the Graphics Transform methods and think th...
by RazorHalo
06 May 2018, 23:29
Forum: Ask For Help
Topic: Receive web API call with AHK
Replies: 4
Views: 1201

Re: Receive web API call with AHK

I have done up my tutorial which can be found here https://autohotkey.com/boards/viewtopic ... 93#p216793
by RazorHalo
06 May 2018, 23:27
Forum: Tutorials
Topic: Podio Web API Tutorial
Replies: 0
Views: 3065

Podio Web API Tutorial

I have been working with Podio to organize the shop i work at and have needed it to do things automatically and have ways to create, modify and delete items in it which can't be accomplished with its own web interface. Some things could be done with it's Globiflow integration, but that is another ac...

Go to advanced search