Find Jobs
Hire Freelancers

AHK script using SetTimer and CustomMessage

£10-20 GBP

ปิดแล้ว
โพสต์ ประมาณ 6 ปีที่ผ่านมา

£10-20 GBP

ชำระเงินเมื่อส่งงาน
I currently use a script which uses things like StepDelay := -9999999999 ; Set the delay to wait between steps global MessageList := [[0, 1], [2, 3], [4, 5], [6, 7], [8, 9], [10, 11], [12, 13], [14, 15], [16, 17], [18, 19]] Sequence: ; CustomMessage uses SendMessage. Different values are used depending on Index - see the ; function definition at the end. CustomMessage(Index) TimerSet := A_TickCount ; Record when the timer was started. This is used for the countdown SetTimer, Sequence, % TimerLength := StepDelay ; Set the timer for the next time Return Wheelup:: ; Fire the next step Controlsend,, {LAlt Down}h{LAlt Up}, ahk_exe [login to view URL] StepDelay := -99999999 settimer, wheeldown, off gosub, Sequence ;varzz=1 return Wheeldown:: StepDelay := -99999999 Controlsend,, {LAlt Down}h{LAlt Up}, ahk_exe [login to view URL] ;StepDelay := -99999999 if ((Index -= 2) <= -1) Index := [login to view URL]() - 1 else if (Index = 0) Index := [login to view URL]() gosub, Sequence Controlsend,, {LAlt Down}h{LAlt Up}, ahk_exe [login to view URL] ;varzz=1 return WheelOnOff(State := "Off") ; WheelOnOff turns mousewheel hotkeys on and off { Hotkey, IfWinActive, Sierra Hotkey, WheelUp, %State% Hotkey, WheelDown, %State% } CustomMessage(ByRef Index) { if (++Index > 10) ; Add one to Index. If Index is > 61... Index := 1 ; Reset to one SendMessage, 0x1330, MessageList[Index, 1], 1, SysTabControl321, Sierra ;TCM_SETCURFOCUS = 0x1330 SendMessage, 0x1330, MessageList[Index, 2], 1, SysTabControl321, Sierra ;TCM_SETCURFOCUS = 0x1330 } So, at the moment I use wheelup and wheeldown to manually toggle between the global messagelist, and I can also use the below two variations to put them on timers, in up or down directions. Up: Stepdelay :- 4000 gosub sequence Down: gosub sequence settimer, wheeldown, 4000 What I want to add to this, is a way to use the timer function, but only on specific messagelist entries. I'd also want it to go up and down through them, eg if I want [0, 1], [2, 3], [4, 5], [6, 7], then it will look like send 0,1 sleep x send 2,3 sleep x send 4,5 sleep x send 6,7 sleep x send 4,5 sleep x, sleep 2,3 sleep x sleep 0,1 sleep x send 2,3 etc etc Then I want a way of interrupting this and turning it off immediately, in the same way I change stepdelay, or turn wheeldown timer off in my above scenarios, I want to be able to use that command in different parts of the script.
รหัสโปรเจกต์: 16499260

เกี่ยวกับโปรเจกต์

1 ข้อเสนอ
โปรเจกต์ระยะไกล
ใช้งานอยู่ 6 ปีที่ผ่านมา

กำลังมองหาการสร้างรายได้ใช่ไหม?

ประโยชน์ของการประมูลกับ Freelancer

กำหนดงบประมาณและกรอบเวลาของคุณ
รับเงินจากการงานของคุณ
อธิบายข้อเสนอของคุณในภาพรวม
ลงทะเบียนและเสนอราคาฟรี
1 ฟรีแลนซ์กำลังเสนอราคาโดยเฉลี่ย £38 GBP สำหรับงานนี้
รูปอวาตาร์ของผู้ใช้
I can work for you. I'm interested in your project. I've an experience of works with php script. Ping me any time to discuss about this project.
£38 GBP ใน 1 วัน
4.8 (241 รีวิว)
7.7
7.7

เกี่ยวกับลูกค้า

ปักธงของ UNITED KINGDOM
United Kingdom
0.0
0
ยืนยันวิธีการชำระเงินแล้ว
เป็นสมาชิกตั้งแต่ มี.ค. 10, 2018

การยืนยันลูกค้า

ขอบคุณ! เราได้ส่งลิงก์สำหรับเครดิตฟรีให้คุณทางอีเมลแล้ว
เกิดข้อผิดพลาดขณะส่งอีเมลของคุณ กรุณาลองอีกครั้ง
โลโก้ Freelancer Thailand / ภาษาไทย ช่วยเหลือและสนับสนุน FreelancerประเภทโปรเจคการประกวดFreelancerองค์กรแพ็กเกจสมาชิกโครงการ Freelancer ชั้นแนวหน้าการจัดการโปรเจคงานในพื้นที่Photo Anywhereหน้าจัดแสดงผลงานAPI สำหรับนักพัฒนาได้รับการยืนยันDesktop App เกี่ยวกับเกี่ยวกับเราวิธีใช้งานความปลอดภัยนักลงทุนแผนผังเว็บไซต์เรื่องราวข่าวออกสื่อทีมรางวัลข่าวประชาสัมพันธ์ร่วมงานกับเรา ข้อกำหนดนโยบายความเป็นส่วนตัวข้อกำหนดและเงื่อนไขนโยบายลิขสิทธิ์ข้อพึงปฏิบัติค่าธรรมเนียมและค่าบริการหุ้นส่วนEscrow.comLoadshiftWarrior Forum แอปโลโก้ Apple App Store โลโก้ Google Play
ไม่สามารถคัดลอกไปยังคลิปบอร์ดได้ โปรดลองอีกครั้งหลังปรับเปลี่ยนการอนุญาต
คัดลอกไปยังคลิปบอร์ดแล้ว
ผู้ใช้ที่ลงทะเบียน งานที่มีการโพสต์ทั้งหมด
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
กำลังโหลดตัวอย่าง
ได้รับอนุญาตสำหรับตำแหน่งทางภูมิศาสตร์
เซสชั่นการเข้าสู่ระบบของคุณหมดอายุและคุณได้ออกจากระบบแล้ว กรุณาเข้าสู่ระบบอีกครั้ง