This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#target Photoshop | |
var sourcePath = "H:/Projects/Alaska FullHD/Source/Animation/Bonus/" | |
var footageLength = 8; | |
var exportOptions = new BMPSaveOptions(); | |
exportOptions.alphaChannels = false; | |
exportOptions.depth = BMPDepthType.TWENTYFOUR; | |
/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// чтение шрифтов с флэшки | |
void mem_fnt_p_inc(void){ | |
if( (++nand_fnt_p.shift) >= (NAND_PAGE_SIZE + NAND_SPARE_SIZE)){ | |
nand_fnt_p.shift=0; | |
if( (++nand_fnt_p.page) >= NAND_BLOCK_SIZE){ | |
nand_fnt_p.page=0; | |
if( (++nand_fnt_p.block) >= NAND_MEMORY_SIZE){ | |
nand_fnt_p.block=0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#target Illustrator | |
/* export ALASKA Controls | |
*/ | |
d = app.activeDocument; | |
var filePath = d.path; | |
var exportPath = '/Source/Controls/'; | |
var fileName = d.name.split('.', 1)+''; // ALASKA.ai |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* add coords to marks */ | |
var items = selection; | |
if (items.length>0) { | |
for (i=0; i<items.length; i++) { | |
var x = getX(items[i]); | |
var y = getY(items[i]); | |
// alert(i + ': x' + x + ' y' + y); | |
markPosition (items[i]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/********************************************************** | |
Description: name all placed items (images) | |
in selected layer with their filenames | |
tested on Windows 7 Adobe Illustrator 5.0 | |
**********************************************************/ | |
if (app.documents.length>0) { | |
var d = app.activeDocument; | |
var l = d.activeLayer; | |
var r = l.placedItems; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
echo renumber.cmd folder start total | |
echo =============================== | |
setlocal EnableDelayedExpansion | |
set /a start = %2 | |
if NOT DEFINED [%3] ( | |
for %%a in (.\%1\*.png) do ( set /a i+=1 ) | |
echo Total files in folder %1: !i! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
echo split.cmd folder loop | |
echo ------------------------------- | |
setlocal EnableDelayedExpansion | |
for %%a in (.\%1\*.png) do ( set /a i+=1 ) | |
echo Total files in folder %1: !i! | |
set /a total = i | |
set /a folders = !total! / %2 | |
echo Move *.png in folder %1 to subfolders [00..!folders!] by %2 files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* [[!youtuBe? | |
* &tpl | |
* &links | |
* &outCls | |
* &rowCls | |
* &imgCls | |
* &linkPref | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
IF [%1]==[] ( | |
echo renumbers.cmd filemask filename digits start digits start cycle | |
echo ~~~~~~~~~~~~~ bon_*.bmp bon 2 1 1 1 4 | |
echo bon011.bmp bon012.bmp bon013.bmp bon014.bmp bon021.bmp bon022.bmp ... | |
echo ------------------------------------------------------------------------------------ | |
) ELSE ( | |
setlocal EnableDelayedExpansion | |
set prefix = %2 |
OlderNewer