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

compare 2 string equal false, open dialog

Hi all, I developpe a function who compare if a certain link is in an list. This list can be full by the user with a File.openDialog.My function work only with link who haven't any space in the file...

View Article


Re: build dialog user interface

Hi thanks you for your reply!It's work now. I add my code if it can help someone:  #include "tools.jsx" #include "pictures_tools.jsx" /* @Example var results = create_dialog_main (); if(results !=...

View Article


Image may be NSFW.
Clik here to view.

Re: compare 2 string equal false, open dialog

Hi, I forget that, my values look like this after running this script:   // if I use File.decode my values look like this var str = "Capture d’écran 2013-07-31 à 18.57.24.png"; var str2 = "Capture...

View Article

Re: Script for switching master pages

Moved to the Scripting Forum...

View Article

Re: Script for switching master pages

here you go (it also creates sections) var ProgressBar = function(/*str*/title){     var w = new Window('palette', ' '+title, {x:0, y:0, width:340, height:60}),          pb = w.add('progressbar',...

View Article


Re: Problem with UTF filenames on Mac OS X

Hi, I think I have the same problem and i spend a lot of time with this bugs…I have 1 file name from an user dialog box who isn't equal the same file from an indesign link:( Could you give me an...

View Article

Re: Script for switching master pages

@Vamitul – one option is missing.The "[None]" master spread (the spread with no name and no other properties): myPage.appliedMaster = null; Uwe

View Article

Re: Script for switching master pages

huh.. yeah.... i guess you are right. never noticed (it's an ancient script i did for our workflow), since we never use [none]. wierd part is i always assumed that document.masterPages[0]==[none]....

View Article


Re: Script for switching master pages

(OT) "Acum e gata!" = "Look, a cat!" ? :-?

View Article


Re: Script for switching master pages

huh.. o.. what.. what cat? ("Acum e gata!" - romainan- means "Now it's done!", and "Rabdare..."="Have patience..." )

View Article

Re: Script for switching master pages

I appreciate the help, but this script is not working.

View Article

Re: Script for switching master pages

Hi Clark, Check out my "Apply Masters based on Paragraph Styles" script, on www.freelancebookdesign.com under the scripting tab. You can download a demo there too. Ariel

View Article

Use Script to Change a Cross-Reference Format

Does anybody know if there is a way to use a script to change a cross-reference format? We have complex technical documents that use quite a number of cross-references and a number of different...

View Article


Re: Use Script to Change a Cross-Reference Format

It's all there in the object model (I looked in the CC object model), but beware because CrossReference means two different things in the object model. There's the cross references you're talking about...

View Article

Re: New! script to Find address

Im so tired in find like this...... help me forum... shhhhh mmmm ahhh ahhh pain in my fingers...^(\+971)+([\d])+([\d])+([\d])+([\d])+([\d])+([\d])+([\d])+([\d])^(\+971)...

View Article


Re: New! script to Find address

Do you need a script? I would search for +971 followed by a space and replace with +971 only, then search for 971(\d) followed by a space and replace with +971$1, running this search until it fails....

View Article

Re: compare 2 string equal false, open dialog

That's because the strings str_encode and str_encode_2 aren't the same. Do this: // if I use File.decode my values look like this var str = "Capture d’écran 2013-07-31 à 18.57.24.png"; var str2 =...

View Article


Re: compare 2 string equal false, open dialog

not too sure what you are doing there but tryif (str_encode.toString() == str_encode_2.toString())Using toString()

View Article

Re: Script to spell out state abbreviations

See #12 on http://forums.adobe.com/message/4607311#4607311Make csv file with excel of the abrv. and the state names, can copy and paste from lists on the web and then run the script

View Article

Re: New! script to Find address

Hi, All posts showed you a good ways.These ways should lead you to a script code or to UI "find...change" dialog.As you wrote you are interested to join this forum here is a "welcome gift" from me: var...

View Article
Browsing all 37788 articles
Browse latest View live


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