Skip to content

Instantly share code, notes, and snippets.

View scarabaeus's full-sized avatar
🍹

Steve G. scarabaeus

🍹
  • San Francisco, CA
  • 12:44 (UTC -08: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);