ยินดีต้อนรับแขกผู้มาเยือน กรุณา เข้าสู่ระบบ หรือ ลงทะเบียน
ส่งอีเมล์ยืนยันการใช้งาน?
 
Please Login!

ผู้เขียน หัวข้อ: ขอถามท่าน hypnox หน่อยครับ ??  (อ่าน 1334 ครั้ง)

0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้

ออฟไลน์ JGigGocK

  • นักเรียนประถม
  • *
  • โพสต์: 27
  • คูลเฟิร์ม: 30
  • zula: 15
    • ดูรายละเอียด
  • OS: WindowsBrowser: Chrome

  • ล็อคอิน @ 05 มีนาคม 2013, 14:01:22
ขอถามท่าน hypnox หน่อยครับ ??
« เมื่อ: 21 พฤษภาคม 2012, 09:58:02 »
ขอความรู้ ท่าน hypnox เรื่องนี้นิดนึงครับ

คือผม download ตัวนี้ของท่านมา IDM.v6.0.Full_AiO(AutoCrack)_Hypnox.rar

คือผมสงสัยจุดนึงครับ ผมคลิก install แล้ว เมาส์มัน Auto click install เอง น่ะครับ สงสัยจุดนี้จุดเดียว

ท่านทำอย่างไรเหรอครับ รบกวนทีครับ

เก็บเป็นความรู้เท่านั้นเ้อง
Coolfirmed by (4)สมาชิก:

ออฟไลน์ nutnokia

  • นักศึกษา
  • *
  • โพสต์: 147
  • คูลเฟิร์ม: 572
  • zula: 232.5
  • เพศ: ชาย
    • ดูรายละเอียด
  • OS: WindowsBrowser: Firefox
  • ^_^สบายๆ ไปกับ Zone-it^_^

  • ล็อคอิน @ 21 เมษายน 2013, 00:47:02
Re: ขอถามท่าน hypnox หน่อยครับ ??
« ตอบกลับ #1 เมื่อ: 21 พฤษภาคม 2012, 10:25:43 »
ใช้Autoit SciTE ScriptWriter ครับ
Coolfirmed by (3)สมาชิก:

ออฟไลน์ JGigGocK

  • นักเรียนประถม
  • *
  • โพสต์: 27
  • คูลเฟิร์ม: 30
  • zula: 15
    • ดูรายละเอียด
  • OS: WindowsBrowser: Chrome

  • ล็อคอิน @ 05 มีนาคม 2013, 14:01:22
Re: ขอถามท่าน hypnox หน่อยครับ ??
« ตอบกลับ #2 เมื่อ: 21 พฤษภาคม 2012, 10:34:55 »
ใช้Autoit SciTE ScriptWriter ครับ
ขอบคุณมากๆครับ แต่ว่ามันคือโปรแกรมสำเร็จ หรือ script ครับ
Coolfirmed by (1)สมาชิก:

ออฟไลน์ JGigGocK

  • นักเรียนประถม
  • *
  • โพสต์: 27
  • คูลเฟิร์ม: 30
  • zula: 15
    • ดูรายละเอียด
  • OS: WindowsBrowser: Chrome

  • ล็อคอิน @ 05 มีนาคม 2013, 14:01:22
Re: ขอถามท่าน hypnox หน่อยครับ ??
« ตอบกลับ #3 เมื่อ: 21 พฤษภาคม 2012, 11:10:38 »
ขอบคุณสำหรับคำตอบมากๆ ครับตอนนี้ผมทำยังไม่สำเร็จครับ
Coolfirmed by (1)สมาชิก:
« แก้ไขครั้งสุดท้าย: 21 พฤษภาคม 2012, 14:13:19 โดย JGigGocK »

ออฟไลน์ Ejimatsu [IjI]

  • เจ้าพ่อโซนไอที
  • *****
  • โพสต์: 584
  • คูลเฟิร์ม: 5492
  • zula: 2520
    • ดูรายละเอียด
  • OS: WindowsBrowser: Chrome

  • ล็อคอิน @ เมื่อวานนี้ เวลา 23:58:18
Re: ขอถามท่าน hypnox หน่อยครับ ??
« ตอบกลับ #4 เมื่อ: 21 พฤษภาคม 2012, 13:36:51 »
ผมไม่ใช่ท่าน hypnox  ขอตอบแทนนะครับ
ของผมใช้คำสั่ง ไม่ได้ใช้เม้าส์คลิ้ก


$TITLE = "Internet Download Manager"

;; ***************************************************************************
;; only code after here

$AllUsersProfile = Envget ("AllUsersProfile")
$Wid = (StringLen ($TITLE) * 5) + 140    ; the width of the window containing screen messages
$Hig = 26    ; the height of the window containing screen messages
$Wai = 111  ; wait time
$VTO = 300  ; very long time out for winwaits
$BTO = 30   ; long time out for winwaits
$LTO = 10   ; short time out for winwaits

;; uncomment this section if the application cannot be easily uninstalled. This allows the user to opt out in case of an accidental launch of the installer.
; $V1 = MsgBox (1,"Install " & $TITLE & "?", "To cancel silent setup of " & $TITLE & ", click CANCEL within 4 seconds...", 4)
; IF $V1 = 2 Then
;    Exit
; EndIf

SplashTextOn("Installing", "Now installing " & $TITLE & "...", $Wid + 50, 22, -1, -1, 50, "Arial", 10)
TrayTip ("Installing", $TITLE, 180, 1)
Sleep (1500)
SplashOff ()
ProcessClose("IDMan.exe")
ProcessClose("IDMan.exe")
ProcessClose("IM IDMan.exe")
ProcessClose("IM idmftype.dll")
ProcessClose("IM IDMIECC.dll")
ProcessClose("IM idmmkb.dll")
ProcessClose("IM IEMonitor.exe")
ProcessClose("IM IDMIECC.dll")
ProcessClose("IM IDMShellExt.dll")
ShellExecute ("IDMan.exe")
; ShellExecuteWait ("IDMan.exe, "/SILENT /SUPPRESSMSGBOXES /NORESTART /NOCANCEL /SP-")
; ShellExecuteWait ("IDMan.exe", "/S")
; ShellExecuteWait ("IDMan.msi", "/passive /norestart")
; ShellExecuteWait ("IDMan.msi", "/quiet /norestart")
; ShellExecuteWait ("IDMan.exe", "/s /v/qn")
; ShellExecuteWait ("regedit.exe", "/S reg.reg", @ScriptDir)

$Txt1 = "Internet Download Manager Installation Wizard"
$Txt2 = ""
$But = "Button2"
$V1 = WinWait ($Txt1, $Txt2, $BTO)
If $V1 = 0 Then
   SplashTextOn("There was an error", "Sorry, but there was an unexpected error, exiting...", $Wid + 50, $Hig, -1, -1, 50, "Arial", 10)
   Sleep (1400)
   SplashOff ()
   Exit
EndIf
WinActivate ($Txt1, $Txt2)
Sleep ($Wai)
ControlClick ($Txt1, $Txt2,$But)

$Txt1 = "Please read IDM license"
$Txt2 = ""
$But = "Button2"
WinWait ($Txt1,$Txt2, $LTO)
WinActivate ($Txt1, $Txt2)
Sleep ($Wai)
ControlClick ($Txt1, $Txt2, $But)

$Txt1 = "Choose Destination Location"
$Txt2 = ""
$But = "Button2"
WinWait ($Txt1,$Txt2, $LTO)
WinActivate ($Txt1, $Txt2)
Sleep ($Wai)
ControlClick ($Txt1, $Txt2, $But)

$Txt1 = "Select Program Manager Group"
$Txt2 = ""
$But = "Button2"
WinWait ($Txt1,$Txt2, $LTO)
WinActivate ($Txt1, $Txt2)
Sleep ($Wai)
ControlClick ($Txt1, $Txt2, $But)

$Txt1 = "Start Installation of Internet Download Manager"
$Txt2 = ""
$But = "Button2"
WinWait ($Txt1,$Txt2, $LTO)
WinActivate ($Txt1, $Txt2)
Sleep ($Wai)
ControlClick ($Txt1, $Txt2, $But)

; files are installed

$Txt1 = "Installation Complete"
$Txt2 = ""
$But = "Button4"
WinWait ($Txt1,$Txt2, $VTO)
WinActivate ($Txt1, $Txt2)
Sleep ($Wai)
ControlClick ($Txt1, $Txt2, $But)

Sleep (10)

ProcessClose("IDM1.tmp")
$PID = ProcessExists("IDM1.tmp") ; Will return the PID or 0 if the process isn't found.
If $PID Then ProcessClose($PID)

#endregion --- ScriptWriter generated code End ---



ส่วนคำสั่งนี้คือ ใช้เม้าส์คลิ้กครับ

Opt("WinWaitDelay",100)
Opt("WinTitleMatchMode",4)
Opt("WinDetectHiddenText",1)
Opt("MouseCoordMode",0)
ProcessClose("IDMan.exe")
$PID = ProcessExists("IDMan.exe") ; Will return the PID or 0 if the process isn't found.
If $PID Then ProcessClose($PID)
ProcessClose("IDMan.exe")
ProcessClose("IDMan.exe")
ProcessClose("IM IDMan.exe")
ProcessClose("IM idmftype.dll")
ProcessClose("IM IDMIECC.dll")
ProcessClose("IM idmmkb.dll")
ProcessClose("IM IEMonitor.exe")
ProcessClose("IM IDMIECC.dll")
ProcessClose("IM IDMShellExt.dll")

Run('IDMan.exe')
WinWait("Internet Download Manager Installation Wizard","Welcome to Internet ")
If Not WinActive("Internet Download Manager Installation Wizard","Welcome to Internet ") Then WinActivate("Internet Download Manager Installation Wizard","Welcome to Internet ")
WinWaitActive("Internet Download Manager Installation Wizard","Welcome to Internet ")
MouseMove(327,339)
MouseDown("left")
MouseUp("left")
WinWait("Please read IDM license","< Back")
If Not WinActive("Please read IDM license","< Back") Then WinActivate("Please read IDM license","< Back")
MouseClick("left",327,339,2)
WinWait("Select Program Manager Group","Enter the name of th")
If Not WinActive("Select Program Manager Group","Enter the name of th") Then WinActivate("Select Program Manager Group","Enter the name of th")
WinWaitActive("Select Program Manager Group","Enter the name of th")
MouseDown("left")
MouseUp("left")
WinWait("Start Installation of Internet Download Manager","You are now ready to")
If Not WinActive("Start Installation of Internet Download Manager","You are now ready to") Then WinActivate("Start Installation of Internet Download Manager","You are now ready to")
WinWaitActive("Start Installation of Internet Download Manager","You are now ready to")
MouseMove(335,340)
MouseDown("left")
MouseUp("left")
WinWait("Installing","Copying file:")
If Not WinActive("Installing","Copying file:") Then WinActivate("Installing","Copying file:")
WinWaitActive("Installing","Copying file:")
MouseDown("left")
MouseUp("left")
WinWait("Installation Complete","Internet Download Ma")
If Not WinActive("Installation Complete","Internet Download Ma") Then WinActivate("Installation Complete","Internet Download Ma")
WinWaitActive("Installation Complete","Internet Download Ma")
MouseDown("left")
MouseUp("left")

ProcessClose("IDM1.tmp")
$PID = ProcessExists("IDM1.tmp") ; Will return the PID or 0 if the process isn't found.
If $PID Then ProcessClose($PID)
#endregion --- ScriptWriter generated code End ---
Coolfirmed by (3)สมาชิก:
[$13$] คุณ ผู้เยี่ยมชม]  มีปัญหาอะไรแอดเอ็มมาคุยกันได้ที่ ejimatsu@gmail.com [$13$]

สุดยอดโปรแกรมดูหนังฟังเพลงครอบจัักรวาล Ejimatsu [IjI]

ออฟไลน์ JGigGocK

  • นักเรียนประถม
  • *
  • โพสต์: 27
  • คูลเฟิร์ม: 30
  • zula: 15
    • ดูรายละเอียด
  • OS: WindowsBrowser: Chrome

  • ล็อคอิน @ 05 มีนาคม 2013, 14:01:22
Re: ขอถามท่าน hypnox หน่อยครับ ??
« ตอบกลับ #5 เมื่อ: 21 พฤษภาคม 2012, 14:12:43 »
ผมไม่ใช่ท่าน hypnox  ขอตอบแทนนะครับ
ของผมใช้คำสั่ง ไม่ได้ใช้เม้าส์คลิ้ก


$TITLE = "Internet Download Manager"

;; ***************************************************************************
;; only code after here

$AllUsersProfile = Envget ("AllUsersProfile")
$Wid = (StringLen ($TITLE) * 5) + 140    ; the width of the window containing screen messages
$Hig = 26    ; the height of the window containing screen messages
$Wai = 111  ; wait time
$VTO = 300  ; very long time out for winwaits
$BTO = 30   ; long time out for winwaits
$LTO = 10   ; short time out for winwaits

;; uncomment this section if the application cannot be easily uninstalled. This allows the user to opt out in case of an accidental launch of the installer.
; $V1 = MsgBox (1,"Install " & $TITLE & "?", "To cancel silent setup of " & $TITLE & ", click CANCEL within 4 seconds...", 4)
; IF $V1 = 2 Then
;    Exit
; EndIf

SplashTextOn("Installing", "Now installing " & $TITLE & "...", $Wid + 50, 22, -1, -1, 50, "Arial", 10)
TrayTip ("Installing", $TITLE, 180, 1)
Sleep (1500)
SplashOff ()
ProcessClose("IDMan.exe")
ProcessClose("IDMan.exe")
ProcessClose("IM IDMan.exe")
ProcessClose("IM idmftype.dll")
ProcessClose("IM IDMIECC.dll")
ProcessClose("IM idmmkb.dll")
ProcessClose("IM IEMonitor.exe")
ProcessClose("IM IDMIECC.dll")
ProcessClose("IM IDMShellExt.dll")
ShellExecute ("IDMan.exe")
; ShellExecuteWait ("IDMan.exe, "/SILENT /SUPPRESSMSGBOXES /NORESTART /NOCANCEL /SP-")
; ShellExecuteWait ("IDMan.exe", "/S")
; ShellExecuteWait ("IDMan.msi", "/passive /norestart")
; ShellExecuteWait ("IDMan.msi", "/quiet /norestart")
; ShellExecuteWait ("IDMan.exe", "/s /v/qn")
; ShellExecuteWait ("regedit.exe", "/S reg.reg", @ScriptDir)

$Txt1 = "Internet Download Manager Installation Wizard"
$Txt2 = ""
$But = "Button2"
$V1 = WinWait ($Txt1, $Txt2, $BTO)
If $V1 = 0 Then
   SplashTextOn("There was an error", "Sorry, but there was an unexpected error, exiting...", $Wid + 50, $Hig, -1, -1, 50, "Arial", 10)
   Sleep (1400)
   SplashOff ()
   Exit
EndIf
WinActivate ($Txt1, $Txt2)
Sleep ($Wai)
ControlClick ($Txt1, $Txt2,$But)

$Txt1 = "Please read IDM license"
$Txt2 = ""
$But = "Button2"
WinWait ($Txt1,$Txt2, $LTO)
WinActivate ($Txt1, $Txt2)
Sleep ($Wai)
ControlClick ($Txt1, $Txt2, $But)

$Txt1 = "Choose Destination Location"
$Txt2 = ""
$But = "Button2"
WinWait ($Txt1,$Txt2, $LTO)
WinActivate ($Txt1, $Txt2)
Sleep ($Wai)
ControlClick ($Txt1, $Txt2, $But)

$Txt1 = "Select Program Manager Group"
$Txt2 = ""
$But = "Button2"
WinWait ($Txt1,$Txt2, $LTO)
WinActivate ($Txt1, $Txt2)
Sleep ($Wai)
ControlClick ($Txt1, $Txt2, $But)

$Txt1 = "Start Installation of Internet Download Manager"
$Txt2 = ""
$But = "Button2"
WinWait ($Txt1,$Txt2, $LTO)
WinActivate ($Txt1, $Txt2)
Sleep ($Wai)
ControlClick ($Txt1, $Txt2, $But)

; files are installed

$Txt1 = "Installation Complete"
$Txt2 = ""
$But = "Button4"
WinWait ($Txt1,$Txt2, $VTO)
WinActivate ($Txt1, $Txt2)
Sleep ($Wai)
ControlClick ($Txt1, $Txt2, $But)

Sleep (10)

ProcessClose("IDM1.tmp")
$PID = ProcessExists("IDM1.tmp") ; Will return the PID or 0 if the process isn't found.
If $PID Then ProcessClose($PID)

#endregion --- ScriptWriter generated code End ---



ส่วนคำสั่งนี้คือ ใช้เม้าส์คลิ้กครับ

Opt("WinWaitDelay",100)
Opt("WinTitleMatchMode",4)
Opt("WinDetectHiddenText",1)
Opt("MouseCoordMode",0)
ProcessClose("IDMan.exe")
$PID = ProcessExists("IDMan.exe") ; Will return the PID or 0 if the process isn't found.
If $PID Then ProcessClose($PID)
ProcessClose("IDMan.exe")
ProcessClose("IDMan.exe")
ProcessClose("IM IDMan.exe")
ProcessClose("IM idmftype.dll")
ProcessClose("IM IDMIECC.dll")
ProcessClose("IM idmmkb.dll")
ProcessClose("IM IEMonitor.exe")
ProcessClose("IM IDMIECC.dll")
ProcessClose("IM IDMShellExt.dll")

Run('IDMan.exe')
WinWait("Internet Download Manager Installation Wizard","Welcome to Internet ")
If Not WinActive("Internet Download Manager Installation Wizard","Welcome to Internet ") Then WinActivate("Internet Download Manager Installation Wizard","Welcome to Internet ")
WinWaitActive("Internet Download Manager Installation Wizard","Welcome to Internet ")
MouseMove(327,339)
MouseDown("left")
MouseUp("left")
WinWait("Please read IDM license","< Back")
If Not WinActive("Please read IDM license","< Back") Then WinActivate("Please read IDM license","< Back")
MouseClick("left",327,339,2)
WinWait("Select Program Manager Group","Enter the name of th")
If Not WinActive("Select Program Manager Group","Enter the name of th") Then WinActivate("Select Program Manager Group","Enter the name of th")
WinWaitActive("Select Program Manager Group","Enter the name of th")
MouseDown("left")
MouseUp("left")
WinWait("Start Installation of Internet Download Manager","You are now ready to")
If Not WinActive("Start Installation of Internet Download Manager","You are now ready to") Then WinActivate("Start Installation of Internet Download Manager","You are now ready to")
WinWaitActive("Start Installation of Internet Download Manager","You are now ready to")
MouseMove(335,340)
MouseDown("left")
MouseUp("left")
WinWait("Installing","Copying file:")
If Not WinActive("Installing","Copying file:") Then WinActivate("Installing","Copying file:")
WinWaitActive("Installing","Copying file:")
MouseDown("left")
MouseUp("left")
WinWait("Installation Complete","Internet Download Ma")
If Not WinActive("Installation Complete","Internet Download Ma") Then WinActivate("Installation Complete","Internet Download Ma")
WinWaitActive("Installation Complete","Internet Download Ma")
MouseDown("left")
MouseUp("left")

ProcessClose("IDM1.tmp")
$PID = ProcessExists("IDM1.tmp") ; Will return the PID or 0 if the process isn't found.
If $PID Then ProcessClose($PID)
#endregion --- ScriptWriter generated code End ---


ขอบคุณครับท่าน
ตอนนี้ผมลองแล้วลองอีก ติดตรงที่ ว่า Compile เป็น .EXE แล้ว run ไม่ได้ Error unknow function name
งงมากมาย ครับ

เดี๋ยวลองเอาของพี่ไปประยุกดู ขอบคุณครับ (มือใม่ มว๊ากกกๆ)

Coolfirmed by (1)สมาชิก:

ออฟไลน์ Ejimatsu [IjI]

  • เจ้าพ่อโซนไอที
  • *****
  • โพสต์: 584
  • คูลเฟิร์ม: 5492
  • zula: 2520
    • ดูรายละเอียด
  • OS: WindowsBrowser: Chrome

  • ล็อคอิน @ เมื่อวานนี้ เวลา 23:58:18
Re: ขอถามท่าน hypnox หน่อยครับ ??
« ตอบกลับ #6 เมื่อ: 21 พฤษภาคม 2012, 16:48:45 »
ชื่อคำสั่งกับไฟล์ไม่ตรงกันครับ

Run('IDMan.exe')
Coolfirmed by (1)สมาชิก:
[$13$] คุณ ผู้เยี่ยมชม]  มีปัญหาอะไรแอดเอ็มมาคุยกันได้ที่ ejimatsu@gmail.com [$13$]

สุดยอดโปรแกรมดูหนังฟังเพลงครอบจัักรวาล Ejimatsu [IjI]

ออฟไลน์ sak2005

  • สมาชิกกิตติมศักดิ์
  • *
  • โพสต์: 1,934
  • คูลเฟิร์ม: 7826
  • zula: 3653.25
  • เพศ: ชาย
    • ดูรายละเอียด
  • OS: WindowsBrowser: Firefox
  • ตำแหน่ง:ครูผู้ให้

  • ล็อคอิน @ วันนี้ เวลา 07:48:54
Re: ขอถามท่าน hypnox หน่อยครับ ??
« ตอบกลับ #7 เมื่อ: 24 พฤษภาคม 2012, 01:54:13 »
เขาเรียกว่า.. Send Mouse Click หรือ การใช้วิธีขียนคำสั่งบังคับให้เม๊าท์คลิ๊กเองอัตโนมัติ

ปุ่มดีย์บอร์ดก็ทำได้ เรียกว่า Send KeyStorke

แต่วิธีทั้งสองนี้ ไม่ค่อยมีความเสถียร หรือ เที่ยงตรงซักเท่าไหร่

สู้วิธีใช้ SilentMode ไม่ได้

Coolfirmed by (1)สมาชิก:
จำเป็นต้องใช้ FlashPlayer

คำคม: เมื่อเวลาเปลี่ยน.. ทุกอย่างเปลี่ยน..

ออฟไลน์ JGigGocK

  • นักเรียนประถม
  • *
  • โพสต์: 27
  • คูลเฟิร์ม: 30
  • zula: 15
    • ดูรายละเอียด
  • OS: WindowsBrowser: Chrome

  • ล็อคอิน @ 05 มีนาคม 2013, 14:01:22
Re: ขอถามท่าน hypnox หน่อยครับ ??
« ตอบกลับ #8 เมื่อ: 24 พฤษภาคม 2012, 09:58:44 »
เขาเรียกว่า.. Send Mouse Click หรือ การใช้วิธีขียนคำสั่งบังคับให้เม๊าท์คลิ๊กเองอัตโนมัติ

ปุ่มดีย์บอร์ดก็ทำได้ เรียกว่า Send KeyStorke

แต่วิธีทั้งสองนี้ ไม่ค่อยมีความเสถียร หรือ เที่ยงตรงซักเท่าไหร่

สู้วิธีใช้ SilentMode ไม่ได้



ขอบคุณ สำหรับคำแนะนำครับผม
Coolfirmed by (0)สมาชิก: