Jump to content

Recommended Posts

Posted (edited)

Hi all, I am new to AutoIt. I am trying to make a script to search and display picture in the picture box. Please see attached GUI. If first 4 digit of the input entered matched to any of the picture name in picture folder (picture folder can be in same location where script is) the that picture will be displayed in the picture area in the GUI. And also need Search another button.

Your help is greatly appreciated. Thanks in advance!

-----------------

#include <ButtonConstants.au3>

#include <EditConstants.au3>

#include <GUIConstantsEx.au3>

#include <StaticConstants.au3>

#include <WindowsConstants.au3>

#Region ### START Koda GUI section ### Form=c:\users\surinder pal singh\desktop\autoit-projects\amd spec search\cpu_spec_search.kxf

$Form1_1 = GUICreate("Form1", 547, 582, 188, 118)

$Label1 = GUICtrlCreateLabel("SPEC SERACH", 192, 16, 137, 28)

GUICtrlSetFont(-1, 14, 400, 0, "MS Sans Serif")

GUICtrlSetColor(-1, 0x008000)

$Label2 = GUICtrlCreateLabel("MODEL:", 112, 64, 54, 20)

GUICtrlSetFont(-1, 10, 400, 0, "MS Sans Serif")

$Input1_Model = GUICtrlCreateInput("", 192, 64, 153, 21)

$Button1 = GUICtrlCreateButton("SEARCH", 360, 62, 81, 25)

$Button2 = GUICtrlCreateButton("EXIT", 464, 529, 73, 33)

$Pic1 = GUICtrlCreatePic("C:\Users\Surinder Pal Singh\Desktop\guipic1.jpg", 80, 96, 380, 476)

GUISetState(@SW_SHOW)

#EndRegion ### END Koda GUI section ###

While 1

$nMsg = GUIGetMsg()

Switch $nMsg

Case $GUI_EVENT_CLOSE

Exit

EndSwitch

WEnd

-----------------

Spec_Search.au3

Edited by BNB
Posted

I dont see heare any script, this isnt "write it for me" forum, so post script when you get suck on something and post where do you think that your stuck, and not something that dont have anything related to something.

What did you try to achive your goal and what did not work?

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 

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...