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
// ChangeColor.jsx | |
// | |
// This photoshop script finds all shape and solid fill layers that match the color | |
// of the currently selected shape/fill layer and changes their color to the | |
// foreground color. | |
// | |
// Tested on Adobe Photoshop CS4 (Mac) | |
// enable double clicking from the Macintosh Finder or the Windows Explorer | |
#target photoshop |
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
stylus: | |
compress: true | |
path: ./path/to/styl |
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
/*! | |
* quantize.js Copyright 2008 Nick Rabinowitz. | |
* Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php | |
*/ | |
// fill out a couple protovis dependencies | |
/*! | |
* Block below copied from Protovis: http://mbostock.github.com/protovis/ | |
* Copyright 2010 Stanford Visualization Group | |
* Licensed under the BSD License: http://www.opensource.org/licenses/bsd-license.php |
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
/* Code by Mike Hale http://www.ps-scripts.com/bb/viewtopic.php?f=14&t=1802&start=15 | |
with small modification by Vladimir Carrer | |
*/ | |
function DrawShape() { | |
var doc = app.activeDocument; | |
var y = arguments.length; | |
var i = 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
var doc = app.activeDocument; | |
var guides = app.activeDocument.guides; | |
var w = doc.width; | |
var h = doc.height; | |
function MakeGuidesGrid(unitVertical, gutterVertical, unitHorisontal, gutterHorisontal) { | |
if (unitHorisontal !== 0) { | |
var j = h / unitHorisontal; | |
for (var i = 0; i < j; i++) { | |
guides.add(Direction.HORIZONTAL, i * unitHorisontal); |
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
-- | |
-- copyleft (c) 2012 by htFX, Jens Diemer - http://www.htFX.de | |
-- | |
-- https://gist.github.com/2392735 | |
-- http://www.scriptspot.com/3ds-max/scripts/maxscript-to-turn-off-backface-cull-on-all-objects | |
-- | |
actionMan.executeAction 0 "40472" -- MAX Script: MAXScript Listener | |
clearListener() |
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
/* | |
This script resizes every layer within the active document. | |
How to use: | |
- Photoshop script ( cs3+ ) | |
- Put in {photoshop_root}/presets/scripts/Resize Each Layer.jsx | |
- Run from: File > Scripts > Resize Each Layer | |
- ..or save the file where ever you want and run from there with: File > Scripts > Browse... | |
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
access_token:="" ;Your Github access token goes here if you want to publish it to your Gist list | |
info:="Code to post goes here" ;Change this to create the new text for the Gist | |
filename:="mygit.txt" ;change this to whatever you want your file name to be | |
desc:="my description" ;This is where you would have a description for your Gist | |
post_gist(info,access_token,filename,desc) | |
return |
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
; KeypressOSD.ahk | |
;-------------------------------------------------------------------------------------------------------------------------- | |
; ChangeLog : v2.22 (2017-02-25) - Now pressing same combination keys continuously more than 2 times, | |
; for example press Ctrl+V 3 times, will displayed as "Ctrl + v (3)" | |
; v2.21 (2017-02-24) - Fixed LWin/RWin not poping up start menu | |
; v2.20 (2017-02-24) - Added displaying continuous-pressed combination keys. | |
; e.g.: With CTRL key held down, pressing K and U continuously will shown as "Ctrl + k, u" | |
; v2.10 (2017-01-22) - Added ShowStickyModKeyCount option | |
; v2.09 (2017-01-22) - Added ShowModifierKeyCount option | |
; v2.08 (2017-01-19) - Fixed a bug |
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
// MultiExporter.jsx | |
// Version 0.1 | |
// Version 0.2 Adds PNG and EPS exports | |
// Version 0.3 Adds support for exporting at different resolutions | |
// Version 0.4 Adds support for SVG, changed EPS behaviour to minimise output filesize | |
// Version 0.5 Fixed cropping issues | |
// Version 0.6 Added inner padding mode to prevent circular bounds clipping | |
// | |
// Copyright 2013 Tom Byrne | |
// Comments or suggestions to [email protected] |
OlderNewer