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

    autoit portable

    Monaliza
    Monaliza
    PSsix Member Super Class III
    PSsix Member Super Class III


    PSsix Program Coder
    จำนวนข้อความ : 213
    ความนิยม : 7
    เข้าร่วมเมื่อ : 03/10/2010

    autoit portable Empty autoit portable

    ตั้งหัวข้อ by Monaliza 08/06/11, 05:53 pm

    โปรแกรมชุด autoit v3 นี้เราทำเป็นแบบ
    portable ได้ไหมครับ
    แบบใส่แฟรช์ไดร์ไว้ เปิดใช้ได้เลยไม่ต้องติดตั้ง
    em231
    Arm
    Arm
    PSsix Member Super Class III
    PSsix Member Super Class III


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

    autoit portable Empty Re: autoit portable

    ตั้งหัวข้อ by Arm 08/06/11, 06:38 pm

    copy โปรแกรม autoit จาก %programfiles%\autoit3 ไปใส่ไว้ในแฟลชไดรฟ์ได้เลยครับ
    em219
    newsak2005
    newsak2005
    ระงับสมาชิก
    ระงับสมาชิก


    autoit portable Empty
    จำนวนข้อความ : 115
    ความนิยม : 0
    เข้าร่วมเมื่อ : 08/05/2011

    autoit portable Empty Re: autoit portable

    ตั้งหัวข้อ by newsak2005 08/06/11, 07:21 pm

    เมื่อก่อนผมลงความรู้เกี่ยวกับการทำโปรแกรม Portable ไว้ให้ศึกษา

    แต่ไม่ไช่ที่นี่นะ ลงไว้ให้ที่บอร์ดอื่นนานมาแล้ว ป่านนี้บทความคงเป็นอดีตไปแล้ว

    แต่ก็ยังพอหาอ่านเพื่อศึกษาได้ ลองใช้อากู๋ Search หาดู
    Arm
    Arm
    PSsix Member Super Class III
    PSsix Member Super Class III


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

    autoit portable Empty Re: autoit portable

    ตั้งหัวข้อ by Arm 08/06/11, 10:18 pm

    ถ้าจะทำเป็น portable ผมแนะนำให้ใช้ Thinstall ครับ (ผมก็ใช้ตัวนี้อยู่) em218
    POS
    POS
    PSsix
    PSsix


    autoit portable Empty autoit portable Empty autoit portable Empty
    จำนวนข้อความ : 1152
    ความนิยม : 326
    เข้าร่วมเมื่อ : 19/07/2010

    autoit portable Empty Re: autoit portable

    ตั้งหัวข้อ by POS 09/06/11, 10:59 am

    มีคนทำไว้ ยังไม่ได้ลอง

    [You must be registered and logged in to see this link.]
    Monaliza
    Monaliza
    PSsix Member Super Class III
    PSsix Member Super Class III


    PSsix Program Coder
    จำนวนข้อความ : 213
    ความนิยม : 7
    เข้าร่วมเมื่อ : 03/10/2010

    autoit portable Empty Re: autoit portable

    ตั้งหัวข้อ by Monaliza 09/06/11, 05:39 pm

    ลอง copy จาก %programfiles%\autoit3 ไปใส่ไว้ในแฟลชไดรฟ์ ใช้ได้เลยไม่มีปัญหา
    แต่ใช้งานค่อนข้างยาก
    ที่คุณ pos แนะนำยังไม่ได้ลองเดี่ยวจะเอาไปลองดู
    แต่ไม่รู้เว็บนี้ไว้ใจได้หรือเปล่าเรื่อง ไวรัส กล้วแอบสอดไส้มา
    ([You must be registered and logged in to see this link.]
    ขอบคุณทุกท่านที่ให้คำแนะนำ
    Monaliza
    Monaliza
    PSsix Member Super Class III
    PSsix Member Super Class III


    PSsix Program Coder
    จำนวนข้อความ : 213
    ความนิยม : 7
    เข้าร่วมเมื่อ : 03/10/2010

    autoit portable Empty Re: autoit portable

    ตั้งหัวข้อ by Monaliza 20/06/11, 06:59 pm

    ถ้าเรา copy เฉพาะตัวโปรแกรม Autoit3.exe เป็นตัวแปลคำสั่งจาก script.au3
    ไปเป็นภาษาเครื่อง เหมือนตัว cmd.exe ที่แปลคำสั่งดอสเป็นภาษาเครื่อง
    ไปไว้ ที่windows\system 32
    แล้วเขียนคีย์ รีจิสทรี ให้ตัว windows รู้จักนามสกุล .au3
    เช่น
    หากเขียนโค้ด Run("calc.exe") ในnotepad แล้ว save เป้นไฟล์ testcalc.au3
    หากดับเบิลคลิ้กที่ไฟล์ testcalc.au3 ก็น่าจะทำงานได้เลย โดยไม่ต้องติดต้องโปรแกรม autoit v3
    เหมือน batch file กับพวก vbs
    เป็นแนวคิดเฉย ๆนะครับ ยังไม่ได้ลองทำ เพราะไม่รู้ว่า ต้องเขียนคีย์ไหนให้windows รุ้จักนามสกุล
    .au3

    ใครมีความคิดเห็นดี ๆมาแชร์กันได้นะครับ
    Monaliza
    Monaliza
    PSsix Member Super Class III
    PSsix Member Super Class III


    PSsix Program Coder
    จำนวนข้อความ : 213
    ความนิยม : 7
    เข้าร่วมเมื่อ : 03/10/2010

    autoit portable Empty Re: autoit portable

    ตั้งหัวข้อ by Monaliza 21/06/11, 02:48 pm

    จากผลการทดลอง 1.copy ไฟล์ Autoit3.exe ไปไว้ที่ C:\windows\system32
    สาเหตุที่เอาไปไว้ตรงนี้ จะทำให้เรียกใช้งานโปรแกรมได้จากหน้าต่าง Run ของ windows ได้เลย
    โดยไม่ต้องระบุนามสกุล
    2.ลองเปลี่ยนชื่อไฟล์ Autoit3.exeเป็นอย่างอื่นเช่น test.exe ตัวโปรแกรมก็ยังทำงานได้
    3.สร้างไฟล์ .au3 สักไฟล์หนึ่ง เอาไว้ทดสอบ
    4.ไปที่ My computer\Folder Option\ไปที่แท็บFile Types หาดู .au3
    5.เลือก .au3 เลือก Chang โปรแกรมที่จะใช้เปิดเลือกเป็น Autoit3.exe
    6.ok
    เท่านี้ไฟล์ .au3 ก็สามารถใช้งานบน windows ได้โดยไม่ต้องติดต้องโปรแกรม Autoit v3
    สามารถใช้งานได้เหมือน ไฟล์ .vbs .js .bat .cmd
    ขอเพียงในเครื่องมี ไฟล์ Autoit3.exe อยู่

      เวลาขณะนี้ 02/05/24, 01:24 pm