caramen Posted April 20, 2015 Posted April 20, 2015 These line are in my script Variable declaration : $Picture = @ScriptDir & "\spyfurryMINI.jpg" Gui Creation : Global $Picture1 = GUICtrlCreatePic ( $Picture , 190, 10, 250, 376 ) One condition : If $Debutscan100=100 Then EndIf My Question : How can i change the picture of this gui ? "after GUI creation ... " I mean witch line of code can i add into the condition to change the picture wtf is this noob question My video tutorials : ( In construction ) || My Discord : https://discord.gg/S9AnwHw How to Ask Help || UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote Spoiler Water's UDFs:Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - Wiki Tutorials:ADO - Wiki
SorryButImaNewbie Posted April 20, 2015 Posted April 20, 2015 Was alweys bad at creating GUIs from code, have you tried GuiCtrlSetData? (not my idea, found it here: >link )
Solution MikahS Posted April 20, 2015 Solution Posted April 20, 2015 (edited) To update the picture after the dialog box is displayed just use GUICtrlSetImage(). Have a look at the helpfile for GUICtrlCreatePic there are many useful tips in the Remarks section. Edited April 20, 2015 by MikahS Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ
caramen Posted April 20, 2015 Author Posted April 20, 2015 Damn i checked but i missed that ... thx. am trying and checking marking as solved. My video tutorials : ( In construction ) || My Discord : https://discord.gg/S9AnwHw How to Ask Help || UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote Spoiler Water's UDFs:Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - Wiki Tutorials:ADO - Wiki
MikahS Posted April 20, 2015 Posted April 20, 2015 My pleasure. Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now