Save Image Handle to file

Get help with using AutoHotkey and its commands and hotkeys
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!
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
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?

An interesting read for handles is here:

Return to “Ask For Help”

Who is online

Users browsing this forum: boiler, darlagirl33, Google [Bot], pond_pop, Pszemo, saph, Smile_, Xtra and 122 guests