Search found 28 matches

by RazorHalo
14 Apr 2019, 00:17
Forum: Scripts and Functions
Topic: GDI+ standard library 1.45 by tic
Replies: 297
Views: 77845

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: 297
Views: 77845

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: 297
Views: 77845

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: 297
Views: 77845

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: 297
Views: 77845

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: 297
Views: 77845

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

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: 297
Views: 77845

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: 297
Views: 77845

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

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

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

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

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...
by RazorHalo
13 Apr 2018, 16:55
Forum: Ask For Help
Topic: Receive web API call with AHK
Replies: 4
Views: 503

Re: Receive web API call with AHK

Thanks BoBo. That's what I was looking for. Development is coming along quite well now. Podio seems to be a great platform and has a lot of capability even with their free plan. I use it to organize everything at my work and wanted to automate a bunch of stuff. I ended up using AHksock as there is v...
by RazorHalo
28 Mar 2018, 00:08
Forum: Ask For Help
Topic: Receive web API call with AHK
Replies: 4
Views: 503

Receive web API call with AHK

I am using AHK to interact with Podio for organizing my work projects. I can send WinHTTP requests and get data back no problem. Podio allows you to use hooks to automatically send data out when Podio item are created/updated/deleted etc. The hooks are sent out to any URL you specify. I would like t...
by RazorHalo
06 Sep 2017, 22:55
Forum: Scripts and Functions
Topic: [Class] ImageButton
Replies: 124
Views: 40044

Re: [Class] ImageButton

Hi, I'm using the ImageButton Class with icons that have a transparent background. It works flawlessly. But now I'm using it in conjunction with the FileInstall method to used image resources in the compiled script as described in this thread. https://autohotkey.com/boards/viewtopic.php?f=5&t=4990&h...
by RazorHalo
26 Jan 2017, 15:32
Forum: AutoGUI
Topic: AutoGUI - Script Editor, GUI Designer, Debugger and Tools
Replies: 339
Views: 174566

Re: AutoGUI - GUI Designer and Script Editor

I don't use the window cloning tool. If you use my mods then you reload the GUI via the file menu>>Import GUI The code would need to be created from that version of AutoGUI w/the mods to reload properly. I have a GUI I have been working on for a while that has ~100 controls on it and it reloads ever...
by RazorHalo
24 Jan 2017, 10:34
Forum: Ask For Help
Topic: Excel Com - Find exact match in cell [SOLVED] Topic is solved
Replies: 2
Views: 1167

Re: Excel Com - Find exact match in cell Topic is solved

Thanks BlackholyMan - I was so close, it was a matter of how many comma's i had separating my parameters. To find an exact match this works just fine. This will return the row of the exact match in the cell range of A:A that match 5000 exactly. NewItemRow := xl.Range("A:A").Find("5000",,,lookat:=1)....
by RazorHalo
24 Jan 2017, 00:54
Forum: Ask For Help
Topic: Excel Com - Find exact match in cell [SOLVED] Topic is solved
Replies: 2
Views: 1167

Excel Com - Find exact match in cell [SOLVED] Topic is solved

I've been googling and searching in vain for hours now. I'm trying to use COM to find a cell with a specific value, i have no trouble using this: NewItemRow := xl.Range("A:A").Find("5000").Row Which will stop at the first cell it finds "5000" in. Problem is it will also find any cell that contains 5...
by RazorHalo
23 Jan 2017, 15:23
Forum: AutoGUI
Topic: AutoGUI - Script Editor, GUI Designer, Debugger and Tools
Replies: 339
Views: 174566

Re: AutoGUI - GUI Designer and Script Editor

I've some mods to the code and this is what I use to reload complex GUI's I build with AutoGUI. This what I have modified for ver 1.3.3a - the latest version as of this post. [CODE removed, requested by Topic author. For modifications/fork, please open a separate topic. Sorry for any inconveniences....

Go to advanced search