Jump to content

Recommended Posts

Posted (edited)

Sorry, i looked all over the place and am quite suprised that i was unable to find any information on this.

Mainly I'm curious as to how i can incorperate images used in the gui with the compilex exe without having the image extracted to a temporary folder for use.

Thx and sorry for the dumb question.

Edited by Swimming_BIrd
Posted

hrm, if i set the destination of the file to a temp directory and the location of the image to be the temp directory would that work?

how often/when is the temp folder cleaned?

Posted

hrm, if i set the destination of the file to a temp directory and the location of the image to be the temp directory would that work?

Most definitely -- this is how I handle GUI images in my scripts.

how often/when is the temp folder cleaned?

It is best practice to delete this file yourself when your script is exiting:

local $picPath = @tempDir & "\guiPic.bmp"
guiCtrlCreatePic($picPath, ...)
...
fileDelete($picPath)

Regards,

Alex Peters

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...