Skip to content

Instantly share code, notes, and snippets.

View scarabaeus's full-sized avatar
🍹

Steve G. scarabaeus

🍹
  • San Francisco, CA
  • 23:43 (UTC -07:00)
View GitHub Profile
@scarabaeus
scarabaeus / Create iOS Icons.jsx
Last active February 9, 2016 15:04 — forked from RichardBronosky/Create iOS Icons.jsx
A modification of the "Create iOS Icons.jsx" script to output file names matching [NativeScript](http://www.nativescript.org) expected convention for iOS.
// Photoshop Script to Create iPhone Icons image (Specifically matching NativeScript icon names.)
// Original: https://gist.github.com/appsbynight/3681050
// Turn debugger on. 0 is off.
// $.level = 1;
try
{
// Prompt user to select iTunesArtwork file. Clicking "Cancel" returns null.
var iTunesArtwork = File.openDialog("Select a sqaure PNG file that is at least 1024x1024.", "*.png", false);