Coder Social home page Coder Social logo

mobile-export-scripts-illustrator's People

Contributors

austynmahoney avatar ungesehn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mobile-export-scripts-illustrator's Issues

crash using Illustrator CC 2017 (21.0)

Hello, thank you for an extremely useful project we've been using it for over a year now with no issues. I just updated to Illustrator 2017 and I'm getting an error when I try to run the export now. It says

Error 13: Too many closing braces.
Line: 550 ->

var selectedExportOptions ={};

Is this a problem with the script or something I'm doing wrong? Thank you in advance for your patience.

Removing artboard name and exporting all iOS sizes

This was a really helpful plugin :) Saves a lot of time from manually saving all the names. One thing I noticed was that setting the artboard name was a hindrance since Apple requries specific naming conventions for the icon names.

I modified your script slightly to remove the artboard name (just included the name in the script itself), and also added all of the iOS icon sizes based on Apple's specs:
https://developer.apple.com/library/content/qa/qa1686/_index.html

Feel free to take these mods and add them to your original code if you like.

I didn't change any of the Android sections, as their naming conventions were not as clear to me as iOS.

Here's the modifications:
https://github.com/druid-woman/mobile-export-scripts-illustrator-ios-all

Thanks!

Input Text name

It's possible to add a input text for indicate the name to file for export? thanks. Your plugin is amazing!

Ignore layers with ! in name

Would be great if you could ignore layers that have an exclamation mark in their title. This way the user can control what is being exported in the assets and what not.

How to save a certain selected object/objects

This script is excellent. Especially the folder creation and automatic naming is very handy. It would be very helpful if there were a way to save a selected object on the artboard instead of the entire artboard. Also, the ability to change the file name would be very useful. Finally, there should be a way to save an icon that is made up of multiple objects; this is very important for us designers.
To summarize, I am looking for something similar to the "export selection" option in the file menu.

Wrong export sizes for Android

The sizes are wrong for android.
See official at: http://developer.android.com/guide/practices/screens_support.html and Read at Alternative drawables.
The correct sizes should be:

{
    name: "mdpi",
    scaleFactor: 50,
    type: "android"
},
{
    name: "hdpi",
    scaleFactor: 75,
    type: "android"
},
{
    name: "xhdpi",
    scaleFactor: 100,
    type: "android"
},
{
    name: "xxhdpi",
    scaleFactor: 200,
    type: "android"
},
{
    name: "xxxhdpi",
    scaleFactor: 300,
    type: "android"
}

Error 13: too many closing braces

When I try to run the script i get an error:

Error 13: too many closing braces
line: 533

Using latest Illustrator CC on Windows 10

image

Artboard size

So, there is no artboard size specified that will generate the icons of the correct size. I tested for android, and the correct artboard size is 96 x 96 px. It should be specified somewhere in the README

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.