10 comments

  • David KizlerDavid Kizler, almost 4 years ago

    I just recently discovered Sketch Scripting. I’m not a programmer, but they make it very easy to install custom scripts.

    In case you don’t know (which was me a week ago), simply go to plugins/ create custom script.

    In the custom script box, you paste your scripts or plugins. You can find a nice list of plugins here.

    Here’s one I find helpful to get a rectangle to fill the dimensions of the artboard:

    // Make the selection fill the parent group (artboard). var layer = selection[0]; var frame = [layer frame]; var parent = [layer parentGroup]; [frame setX: 0]; [frame setY: 0]; [frame setWidth: [[parent frame] width]]; [frame setHeight: [[parent frame] height]];

    Paste that into your script, rename and save and you’ve got a new Sketch tool which can also be assigned a keyboard shortcut.

    Anyways, thought I’d share in case somebody has yet to bump into this cool part of Sketch. I’m hoping eventually enough plugins will be created that I can eventually let go of Adobe Fireworks.

    1 point
  • Harouth Arthur MekhjianHarouth Arthur Mekhjian, almost 4 years ago

    I know I am off topic, but quick question does anyone know if there has been any indication if sketch will ever come to another platform other than OSX? Just seems like an app that would be really useful but I don't see myself going over to OSX for it.

    0 points
  • Rami JamesRami James, almost 4 years ago

    I'm still so frustrated that Align left, center, and right aren't in there by default.

    0 points
    • Daan van KlinkenDaan van Klinken, almost 4 years ago

      I made these shortcuts for align, they work well for me.

      Align Shotcuts

      0 points
      • Rami JamesRami James, almost 4 years ago

        I made mine to match Fireworks.

        The point isn't that I can't make shortcuts. The point is that something so fundamental should just simply have shortcuts built in. :(

        0 points
      • Richard BurtonRichard Burton, over 3 years ago

        Did you set these shortcuts in the Settings tab of your machine or did you add a script? If it's the latter, would you mind sharing it?

        0 points
  • Garrett GroszkoGarrett Groszko, almost 4 years ago

    Very nice! Thank you!

    0 points
  • Donald HuhDonald Huh, almost 4 years ago

    Nice! and pro tip: laying out the shortcuts in a grid view would be more convenient and easier to read.

    0 points
  • Lucas AlmeidaLucas Almeida, over 3 years ago

    Veeeery good.

    0 points