wtorek, 9 grudnia 2014

Szybkie tworzenie miniaturek

Szybkie tworzenie miniaturek o wysokości 188 px w Paint.NET za pomocą AutoHotkey (188px.ahk).

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
#m:
; WinActivate,ahk_class WindowsForms10.Window.8.app.0.33c0d9d
WinActivate,ahk_class WindowsForms10.Window.8.app.0.34f5582_r11_ad1
; skalowanie
Send ^r
Sleep,100
Send {Tab}
Send {1}
Send {8}
Send {8}
Send {Enter}
Sleep,1000
; ostrzenie
Send {Alt}{C}
Sleep,100
Send {P}
Sleep,100
Send {S}
Send {Enter}
Sleep,100
Send {2}
Send {Enter}
Sleep,100
; zapisywanie
Send ^w
Sleep,100
Send {Enter}
Send {Tab}
Send {Tab}
Send {Tab}
Send {Tab}
Send {8}
Send {0}
Send {Enter}
Sleep,1000
; przesuniecie kursora
Send #m
Sleep,100
Click 1912, 1045
Sleep,100
MouseMove, 1845, 136

Brak komentarzy :

Prześlij komentarz