Скрипт для записи демок. Скрипт, который позволяет начинать запись сразу по нажатию клавиши, типа, нажал - записывает, нажал еще раз - останавливает запись, и одновременно даёт название типа "рекорд1","рекорд2"
Код:
alias record01 "developer 1; echo Is recording: DEMO-01; stop; record demo1; alias current record01; alias nextUp record02; alias nextDown record01" alias record02 "developer 1; echo Is recording: DEMO-02; stop; record demo2; alias current record02; alias nextUp record03; alias nextDown record02" alias record03 "developer 1; echo Is recording: DEMO-03; stop; record demo3; alias current record03; alias nextUp record04; alias nextDown record03" alias record04 "developer 1; echo Is recording: DEMO-04; stop; record demo4; alias current record04; alias nextUp record05; alias nextDown record04" alias record05 "developer 1; echo Is recording: DEMO-05; stop; record demo5; alias current record05; alias nextUp record06; alias nextDown record05" alias record06 "developer 1; echo Is recording: DEMO-06; stop; record demo6; alias current record06; alias nextUp record07; alias nextDown record06" alias record07 "developer 1; echo Is recording: DEMO-07; stop; record demo7; alias current record07; alias nextUp record08; alias nextDown record07" alias record08 "developer 1; echo Is recording: DEMO-08; stop; record demo8; alias current record08; alias nextUp record09; alias nextDown record08" alias record09 "developer 1; echo Is recording: DEMO-09; stop; record demo9; alias current record09; alias nextUp record10; alias nextDown record09" alias record10 "developer 1; echo Is recording: DEMO-10; stop; record demo10; alias current record10; alias nextUp record10; alias nextDown record10" alias nextUp "record01" alias nextDown "record10" alias current "record01" bind "-" "nextup" bind "=" "nextdown" bind "p" "stop" bind "BACKSPACE" "current" кнопки «-» и «=» — передвижение по слотам записи. «p»*— остановка записи «backspace» — повторная запись поверх текущего слота.
Маленький фак.
В: А куда записывать ?
О: В конфиг. (*.cfg)
В: Зачем это надо ?
О: Для удобной и быстрой записи демок.