ฟอรั่ม PSsix

Would you like to react to this message? Create an account in a few clicks or log in to continue.

ฟอรั่มของบล็อก http://pssix.blogspot.com


2 posters

    ช่วยหน่อยครับ คือผม สร้าง Boda จะให้ autolt ทำงาน

    avatar
    bossza991
    มือใหม่เพิ่งสมัคร
    มือใหม่เพิ่งสมัคร


    ช่วยหน่อยครับ คือผม สร้าง Boda  จะให้ autolt ทำงาน Empty ช่วยหน่อยครับ คือผม สร้าง Boda  จะให้ autolt ทำงาน Empty
    จำนวนข้อความ : 2
    ความนิยม : 0
    เข้าร่วมเมื่อ : 21/03/2014

    ช่วยหน่อยครับ คือผม สร้าง Boda  จะให้ autolt ทำงาน Empty ช่วยหน่อยครับ คือผม สร้าง Boda จะให้ autolt ทำงาน

    ตั้งหัวข้อ by bossza991 21/03/14, 06:21 pm

    ผมใส่โค๊ด

    [You must be registered and logged in to see this image.]


    ผมตั้ง hotkeyset ไว้แล้ว


    พอรันโปรแกรม

    [You must be registered and logged in to see this image.]



    ผมต้องการให้กด Stop ในนี้ได้ โดยไม่ต้องกด ESC ตาม Hotkeyset ต้องทำยังไงหรอ
    Arm
    Arm
    PSsix Member Super Class III
    PSsix Member Super Class III


    PSsix Master PSsix Program Coder
    จำนวนข้อความ : 268
    ความนิยม : 54
    เข้าร่วมเมื่อ : 31/03/2011
    อายุ : 26

    ช่วยหน่อยครับ คือผม สร้าง Boda  จะให้ autolt ทำงาน Empty Re: ช่วยหน่อยครับ คือผม สร้าง Boda จะให้ autolt ทำงาน

    ตั้งหัวข้อ by Arm 21/03/14, 10:23 pm

    ใส่ case ของปุ่ม stop เข้าไปครับ

    Ex.
    code พิมพ์ว่า:#include
    $Form1 = GUICreate("Form1", 172, 136)
    $Button1 = GUICtrlCreateButton("Stop", 32, 48, 107, 49)
    GUICtrlSetFont(-1, 12, 800, 0, "Tahoma")
    GUISetState(@SW_SHOW)

    While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
    Case $GUI_EVENT_CLOSE
    Exit
    Case $Button1
    MsgBox(0, "", "stop", -1, $Form1)

    EndSwitch
    WEnd

      เวลาขณะนี้ 28/04/24, 09:10 am