Skip to content

Commit

Permalink
一些用到的工具脚本
Browse files Browse the repository at this point in the history
  • Loading branch information
MrZ626 committed Nov 2, 2023
1 parent 83f5217 commit ba2f060
Show file tree
Hide file tree
Showing 11 changed files with 143 additions and 0 deletions.
27 changes: 27 additions & 0 deletions +384.ahk
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#Requires AutoHotkey v2.0
#SingleInstance

`:: {
MouseGetPos &X, &Y

sendInput "{click down}"
sendInput "{click up}"

MouseMove 2250,1050

sendInput "{click down}"
sendInput "{click up}"

SendInput "{+}"
SendInput "{3}"
SendInput "{8}"
SendInput "{4}"
SendInput "{Enter}"

MouseMove X,Y

sendInput "{click down}"
sendInput "{click up}"
}

z:: exitapp
9 changes: 9 additions & 0 deletions MyTransform/codepixel上标变下标.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<DATA>
<TransformScript>
<OutlineMove>
<Horizontal>0</Horizontal>
<Vertical>-576</Vertical>
</OutlineMove>
</TransformScript>
</DATA>
16 changes: 16 additions & 0 deletions MyTransform/codepixel全角加粗1024宽.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<DATA>
<TransformScript>
<EffectsBold>
<Horizontal>25</Horizontal>
<Vertical>5</Vertical>
<PreserveBearings>FALSE</PreserveBearings>
<UpdateMetrics>FALSE</UpdateMetrics>
</EffectsBold>
<MetricsWidth>
<WidthType>0</WidthType>
<Width>1024.00</Width>
<Adjust>0</Adjust>
</MetricsWidth>
</TransformScript>
</DATA>
11 changes: 11 additions & 0 deletions MyTransform/加粗16.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<DATA>
<TransformScript>
<EffectsBold>
<Horizontal>16</Horizontal>
<Vertical>16</Vertical>
<PreserveBearings>TRUE</PreserveBearings>
<UpdateMetrics>FALSE</UpdateMetrics>
</EffectsBold>
</TransformScript>
</DATA>
10 changes: 10 additions & 0 deletions MyTransform/变细16.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<DATA>
<TransformScript>
<EffectsThin>
<Horizontal>16</Horizontal>
<Vertical>16</Vertical>
<PreserveBearings>TRUE</PreserveBearings>
</EffectsThin>
</TransformScript>
</DATA>
7 changes: 7 additions & 0 deletions MyTransform/居中.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<DATA>
<TransformScript>
<MetricsCenterGlyph>
</MetricsCenterGlyph>
</TransformScript>
</DATA>
7 changes: 7 additions & 0 deletions MyTransform/绕线方向修复.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<DATA>
<TransformScript>
<OutlineFixContourDirection>
</OutlineFixContourDirection>
</TransformScript>
</DATA>
19 changes: 19 additions & 0 deletions MyTransform/缩小+调宽度.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<DATA>
<TransformScript>
<OutlineScale>
<AroundType>2</AroundType>
<AroundCorner>0</AroundCorner>
<AroundXPos>512</AroundXPos>
<AroundYPos>0</AroundYPos>
<Horizontal>60.0000</Horizontal>
<Vertical>60.0000</Vertical>
<PreserveBearings>FALSE</PreserveBearings>
</OutlineScale>
<MetricsWidth>
<WidthType>0</WidthType>
<Width>1024.00</Width>
<Adjust>0</Adjust>
</MetricsWidth>
</TransformScript>
</DATA>
7 changes: 7 additions & 0 deletions MyTransform/黑白反转.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<DATA>
<TransformScript>
<EffectsInverse>
</EffectsInverse>
</TransformScript>
</DATA>
19 changes: 19 additions & 0 deletions braille delete.ahk
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#Requires AutoHotkey v2.0
#SingleInstance

f(){
MouseMove 975,425
sendInput "{click down}"
MouseMove 1200,1000
sendInput "{click up}"

sendInput "{del}"

sendInput "{alt down}{right}{alt up}"
}

`:: {
SetTimer f, 626
}

z:: exitapp
11 changes: 11 additions & 0 deletions click+del.ahk
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#Requires AutoHotkey v2.0
#SingleInstance

`:: {
sendInput "{click down}"
sendInput "{click up}"

sendInput "{del}"
}

z:: exitapp

0 comments on commit ba2f060

Please sign in to comment.