Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

InDesign Scripting | Forum profile

Forum profile page for InDesign Scripting on http://www.adobeforums.com. This report page is the aggregated overview from a single forum: InDesign Scripting, located on the Message Board at http://www.adobeforums.com. This forum profile page summarizes the general forum statistics such as: Users Activity, Forum Activity, and Top Authors, which are reported in either a table or graph below for a given reporting time period. Additional forum profile information for "InDesign Scripting" on the Message Board at http://www.adobeforums.com is also shown in the following ways:

1) Latest Active Threads
2) Hot Threads for Last Week

Warning: These statistics are generated using 'best efforts' and can experience delays and reporting errors at times. Please note that such statistics do not constitute a forum's popularity and/or exact posting volumes at any given reporting period.

Site: Adobe - Forums - InDesign Scripting (site profile, domain info adobeforums.com)
Title: InDesign Scripting
Url: http://forums.adobe.com/community/indesign/inde...
Users activity: 25 posts per thread
Forum activity: 103 active threads during last week
 

Posting activity on InDesign Scripting:

  Week Month 3 Months
Threads: 103 335 907
Post: 248 829 2,261
 

InDesign Scripting Posting activity graph:

Posts by:  day  week  month 

Top authors during last week:

Name
Posts
Harbs.
18
user's latest post:
Needed simple script to reset...
Published (2009-11-27 00:14:00)
Hi Jong,   Ugh! Yeah it was sent by email...   Well just glad it worked after your corrections...   Harbs
Loic_aigon
17
user's latest post:
get object reference to...
Published (2009-11-27 00:12:00)
Hi,   First of all, declare the type of the data var. Inspite JS is loosely typed, data type var is not defined yet when you first try to add string to it. That's why you get the undefined.   Secondly, I usually add the carriage return at end of the loop with a condition based on the increment value. See the code...   Bye,   Loic   PS: Do you know that this kind of code has already been...
[Jongware]
15
user's latest post:
JS CS3 image rotation value not...
Published (2009-11-27 18:19:00)
Other that brushing it off as an oddity of the Adobe programming team (and that should probably be "teams", Not On Speaking Terms with eachother): Top line: you rotate the frame , holding the image. Bottom line: you rotate the image .
Kasyan Servetsky
12
user's latest post:
Script to rename Link Info Names
Published (2009-11-27 12:29:00)
Victor,   The conversion program totally corrupted links in your document: myLink.filePath is just empty string, myLink.name is what should have been myLink.filePath (This is info from ESTK).   Here is a new version of the script -- it relinks to files located in NewLinks folder on the Desktop. Change this line var myNewPath =? "~/Desktop/NewLinks/" + myName; to location of your links.   Warning -- I...
Robert-Tkaczyk
9
user's latest post:
[Novice] Simple question about...
Published (2009-11-25 05:28:00)
For example in flex: fontFamily = name of the font present:   Property FontFamily As String ? read-only ? Member of InDesign.Font ? The name of the font family fontStyle = italic / normal present - in all text objects, like:   Property FontStyle As String ? Member of InDesign.Text ? The name of the font style. fontWeight = bold/normal Property PointSize As Variant ? Member of InDesign.Text ? The text size. Type: Unit (Double...
Dirk Becker
8
user's latest post:
Determine textblock height
Published (2009-11-23 10:34:00)
Robin,   you're right for a single ad. Note though that we're talking about the special case "offline fallback".   The further benefit of InDesign is that you flow the whole collection into a single story and place that into the editorial system or pass it on to whatever person handles ad layout. And there a single stream of lines and paragraphs should still have an advantage over 10,000 inline graphics....
Olivier.Berquin
7
user's latest post:
[CS4 JS] How to make...
Published (2009-11-26 06:24:00)
You're probably right.   So, I'll make it with a loop.   Thanks, Harbs, for your advice.     Oli.
sstanleyau
7
user's latest post:
[AS] Get bounds of PDF before it...
Published (2009-11-26 15:46:00)
Well you can get the dimensions of the first page of a PDF using the shell command mdls. So something like:   do shell script "mdls -name kMDItemPageHeight -name kMDItemPageWidth "& quoted form of POSIX path of theFile   and then parse the result. But I'm not sure it's going to be worth the extra effort.
Victor Bushfield
7
user's latest post:
Script to rename Link Info Names
Published (2009-11-27 16:37:00)
Kasyan,   Ignore that last post.? I had a few typos and I restarted indesign and now it works perfect.   Thanks again for all of your work.   Victor
Laubender
6
user's latest post:
Set all placed Photoshop images...
Published (2009-11-18 07:37:00)
Oh, don't thank me for introducing you to the toSource()-method. Your thanks must go to Dirk Becker who introduced me to that method.   Uwe
 

Latest active threads on InDesign Scripting::

Adobe - Forums
Started 1 day, 9 hours ago (2009-11-28 09:47:00)  by Dirk Becker
The script even locks up InDesign ... My guess is that your problem is related to the "modal" nature of the dialogs, that means users are locked out from clicking outside until the dialog is dismissed. As you found out, this only works once. Can you eventually replace both "dialog" arguments with "palette" or "window" ? That way it works in ESTK, InDesign should behave the same way....
Thread:  Show this thread (5 posts)   Thread info: Persistent ScriptUI Dialogs that can be shown several times. Size: 1,013 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Persistent ScriptUI Dialogs that can be shown several times. :: InDesign Scripting :: Adobe - Forums"
Adobe - Forums
Started 6 days, 16 hours ago (2009-11-23 02:47:00)  by Loic_aigon
you may need to recurse the object while the parent isn't a page var theParent = itemLink.parent.parent; while(theParent.constructor.name!="Page") {      theParent= theParent.parent; } alert(theParent.name); Loic
Thread:  Show this thread (11 posts)   Thread info: get object reference to selection... Size: 888 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: get object reference to selection... :: InDesign Scripting :: Adobe - Forums"
Adobe - Forums
Started 1 day, 17 hours ago (2009-11-28 01:40:00)  by Max Dunn
I would have expected that such a feature would be easy to automate. However, the digital edition export is not built like most of the rest of InDesign, which has generally been created in C++, with careful attention to expose virtually all features to automation (hence the existence of this forum). Instead, the functionality for digital edition export is realized via (compiled) scripts, i...
Thread:  Show this thread (4 posts)   Thread info: CS4 InDesign: javascript export digital editons Size: 2,156 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: CS4 InDesign: javascript export digital editons :: InDesign Scripting :: Adobe - Forums"
Adobe - Forums
Started 2 days, 1 hour ago (2009-11-27 18:19:00)  by [Jongware]
Other that brushing it off as an oddity of the Adobe programming team (and that should probably be "teams", Not On Speaking Terms with eachother): Top line: you rotate the frame , holding the image. Bottom line: you rotate the image .
Thread:  Show this thread (2 posts)   Thread info: JS CS3 image rotation value not the same in Photoshop Size: 660 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: JS CS3 image rotation value not the same in Photoshop :: InDesign Scripting :: Adobe - Forums"
Adobe - Forums
Started 4 days, 2 hours ago (2009-11-25 16:44:00)  by pkahrel
Vic -- Kasyan Servetsky is your man: he has posted several scripts in this forum dealing with this (one of them pretty recently). Search the forum for "Kasyan" and "relink" and you're sure to find something that suits you. Peter
Thread:  Show this thread (10 posts)   Thread info: Script to rename Link Info Names Size: 701 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Script to rename Link Info Names :: InDesign Scripting :: Adobe - Forums"
Adobe - Forums
Started 2 days, 3 hours ago (2009-11-27 15:57:00)  by DAHolman
I'm not sure I'm totally following your question but, I'm very interested in automating via the same process you described so I'll try to get the discussion going. I just don’t have Idea how to place the images and tables automatically after their citations? the images are called out in your XML, right? you should be able to flow them in based on a template doc. I believe the tables...
Thread:  Show this thread (2 posts)   Thread info: InDesign and XML Automatic pagination Size: 1,663 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: InDesign and XML Automatic pagination :: InDesign Scripting :: Adobe - Forums"
Adobe - Forums
Started 6 days, 12 hours ago (2009-11-23 07:03:00)  by pvisell
Code below....thanks #target indesign function main() { if (app.documents.length == 0) { alert("Please have an 'Indesign' document before running this script."); return; } var docRef = app.documents[0]; $.sleep( 3000 ); // Just my novice delay method updateGraph(); $.sleep( 3000 ); // Ditto here //updateGraph();// done this twice because there seems to be a bug where the dataset...
Thread:  Show this thread (10 posts)   Thread info: Removing $Sleep in code Size: 2,999 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Removing $Sleep in code :: InDesign Scripting :: Adobe - Forums"
Adobe - Forums
Started 4 days, 10 hours ago (2009-11-25 09:24:00)  by [Jongware]
Something like this? for (a=2; a<app.activeDocument.allParagraphStyles.length; a++) app.activeDocument.allParagraphStyles[a].name = app.activeDocument.allParagraphStyles[a].name.repl ace(/ /g, '_' ); for (a=1; a<app.activeDocument.allCharacterStyles.length; a++) app.activeDocument.allCharacterStyles[a].name = app.activeDocument.allCharacterStyles[a].name.repl ace(/ /g, '_' );...
Thread:  Show this thread (5 posts)   Thread info: CS3: need script to replace spaces with underscores in paragraph and
character style names Size: 2,655 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: CS3: need script to replace spaces with underscores in paragraph and
character style names :: InDesign Scripting :: Adobe - Forums"
Adobe - Forums
Started 2 weeks, 3 days ago (2009-11-12 08:34:00)  by Robert-Tkaczyk
hi Eugene, if you work on PC - you can test my script Export-Import InDesign Texts: http://www.adobescripts.com/search.php?query=expor t-import&action=results if you want I can modify it to fit your needs robin www.adobescripts.co.uk
Thread:  Show this thread (16 posts)   Thread info: Export all stories to single RTF file Size: 1,136 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Export all stories to single RTF file :: InDesign Scripting :: Adobe - Forums"
 

Hot threads for last week on InDesign Scripting::

InDesign Scripting
Started 6 days, 12 hours ago (2009-11-23 06:40:00)  by Werner_v._Aswegen
Height of containing frame.
Thread:  Show this thread (12 posts)   Thread info: Determine textblock height Size: 740 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Determine textblock height :: InDesign Scripting :: Adobe - Forums"
InDesign Scripting
Started 4 days, 11 hours ago (2009-11-25 08:21:00)  by Olivier.Berquin
Sorry for the noise... I found it: app.activeDocument.stories.everyItem().changeGrep( ); I just buy the pdf of Peter Kahrel: "Scripting_InDesign_CS3/4_with_JavaScript.pdf". Thanks again, Peter! Oli.
Thread:  Show this thread (11 posts)   Thread info: [CS4 JS] How to make search-replace on selected text frames Size: 998 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: [CS4 JS] How to make search-replace on selected text frames :: InDesign Scripting :: Adobe - Forums"
InDesign Scripting
Started 6 days, 16 hours ago (2009-11-23 02:47:00)  by Loic_aigon
you may need to recurse the object while the parent isn't a page var theParent = itemLink.parent.parent; while(theParent.constructor.name!="Page") {      theParent= theParent.parent; } alert(theParent.name); Loic
Thread:  Show this thread (11 posts)   Thread info: get object reference to selection... Size: 888 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: get object reference to selection... :: InDesign Scripting :: Adobe - Forums"
InDesign Scripting
Started 6 days, 12 hours ago (2009-11-23 07:03:00)  by pvisell
Code below....thanks #target indesign function main() { if (app.documents.length == 0) { alert("Please have an 'Indesign' document before running this script."); return; } var docRef = app.documents[0]; $.sleep( 3000 ); // Just my novice delay method updateGraph(); $.sleep( 3000 ); // Ditto here //updateGraph();// done this twice because there seems to be a bug where the dataset...
Thread:  Show this thread (10 posts)   Thread info: Removing $Sleep in code Size: 2,999 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Removing $Sleep in code :: InDesign Scripting :: Adobe - Forums"
InDesign Scripting
Started 4 days, 2 hours ago (2009-11-25 16:44:00)  by pkahrel
Vic -- Kasyan Servetsky is your man: he has posted several scripts in this forum dealing with this (one of them pretty recently). Search the forum for "Kasyan" and "relink" and you're sure to find something that suits you. Peter
Thread:  Show this thread (10 posts)   Thread info: Script to rename Link Info Names Size: 701 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Script to rename Link Info Names :: InDesign Scripting :: Adobe - Forums"
InDesign Scripting
Started 6 days, 16 hours ago (2009-11-23 03:24:00)  by Harbs.
Hi Loic, Here's a basic skeleton (only works in CS4): uiElement.addEventListener( "keydown", handleShift ); function handleShift ( myEvent ) { if ( myEvent.shiftKey ) { // Shift key pressed down isShiftPressed = true; } else { isShiftPressed = false; } } Harbs...
Thread:  Show this thread (8 posts)   Thread info: ScriptUI : Check if shiftKeyPressed when clicking a button ? Size: 1,260 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: ScriptUI : Check if shiftKeyPressed when clicking a button ? :: InDesign Scripting :: Adobe - Forums"
InDesign Scripting
Started 7 months ago (2009-04-30 14:33:00)  by Dave Saunders
Hi David, That error indicates that there is an error in the script in myString which the script you're running has assembled (from the information in your customized .txt file). Can you tell if any of your searches were executed? That would give a clue as to how far the script progressed before hitting the error. Alternatively, post your .txt file here and let us see if we can ...
Thread:  Show this thread (69 posts)   Thread info: FindChangeByList script Size: 1,089 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: FindChangeByList script :: InDesign Scripting :: Adobe - Forums"
InDesign Scripting
Started 5 days, 12 hours ago (2009-11-24 06:57:00)  by Melzi94270
In fact my question is just for bold AND italic. It exists an underline property independant of fontStyle
Thread:  Show this thread (8 posts)   Thread info: [Novice] Simple question about fontStyle Size: 624 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: [Novice] Simple question about fontStyle :: InDesign Scripting :: Adobe - Forums"
InDesign Scripting
Started 8 months, 2 weeks ago (2009-03-16 14:39:00)  by sstanleyau
The problem is all the undos; you can clear them by periodically doing a<br />'save as" -- save to the same file path.<br /><br />-- <br />Shane Stanley <sstanley@myriad-com.com.au><br />AppleScript Pro Sessions <a href=http://scriptingmatters.com/aspro>
Thread:  Show this thread (32 posts)   Thread info: [AS] Script runs slower and slower Size: 685 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: [AS] Script runs slower and slower :: InDesign Scripting :: Adobe - Forums"
InDesign Scripting
Started 4 days, 15 hours ago (2009-11-25 03:53:00)  by pkahrel
Fred, This works for me: for (var i = myFinds[0].length-1; i > 0; i--)     myFinds[0][i].move (LocationOptions.after, myFinds[0][i-1].insertionPoints[0]); //move the first anchor to the beginning of the first word in myRange myFinds[0][0].move (LocationOptions.after, myRange.words[0].insertionPoints[0]); This one moves each anchor in myRange to the previous one. Only the first ...
Thread:  Show this thread (7 posts)   Thread info: Move anchored frame [JS] CS4 Size: 1,159 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Move anchored frame [JS] CS4 :: InDesign Scripting :: Adobe - Forums"