Save Image Handle to file

Get help with using AutoHotkey and its commands and hotkeys
Ashtefere
Posts: 12
Joined: 02 Dec 2017, 11:14

Save Image Handle to file

06 Jan 2018, 19:04

Just as it says. I want to save an image handle to a file. All I get is a short int string.

Im using LoadImage to get the ICO file from an exe, and I want to save it to a file.

This script does this action many times a second by necessity, so it needs to be a small, fast function.

Any help is appreciated!
Rindis
Posts: 213
Joined: 23 Dec 2013, 13:58
Location: Norway

Re: Save Image Handle to file

07 Jan 2018, 15:01

saving something to a file many times per second is probably not going to work, saving takes time.
User avatar
noname
Posts: 509
Joined: 19 Nov 2013, 09:15

Re: Save Image Handle to file

08 Jan 2018, 05:12

If you are looking to " extract the ico bitmap once and use many times " you can store the handles in an array like the example in loadpicture() if you have a recent ahk version.I do not see what would be the use of saving to file?

https://autohotkey.com/docs/commands/LoadPicture.htm

An interesting read for handles is here: https://autohotkey.com/docs/misc/ImageHandles.htm
soundcloud.com/user-32706894

Return to “Ask For Help”

Who is online

Users browsing this forum: boiler, coyes, guest3456, johnliem and 217 guests