Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [javascript]

Questions related to Javascript code, one of the main technologies behind the web and also being used in Adobe software.

Filter by
Sorted by
Tagged with
1
vote
1answer
2k views

InDesign: how to run multiple find/change queries at once

The pesky ~c in the grep find change is extremely helpful but limited. I want to script multiple find change actions that replace the text found with complex formatted text blocks containing text, ...
0
votes
1answer
1k views

InDesign row height script?

InDesign has ignored my row heights when importing an Excel sheet. Every first and second row height was default (20), every third row height was 10. Does anyone know if I can accomplish these ...
0
votes
1answer
974 views

Convert smart (curly) quotes to dumb (straight) quotes in InDesign using JavaScript

I am trying to write a script to automatically convert all curly double quotes (“”) in a text box into straight double quotes ("). Here's all that I've tried so far and none of them seem to be working:...
0
votes
3answers
5k views

How do I get rid of this invisible box?

When I use the "direct selection tool" (not the regular selection tool) to select the image, this box randomly shows up around it... It is making the script I wrote freak out. Basically, what I need ...
1
vote
0answers
222 views

Resizing all objects in a layer using Illustrator CS5

IN SUMMARY...MANUALLY all I need to do is ...select all...change width or height depending on which side is longer and constrain THAT'S IT >.<....SOUNDS SIMPLE RIGHT? THE QUESTION IS THIS....Am I ...
0
votes
2answers
4k views

Export from Illustrator to JSON

I use Illustrator to export coordinates (x, y, width and height) of rectangles to JSON. I use JSON to import the coordinates into my web app and repaint them. I use the free Illustrator extension '...
1
vote
2answers
3k views

Indesign script to replace paragraph style

I am using ID CC 2014 on a Mac and there's a huge file with several hundred pages where I need to delete a certain paragraph style replacing it with another. Say there's a para style called "style-1". ...
7
votes
1answer
2k views

Problems with Dynamic Text in SVG when font is not SVG

So, I have an graphics automation chain that has been happily running on a headless linux environment using programmaticaly generated/altered SVGs and PhantomJS (currently 1.9.0) as a final rendering ...
0
votes
2answers
2k views

How to convert an array of HTML colours into into a picture? [closed]

I have an array of colors, for example: A=[['#ff00ff', '#00ff00', '#ffff00', '#00ff00', '#0000ff', '#00ffff', '#00ffff'], ['#0000ff', '#0000ff', '#00ffff', '#00ff00', '#ffff00', '#...
0
votes
2answers
2k views

Automatically resize an object by a percentage when a particular object style is applied to it

I work for an education company, and we deal with a good number of fractions when writing our publications. We currently use MathType to generate the fractions, which saves each fraction as a separate ...
6
votes
2answers
1k views

Ending a Photoshop script when no layers are selected

I've been working with a function I found on stackoverflow here that works as far as I can tell by grouping the layers, dumping layer names into an array then ungrouping them. function ...
1
vote
1answer
532 views

How to change textframe creation order in Indesign

I am writing a script for Indesign. In that script I am taking the contents of the text frames and save them to a database. Till here my script works. However when looping between text frames script ...
2
votes
1answer
3k views

Indesign script (Javascript) to return/select words around insertion point

Consider the following text: She sells sea shells. Say my insertion point is currently at a blank space between two words, i.e. app.selection[0].characters.length < 1 I need to select or return ...
-3
votes
2answers
600 views

Alternatives to jQuery for simple, backwards compatible, client-side website animations? [duplicate]

I was recently looking for an alternative JavaScript animation library, because for the few simple animations I wanted, a ~200kb jQuery library is not the best option. After a bit of searching, I ...
1
vote
2answers
4k views

How to create a responsive sprite sheet animation in css?

i've been trying to do this for hours but so far i haven't made any progress. I have a site with a few animations in it, some will be activated on click and some on hover. something similar to the ...
4
votes
2answers
2k views

Long Shadow Effect in SVG for Web

Basically I'm wondering if anyone has any ideas on how to efficiently get a long shadow effect with an SVG: Example Image My three ideas on how this might be possible: Hella detailed gradient map, ...
5
votes
2answers
453 views

Talking about front end web development frameworks from a designer's perspective

I am a web developer working at a company where the front end framework we have selected is Angular JS. I am now in the position where I am the 'resident expert' whatever that means. I have been ...
0
votes
2answers
260 views

Learning how to design a webpage from code, with examples in CSS3, Python, etc [duplicate]

Possible Duplicate: Tips and sources for beginning designers I am now completing my first website written in Python. I started learning front-end development languages such as JavaScript and CSS. ...