【原神】风物之诗琴AHK打谱工具

许多实用脚本和封装函数, 可以让您编写脚本更加便捷高效

Moderators: tmplinshi, arcticir

Post Reply
Best
Posts: 1
Joined: 30 Mar 2021, 02:58

【原神】风物之诗琴AHK打谱工具

Post by Best » 02 Apr 2021, 11:29

原神的风物之诗琴演奏脚本AHK打谱工具。编译版打包下载:https wws.lanzous.com /ia27rnlpbsd Broken Link for safety
使用说明见压缩包内,或访问https www.bilibili.com /video/BV1bh411D7im/ Broken Link for safety

Code: Select all

#SingleInstance force
InputBox, BPM, 输入曲速, 单位:每分钟拍数(BPM)
thirtysecond:=60000//BPM//8
sixteenth:=60000//BPM//4
eighth:=60000//BPM//2
quarter:=60000//BPM
half:=60000//BPM*2
whole:=60000//BPM*4
tripletwhole:=60000//BPM*4//3
triplethalf:=60000//BPM*2//3
tripletquarter:=60000//BPM//3
tripleteighth:=60000//BPM//2//3
tripletsixteenth:=60000//BPM//4//3
tripletthirtysecond:=60000//BPM//8//3
;-------------------------------------------------------------------------------------
^down::
sendraw #SingleInstance force
send {enter}
sendraw ^enter::
send {enter}
send sleep 2000
send {enter}
return
;-------------------------------------------------------------------------------------
^`::
send sleep %thirtysecond%
send {enter}
return

^1::
send sleep %sixteenth%
send {enter}
return

^2::
send sleep %eighth%
send {enter}
return

^3::
send sleep %quarter%
send {enter}
return

^4::
send sleep %half%
send {enter}
return

^5::
send sleep %whole%
send {enter}
return

^<!`::
send sleep %tripletthirtysecond%
send {enter}
return

^<!1::
send sleep %tripletsixteenth%
send {enter}
return

^<!2::
send sleep %tripleteighth%
send {enter}
return

^<!3::
send sleep %tripletquarter%
send {enter}
return

^<!4::
send sleep %triplethalf%
send {enter}
return

^<!5::
send sleep %tripletwhole%
send {enter}
return
;-------------------------------------------------------------------------------------
^numpad1::
send send a
send {enter}
return
^numpadend::
send send a
send {enter}
return

^numpad2::
send send s
send {enter}
return
^numpaddown::
send send s
send {enter}
return

^numpad3::
send send d
send {enter}
return
^numpadpgdn::
send send d
send {enter}
return

^numpad4::
send send f
send {enter}
return
^numpadleft::
send send f
send {enter}
return

^numpad5::
send send g
send {enter}
return
^numpadclear::
send send g
send {enter}
return

^numpad6::
send send h
send {enter}
return
^numpadright::
send send h
send {enter}
return

^numpad7::
send send j
send {enter}
return
^numpadhome::
send send j
send {enter}
return

^!numpad1::
send send z
send {enter}
return
^!numpadend::
send send z
send {enter}
return

^!numpad2::
send send x
send {enter}
return
^!numpaddown::
send send x
send {enter}
return

^!numpad3::
send send c
send {enter}
return
^!numpadpgdn::
send send c
send {enter}
return

^!numpad4::
send send v
send {enter}
return
^!numpadleft::
send send v
send {enter}
return

^!numpad5::
send send b
send {enter}
return
^!numpadclear::
send send b
send {enter}
return

^!numpad6::
send send n
send {enter}
return
^!numpadright::
send send n
send {enter}
return

^!numpad7::
send send m
send {enter}
return
^!numpadhome::
send send m
send {enter}
return

^#numpad1::
send send q
send {enter}
return
^#numpadend::
send send q
send {enter}
return

^#numpad2::
send send w
send {enter}
return
^#numpaddown::
send send w
send {enter}
return

^#numpad3::
send send e
send {enter}
return
^#numpadpgdn::
send send e
send {enter}
return

^#numpad4::
send send r
send {enter}
return
^#numpadleft::
send send r
send {enter}
return

^#numpad5::
send send t
send {enter}
return
^#numpadclear::
send send t
send {enter}
return

^#numpad6::
send send y
send {enter}
return
^#numpadright::
send send y
send {enter}
return

^#numpad7::
send send u
send {enter}
return
^#numpadhome::
send send u
send {enter}
return

;-------------------------------------------------------------------------------------

^q::
send send q
send {enter}
return

^w::
send send w
send {enter}
return

^e::
send send e
send {enter}
return
^r::
send send r
send {enter}
return
^t::
send send t
send {enter}
return
^y::
send send y
send {enter}
return
^u::
send send u
send {enter}
return
^i::
send send i
send {enter}
return
^o::
send send o
send {enter}
return
^p::
send send p
send {enter}
return
^a::
send send a
send {enter}
return
^s::
send send s
send {enter}
return
^d::
send send d
send {enter}
return
^f::
send send f
send {enter}
return
^g::
send send g
send {enter}
return
^h::
send send h
send {enter}
return
^j::
send send j
send {enter}
return
^k::
send send k
send {enter}
return
^l::
send send l
send {enter}
return
^z::
send send z
send {enter}
return
^x::
send send x
send {enter}
return
^c::
send send c
send {enter}
return
^v::
send send v
send {enter}
return
^b::
send send b
send {enter}
return
^n::
send send n
send {enter}
return
^m::
send send m
send {enter}
return

Post Reply

Return to “脚本函数”