1. plenty of changes were done in my xy-script (it is performing conversion from flac-tracks to flac-image with absolutely ready cue-file)
now the ahk-script looks like this:
Code: Select all
SetWinDelay 2000
SetTitleMatchMode 1
WinWait Converting
WinWaitClose
ControlSend, , {Ctrl down}{Shift down}k{Shift up}{Ctrl up}, XYplorer
ctrl+shift+k means automatic continuation of the xy-script
even though this ahk-script works flawlessly, i would like to specify: are there any mistakes? is something missing?
2. my xy-script is ready and working good. it consists of 2 parts:
Code: Select all
?wait 100; focus; wait 100; new("1.cue", "file"); wait 300; selfilter "*.flac"; wait 100; #1406; wait 100; sendkeys "~"; wait 2000; sendkeys "k"; wait 2000; runq "C:\(Programs)\ahk-script.exe"
a) #1406 means
this code
b)
sendkeys "~" means enqueuing of flac-tracks to foobar (without problems and limitations
described here)
it was achieved due to some changes in: control panel -> folder options -> file types
c)
sendkeys "k" means foobar -> convert
Code: Select all
wait 300; focus; wait 100; #251; wait 100; run "1.cue"; wait 500; sendkeys "~"; wait 100; sendkeys "+{Insert}"; wait 100; sendkeys "^{Home}"; wait 100; focus; wait 300; run "1.flac"; wait 2000; sendkeys "y"; wait 1500; focus; wait 300; run "1.flac"; wait 1500; sendkeys "t"; wait 1000; sendkeys "r"; wait 500; sendkeys "e"; wait 500; runq "C:\(Programs)\auto-it-script.exe"; wait 2000; focus; wait 100; attrstamp("r", 4, "<allitems |>"); wait 100; attrstamp("r", , "<curpath>\1.flac"); wait 100; selfilter "* - *.flac"; wait 100; delete 0, 1
d)
run "1.flac" means enqueuing of flac-image to foobar
e)
sendkeys "y" means foobar -> edit cuesheet
f)
sendkeys "t" means foobar -> remove tags from files
g)
sendkeys "r" means foobar -> clear
h)
sendkeys "e" means foobar -> exit
i) auto-it-script.exe prepares a cue-file
this xy-script is the result which i have after spending many days
the sense of the whole idea: manual actions were reduced from 29 to 1 (without safety belts) or to 3 (with them)
but my scripting skills are very low so advices/remarks are welcomed