ฟอรั่ม 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


4 posters

    ถามเกี่ยวกับการทำ autoinstall

    avatar
    polamin_thrash
    PSsix Member
    PSsix Member


    ถามเกี่ยวกับการทำ autoinstall Empty
    จำนวนข้อความ : 29
    ความนิยม : 0
    เข้าร่วมเมื่อ : 26/11/2010

    ถามเกี่ยวกับการทำ autoinstall Empty ถามเกี่ยวกับการทำ autoinstall

    ตั้งหัวข้อ by polamin_thrash 22/03/11, 12:12 pm

    คือว่า คำสั่ง mouseclick ถึงจะปรับหน้าจอเท่ากันแล้ว
    แต่ในpc และ notebook กับตำแหน่งไม่ตรงกัน

    เนื่องจากบางโปรแกรม ที่จะใช้ auto ลง ต้องมีการคลิกบ้างเลยเป็นปันหาอย่างมากๆ

    **ถามเพิ่มผมเคยโหลดโปรแกรม internet download manager มา

    แล้ว ผู้ทำ ทำแบบ autoinstall
    ลงด้วยการเม้าคลิก auto ล้วนๆ
    แต่ไม่มีปันหาเลยทั้งpc และ notebook
    ถ้าหากใช้ autoit คลิกแม่นแบบนั้นไม่ได้ช่วยแนะนำ โปรแกรมอื่นที่ช่วยทำauto install
    แบบเฉพาะทางได้ไหมครับ

    ขอบคุนมากๆครับ
    avatar
    createrx
    มือใหม่เพิ่งสมัคร
    มือใหม่เพิ่งสมัคร


    ถามเกี่ยวกับการทำ autoinstall Empty
    จำนวนข้อความ : 4
    ความนิยม : 0
    เข้าร่วมเมื่อ : 22/03/2011

    ถามเกี่ยวกับการทำ autoinstall Empty Re: ถามเกี่ยวกับการทำ autoinstall

    ตั้งหัวข้อ by createrx 22/03/11, 02:29 pm

    ใช้การกดปุ่ม คีย์บอร์ดแทนดีกว่า send("{ENTER}") ประมาณนี้
    avatar
    polamin_thrash
    PSsix Member
    PSsix Member


    ถามเกี่ยวกับการทำ autoinstall Empty
    จำนวนข้อความ : 29
    ความนิยม : 0
    เข้าร่วมเมื่อ : 26/11/2010

    ถามเกี่ยวกับการทำ autoinstall Empty Re: ถามเกี่ยวกับการทำ autoinstall

    ตั้งหัวข้อ by polamin_thrash 22/03/11, 09:32 pm

    อันนั้น มันง่ายๆ ครับ-_-
    POS
    POS
    PSsix
    PSsix


    ถามเกี่ยวกับการทำ autoinstall Empty ถามเกี่ยวกับการทำ autoinstall Empty ถามเกี่ยวกับการทำ autoinstall Empty
    จำนวนข้อความ : 1152
    ความนิยม : 326
    เข้าร่วมเมื่อ : 19/07/2010

    ถามเกี่ยวกับการทำ autoinstall Empty Re: ถามเกี่ยวกับการทำ autoinstall

    ตั้งหัวข้อ by POS 23/03/11, 07:19 am

    ใช้คำสั่ง ControlCommand หรือ ControlSend (เหมือนว่าผมเคยตอบไปแล้ว)
    sak20102005
    sak20102005
    ระงับสมาชิก
    ระงับสมาชิก


    ถามเกี่ยวกับการทำ autoinstall Empty
    จำนวนข้อความ : 96
    ความนิยม : 4
    เข้าร่วมเมื่อ : 07/04/2011

    ถามเกี่ยวกับการทำ autoinstall Empty Re: ถามเกี่ยวกับการทำ autoinstall

    ตั้งหัวข้อ by sak20102005 07/04/11, 04:44 am

    การทำ AutoInstall มีอยู่หลากหลายวิธี ต้องเจาะจงว่าจะเลือกแบบไหน? อย่างไร? เช่น
    ติดตั้งพร้อมลงทะเบียนให้อัตโนมัติ เป็นต้น ลองดูคำสั่งนี้ ท่านที่ไม่คุ้น เห็นแล้วอาจงง
    แต่ถ้าสงสัยกับคำสั่งตรงไหน ผมอนุญาตให้ถามได้ ท่านจะได้เกิดความเข้าใจ
    Download: AutoPlay Menu Builder 6.0 Auto Installer&Register Click here

    Code:
    #NoTrayIcon
    #include <Process.au3>

    Opt("MustDeclareVars", 1)

    Global $target = @ProgramFilesDir&'\AutoPlay Menu Builder'
    Global $filepath = @ProgramFilesDir&'\AutoPlay Menu Builder\APMBuilder.exe'
    Global $sourcefolder = @ScriptDir&'\AutoPlay Menu Builder 6.0'
    Global $propath = @ProgramFilesDir&'\AutoPlay Menu Builder\APMB.6.LOM.exe'
    Global $active_title = '- AutoPlay Menu Builder v6.0 Build 1855 Patch + Keygen by Kindly -'
    Global $keyname = 'HKEY_CURRENT_USER\Software\AutoPlay Menu Builder\Registration'
    Global $valuename1 = 'DontShowNAG', $valuename2 = 'Name', $valuename3 = 'Code', $var
    Global $type = 'REG_SZ', $value1 = 1, $value2 = 'Administrator', $pid, $i = 0, $btn

    $btn = MsgBox(36, "AutoPlay Menu Builder 6.0", "Do you wanted to install?", 60)
    If $btn = 7 Then Exit
    $pid = Run($sourcefolder&'\'&'apmsetup.exe /S /NCRC')
    ProgressOn("Setup in progress", "", "0%", 350, 320, 16)
    While ProcessExists($pid)
       $i += 1
       ProgressSet($i, $i&'%', "Installing..please wait!")
       Sleep($i)
        If $i >=100 Then
           ProgressSet(100, 100&'%', "Installing..please wait!")
           ExitLoop
       ElseIf Not ProcessExists($pid) Then
           ExitLoop
       EndIf
    WEnd
    ProgressSet(100, 100&'%', "Installing..please wait!")
    Sleep(500)
    ProgressOff()
    If FileCopy($sourcefolder&'\'&'APMB.6.LOM.exe', $target, 1) = 0 Then Exit
    Run   ($propath, "", @SW_HIDE)
    If @error Then Exit
    If WinWait("[CLASS:TSetupForm]", "", 2)Then
        WinSetState("[CLASS:TSetupForm]", "", @SW_HIDE)
    EndIf
    If WinWaitNotActive($active_title, "", 2)Then
    Send("3+{TAB}")
    If WinWaitNotActive($active_title, "", 2)Then
    Send("{ENTER}")
    If WinWaitNotActive($active_title, "", 2)Then
    Send("{ENTER}")
    If WinWaitNotActive($active_title, "", 2)Then
    Send("4+{TAB}")
    EndIf
    EndIf
    EndIf
    EndIf
    $var = ControlGetText("[CLASS:TSetupForm]", "", "TMemo1")
    If Not @error Then
        RegWrite($keyname, $valuename1, $type, $value1)
        RegWrite($keyname, $valuename2, $type, $value2)
        RegWrite($keyname, $valuename3, $type, $var)
        If Not @error Then
            WinClose("[CLASS:TSetupForm]")
           If FileCreateShortcut($filepath, @DesktopDir&'\APMBuilder.lnk')Then
               MsgBox(64, "", "Installation complete.", 2)
             Exit
           EndIf
        EndIf
    EndIf

      เวลาขณะนี้ 27/04/24, 05:25 am