Search found 181 matches
- 19 Mar 2018, 09:26
- Forum: Ask for Help (v1)
- Topic: AHK + Rainmeter
- Replies: 3
- Views: 3106
Re: AHK + Rainmeter
I am kinda building a framework for AHK based on Rainmeter with some added twists and such and hope to someday release it. It is not intended as a Rainmeter replacement though and should not ever be. It should be an addon to Rainmeter for stuff Rainmeter just cant do or cant do more efficient than A...
- 19 Mar 2018, 07:25
- Forum: Ask for Help (v1)
- Topic: GDI+ Gdip_AlphaMask() not preserving png transparency
- Replies: 6
- Views: 2552
GDI+ Gdip_AlphaMask() not preserving png transparency
Firstly, is Tic still active and is GDI+ lib being maintained? I noticed Gdip_AlphaMask() function is missing in Gdip.ahk and i dont know why. Its a very useful function. Secondly, the function works great but theres a problem with it, the transparency from a png image becomes white. It supposed to ...
- 17 Mar 2018, 12:31
- Forum: Ask for Help (v1)
- Topic: Attach window between desktop icons and background? Topic is solved
- Replies: 9
- Views: 3192
Re: Attach window between desktop icons and background? Topic is solved
Holly ****! Finally! Thank you!
- 17 Mar 2018, 12:22
- Forum: Ask for Help (v1)
- Topic: Attach window between desktop icons and background? Topic is solved
- Replies: 9
- Views: 3192
Re: Attach window between desktop icons and background? Topic is solved
Thanks for speedy reply. Well, i didnt try the V2 but the V1 is not working tho. It is not being attached. The WorkerW variable in: Loop (List) { If (Found) { WorkerW := List%A_Index% Break } If (DllCall("User32.dll\FindWindowExW", "Ptr", List%A_Index%, "Ptr", 0, "Str", "SHELLDLL_DefView", "UPtr", 0...
- 17 Mar 2018, 10:21
- Forum: Ask for Help (v1)
- Topic: Attach window between desktop icons and background? Topic is solved
- Replies: 9
- Views: 3192
Attach window between desktop icons and background? Topic is solved
Is it possible to translate this code into AHK code?
https://www.codeproject.com/articles/85 ... in-windows
I just want a nice gui / gadget made in AHK code to be on desktop behind icons.
Ive tried some DllCall stuff but got nowhere. #
https://www.codeproject.com/articles/85 ... in-windows
I just want a nice gui / gadget made in AHK code to be on desktop behind icons.
Ive tried some DllCall stuff but got nowhere. #
- 16 Mar 2018, 11:11
- Forum: Ask for Help (v1)
- Topic: AHK to instruct Windows to copy/move files/folders
- Replies: 3
- Views: 1204
Re: AHK to instruct Windows to copy/move files/folders
Ok, using the following crashes explorer.exe (makes it unresponsive for a brief moment then it restarts itself) Lib: https://github.com/denolfe/AutoHotkey/blob/master/lib/ShellFileOperation.ahk GuiDropFiles: ShellFileOperation("FO_COPY", A_GuiEvent, A_MyDocuments "\","FOF_ALLOWUNDO|FOF_SIMPLEPROGRES...
- 16 Mar 2018, 10:44
- Forum: Ask for Help (v1)
- Topic: AHK to instruct Windows to copy/move files/folders
- Replies: 3
- Views: 1204
Re: AHK to instruct Windows to copy/move files/folders
And then i google C#/C++ code, get a name for a call "SHFileOperation", enter that in search and get instant results. Gonna test how this works on Win 10 and report back. If those functions work, i wonder why is there no native AHK call or at least a link so something like this in the Docs. I think ...
- 16 Mar 2018, 10:32
- Forum: Ask for Help (v1)
- Topic: AHK to instruct Windows to copy/move files/folders
- Replies: 3
- Views: 1204
AHK to instruct Windows to copy/move files/folders
Is it possible to instruct Windows to copy or move files rather then using FileMove / FileCopy? Some form of tricking a drag & drop gui element to be a link to a directory/folder? I have a gui with drag & drop to move or copy files around as a shortcut. Problem is, it is unreliable in itself when co...
- 15 Mar 2018, 14:04
- Forum: Ask for Help (v1)
- Topic: Possible to crop an image to become round with GDI+? Topic is solved
- Replies: 2
- Views: 748
Re: Possible to crop an image to become round with GDI+? Topic is solved
Thanks! Amazing. I just could not find this.
- 15 Mar 2018, 13:11
- Forum: Ask for Help (v1)
- Topic: Possible to crop an image to become round with GDI+? Topic is solved
- Replies: 2
- Views: 748
Possible to crop an image to become round with GDI+? Topic is solved
Im trying to make some sort of profile image for a gui with GDI+ but i need it to able to turn a normal image into a round shaped one.
Is this possible? Did not find anything regarding this.
Is this possible? Did not find anything regarding this.
- 13 Mar 2018, 12:31
- Forum: Ask for Help (v1)
- Topic: ComObjQuery / vtable
- Replies: 21
- Views: 4694
Re: ComObjQuery / vtable
Finally!!!!! Thanks man! Ive been trying to figure all this out for a very long time. We did it! Ill also have to edit the right click context for "Set as desktop background" to point to my script now. xD Edit, also, no need to make sure WorkerW is the handle, its switches it automatically. Now, if ...
- 13 Mar 2018, 11:53
- Forum: Ask for Help (v1)
- Topic: ComObjQuery / vtable
- Replies: 21
- Views: 4694
Re: ComObjQuery / vtable
Yeah, ive seen that everyone said how IActiveDesktop was not used anymore past Windows XP but still worked in Vista and 7 and i think i read 8 as well. But all those codes i saw are for C/C++ and i dont know how and if possible to translate into AHK code. Heres one site i saw for Win 7 apparently wo...
- 13 Mar 2018, 11:18
- Forum: Ask for Help (v1)
- Topic: ComObjQuery / vtable
- Replies: 21
- Views: 4694
Re: ComObjQuery / vtable
This works, but still no fade effect.
Ok, so i experimented a bit and its the AD_APPLY_SAVE that triggers the change (but instant). Trying different combinations but so far no luck.
Ok, so i experimented a bit and its the AD_APPLY_SAVE that triggers the change (but instant). Trying different combinations but so far no luck.
- 13 Mar 2018, 09:58
- Forum: Ask for Help (v1)
- Topic: ComObjQuery / vtable
- Replies: 21
- Views: 4694
Re: ComObjQuery / vtable
Doesnt seem to do anything. Am i missing a mistake i made? CLSID_ActiveDesktop := "{75048700-EF1F-11D0-9888-006097DEACF9}" IID_IActiveDesktop := "{f490eb00-1240-11d1-9888-006097deacf9}" cchWallpaper := 260 VarSetCapacity(file, cchWallpaper * 2, 0) file := A_Desktop . "\the_purge__election_year___vec...
- 13 Mar 2018, 09:18
- Forum: Ask for Help (v1)
- Topic: ComObjQuery / vtable
- Replies: 21
- Views: 4694
Re: ComObjQuery / vtable
Late to this conversation but hope someone might still be looking at this and have an answer. I found some info about IActiveDesktop to be able to change a wallpaper with fade like when dekstop wallpaper slide is enabled. Can you somehow make a code like the above to also set a wallpaper via IActive...
- 15 Feb 2018, 00:43
- Forum: Ask for Help (v1)
- Topic: Can gdi+ load custom fonts from .ttf files? Topic is solved
- Replies: 6
- Views: 1778
Re: Can gdi+ render on desktop behind icons and can i somehow load custom fonts from .ttf files? Topic is solved
Nevermind! it works. I goofed. Grrrr. SORRY!
Thanks noname!
Thanks noname!
- 15 Feb 2018, 00:36
- Forum: Ask for Help (v1)
- Topic: Can gdi+ load custom fonts from .ttf files? Topic is solved
- Replies: 6
- Views: 1778
Re: Can gdi+ render on desktop behind icons and can i somehow load custom fonts from .ttf files? Topic is solved
Sorry for late reply!
Well, it does not seem to work. Nothing is showing up. Can someone confirm if it works or not on 64 bit systems or maybe i goofed somewhere?
Well, it does not seem to work. Nothing is showing up. Can someone confirm if it works or not on 64 bit systems or maybe i goofed somewhere?
- 12 Feb 2018, 14:07
- Forum: Ask for Help (v1)
- Topic: ImageWait function ... how it works and how to call?
- Replies: 9
- Views: 3079
Re: ImageWait function ... how it works and how to call?
Now with imagesearch in a loop, despite the inclusion of a sleep, I have a cpu commitment of 3-4%. According to you with the approach of imagewait the consumption of resources improves? Nobody has made such claims so there is no according to anyone. But since you mentioned it, yes. A higher interva...
- 12 Feb 2018, 13:32
- Forum: Ask for Help (v1)
- Topic: ImageWait function ... how it works and how to call?
- Replies: 9
- Views: 3079
Re: ImageWait function ... how it works and how to call?
No idea. xD I just tried to recreate it from the posts and among them was this from a guest i believe was JSLover Last post in: https://autohotkey.com/board/topic/50106-wait-for-image-to-be-found/ I believe in 2007, the last time I edited that function ByRef params could not be optional, but I will ...
- 12 Feb 2018, 11:06
- Forum: Ask for Help (v1)
- Topic: ImageWait function ... how it works and how to call?
- Replies: 9
- Views: 3079
Re: ImageWait function ... how it works and how to call?
I never worked with image search so please take it with the grain of salt. Based on what i could gather from the links provided by teosc's and as boiler kindly suggested, i guess it would look something like this? This is my first try at recreating it: ; ImageWait( found X, found Y, rectangle x to s...