Quantcast
Channel: Adobe Community: Message List - InDesign Scripting
Browsing all 37788 articles
Browse latest View live

Re: [JS] CS3 and later. Sort the Swatches alphabetically

This is an old thread, but I found while looking for a solution to this issue. I wrote a script that will sort Swatches, Tints, and Gradients.  Easy installers are available...

View Article


Image may be NSFW.
Clik here to view.

Re: [JS] CS3 and later. Sort the Swatches alphabetically

@Justin – well, you may or you may not followed that lengthy discussion on the Swiss/German forum Peter Kahrel pointed to… There in answer #3 I remarked, that one can well move around all the four...

View Article


Re: [JS] CS3 and later. Sort the Swatches alphabetically

Just a hint, how we could eliminate the problem with the standard swatches (not tested):look at the ID numbers of the swatches. No need to sort them with a sort(). The first 2-digit-ones (according to...

View Article

Re: How to create a cross-reference of paragraph number?

Jill, To create a cross-reference, you need three things: a cross-reference format, the referenced paragraph, and the insertion point where the reference is to be inserted. You then create a source (a...

View Article

IDCS6 MACOSX JS: "remove unused layer" script doesn't see masters based on...

Hello everybody. I have an old script that I have used many times to remove unused layers. Until today I thought it worked well:  var layers = app.documents[0].layers.everyItem().getElements();for(var...

View Article


Image may be NSFW.
Clik here to view.

Re: [JS] CS3 and later. Sort the Swatches alphabetically

@Justin: have to say that I'm experiencing issues with your script too. Was almost ready to sing the praises of the script until I found some bugs of my own: Before After  (has added a colour that...

View Article

Re: Specific Colour changing Script from RGB to CMYK

Sorry to resurrect an old thread, but I discovered this script and found it quite useful. I did make one modification to it: it finds any colour type (in the PROCESS dropdown of the colour menu)...

View Article

Resources for new programmer.

Hi fellow scripters. My boss hired a new programmer who's starting next week and since it was impossible to find someone with InDesign scripting experience, I would like to hear from you on what...

View Article


How do I delete all empty graphics frames from a document?

I have data merged a document and need to remove all the empty graphics frames as quick as possible. I have found solutions for deleting empty text frames but not graphics frames. Can somebody help...

View Article


Need help to optimize this script.

Hello, I am using ID CS5 on Windows7. I have a requirment where I need to type text in a perticular text frame and have it copied to other text frames. I have written this little script which does the...

View Article

Delete character in file names

Hi, I need a help to rename some of the files. i.e. delete some characters of a files. eg. XX_5182179_ETERNITY_25TH_MB_AB_XYX_abc.ttjseg. XX_4182229_ETERNITY_21TH_MB_AB_XYX_abc.ttjs like above eg. i...

View Article

Re: How to create a cross-reference of paragraph number?

Thanks Peter, that worked perfectly!!! ~Jill

View Article

Re: How do I delete all empty graphics frames from a document?

HI MToysI didnt check out the post from the other forum, but to remove all empty graphic frames from a doc without any conditions, you can try this code: var myGraphicFrames =...

View Article


InDesign Script to wait for file to open before continue

Hello as above i have a simple script to select a file to open froma folder and tthen open it.However the code continues as the file is still openingis there a way to get the script to wait for the...

View Article

Image may be NSFW.
Clik here to view.

Re: [JS] CS3 and later. Sort the Swatches alphabetically

Thanks for pointing these things out @Laubender and @cdflash. Version 1 is never perfect.  I did not yet include mixed inks in my testing/code. I'll improve numberic sorting and add smarter...

View Article


Image may be NSFW.
Clik here to view.

Re: How do I delete all empty graphics frames from a document?

@myDavey – but there are conditions.(Nearly) every time a layout is done… Before:  After:  Uwe

View Article

Re: [JS] CS3 and later. Sort the Swatches alphabetically

@Justin – sorting out the four basic swatches is easy. Just do it by their ID numbers. The first four ones if you sort numeric by IDs. :-) But you cannot remove or add them. A notification to the user...

View Article


Re: How do I delete all empty graphics frames from a document?

@Uwe - ThanksI happened to have just had a few jobs where I needed to delete rectangles w/o conditionsI was just playing around with pictures on the pasteboard - outside any text frames (setting up a...

View Article

Re: [JS] CS3 and later. Sort the Swatches alphabetically

Ok. Updated version posted:http://ajarproductions.com/blog/2013/12/13/sort-swatches-in-adobe-inde sign/ It should now:Respect (and ignore) the default swatches, despite their current location in the...

View Article

Re: [JS] CS3 and later. Sort the Swatches alphabetically

Sorry to tell you this, but the script still yields exactly the same results for me as my earlier posts. Colly

View Article
Browsing all 37788 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>