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 | |
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
@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
/********************************************************** | |
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
/* 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
/********************************************************** | |
export to PDF with filename += dataset.name | |
**********************************************************/ | |
// Main Code [Execution of script begins here] | |
// uncomment to suppress Illustrator warning dialogs | |
// app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS; | |
// Select the source folder. |
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
/********************************************************** | |
export to jpg with filename += dataSet.name | |
**********************************************************/ | |
// Main Code [Execution of script begins here] | |
// uncomment to suppress Illustrator warning dialogs | |
// app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS; | |
// var destFolder, sourceFolder, files, fileType, sourceDoc, targetFile, jpgSaveOpts; |
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
/********************************************************** | |
export to jpg with filename += layer.name | |
**********************************************************/ | |
// Main Code [Execution of script begins here] | |
// uncomment to suppress Illustrator warning dialogs | |
// app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS; | |
var destFolder, sourceFolder, files, fileType, sourceDoc, targetFile, jpgSaveOpts; |
NewerOlder