problems with the script in indesign
Hi all
I'm new and scripts so I hope I can explain what I need
Well, I have an indesign file in which I need to insert an extra layer with the translation of a language, have a layer IN English and an extra a FR for the french.
I found a script that's like that
with (app.clipboardPreferences) {}
pasteRemembersLayers = true;
}
var docTarget = app.documents.itemByName ('French.indd');
var docSource = app.documents.itemByName ('French.indd');
If (docSource.isValid & & docTarget.isValid) {}
var numSpreads = docSource.spreads.length;
for (var i = 0; i < numSpreads; i ++) {}
app.activeDocument = docSource;
app.activeWindow.activeSpread = app.activeDocument.spreads [i];
App.Select (App.activeDocument.spreads [i] .allPageItems);
If (app.selection.length > 0) {}
app. Copy ();
app.activeDocument = docTarget;
If (app.activeDocument.spreads [i] .isValid) {}
app.activeWindow.activeSpread = app.activeDocument.spreads [i];
app.pasteInPlace ();
}
}
}
}
but it seems to cause problems with the files,
I have to say that the source is a file very heavy, even enter takes a long time.
but I want to just get into the text layer,
Do you think this script works finally, can you spot an error or something?
Hello
Your script is copying content of any doc (allPageItems) in an another doc - all number two need to have equal variances.
You don't need to run the script if your goal is to create the new layer in the existing doc.
The questions are
What elements of the page must be copied into this layer
AND
should bound texts copied frames play any content
AND
wherever the content come from?
Jarek
Tags: InDesign
Similar Questions
-
There is a pop up of a problem with the script. He asked end and contuniue the script. I didn't have this problem before. Please help me this is getting really annoying. He asks a lot
I changed a theme and almost never have a problem again...
-
Having a problem with the script error message
The error message and web page script error every move I make now. I tried to check and uncheck boxes tab in advance internet options. I also ran a check of the system that did not help either. Any suggestions? Thank you
Hi Mic,
From the description, it seems that you have a problem with the script error message in Internet Explorer.
To better understand the question, please answer the following questions:
1. is specific to a particular Web site question?
2 have you made changes on the computer before this problem?
3. What is the exact full error message and web page of script error message?
4. When you get exactly the script error message and web page error message appears?
5. what exactly you're talking about when you say "system check"?
See the article mentioned:
How to troubleshoot script errors in Internet Explorer
http://support.Microsoft.com/kb/308260
Hope the above information is helpful. If you have any question back to us, we are happy to help you.
-
As the title said, I have a problem with the download of Indesign CS 6 part 1 (Mac), it always stop at 6.8 MB download (about 1.2 GB). I tried to restart my mac, using the different browser but it's always the same result... Any help?
Try this site
Download Adobe CS6 Trials: Direct links (without Assistant or Manager) | ProDesignTools
-
Problem with the trial of InDesign for Mac
Hello! I have problems with the InDesign trial download to my Macbook pro. This works on my macbook air to friends, but now on my computer. What can I do?
Please read https://forums.adobe.com/thread/1499014
-try some steps such as changing browsers and disable your firewall
-also clear the cache of your browser if you start with a fresh browser
-check the file hosts for blocked entries https://forums.adobe.com/thread/1912777
http://myleniumerrors.com/installation-and-licensing-problems/creative-cloud-error-codes-w ip.
https://helpx.Adobe.com/creative-cloud/KB/creative-cloud-desktop-application-failed.html
http://helpx.Adobe.com/creative-cloud/KB/failed-install-creative-cloud-desktop.html
-
Problems with the script to output event
In fact I don't know if I have a problem with the Exit event or if there is something wrong with my script syntax... The output of a field event, I check if the field is empty or not and check a flag I put in place.
The first if statement works - if I get back a value in the field, everything goes as planned. If I delete the value of the field, nothing happens.
//if field has a value hide subSection04 if (!(this.rawValue == null || this.rawValue.length == 0)) { subSections.subSection04.presence = "hidden"; } //if field is empty and flag equals true show subSection04 else if ((this.rawValue == null || this.rawValue.length == 0) && (subFlags.Commercial.rawValue == true)) { subSections.subSection04.presence = "visible"; } //if field is empty and flag equals false hide subSection04 else if ((this.rawValue == null || this.rawValue.length == 0) && (subFlags.Commercial.rawValue == false)) { subSections.subSection04.presence = "hidden"; }
There are a few groups radio button that also control this behavior, they are all inter relate. So I tried also triggers the Click event of a radiobutton Group (which resembles the value in this field) out of this area, but that doesn't seem to work.Hi Jono,
Your expression subFlags.Commercial.rawValue is true compares a String data type with a Boolean data type.
Edit the expression as subFlags.Commercial.rawValue is 'true'
I hope that this should work for you.
Your code should look like
//if field has a value hide subSection04 if (!(this.rawValue == null || this.rawValue.length == 0)) { subSections.subSection04.presence = "hidden"; } //if field is empty and flag equals true show subSection04 else if ((this.rawValue == null || this.rawValue.length == 0) && (subFlags.Commercial.rawValue == "true")) { subSections.subSection04.presence = "visible"; } //if field is empty and flag equals false hide subSection04 else if ((this.rawValue == null || this.rawValue.length == 0) && (subFlags.Commercial.rawValue == "false")) { subSections.subSection04.presence = "hidden"; }
Nith
-
rebate of education after buying Creative Clooud and the problem with the help of InDesign
Hello, I was wondering if you could help me with the following questions:
(1) I just bought an annual subscription for Adobe Creative Cloud. Subsequently, I have seen that Adobe offers discounts to staff who work in schools or educators. I work in a school in the Luxembourg. I can provide the corresponding certificate. I was wondering where and how would I submit in order to receive the discount.
(2) I downloaded and installed Adobe Creative Cloud in my computer. I installed two products: Adobe Photoshop and Adobe InDesign. I use Adobe Photoshop without problem, but I can't use Adobe InDesign. He requests a license.
Thank you in advance for your advice, best looks
Hi kertom,
(1) I just bought an annual subscription for Adobe Creative Cloud. Subsequently, I have seen that Adobe offers discounts to staff who work in schools or educators. I work in a school in the Luxembourg. I can provide the corresponding certificate. I was wondering where and how would I submit in order to receive the discount
Please see the Ko: http://helpx.adobe.com/x-productkb/policy-pricing/education-faq.html#Eligibility.
(2) I downloaded and installed Adobe Creative Cloud in my computer. I installed two products: Adobe Photoshop and Adobe InDesign. I use Adobe Photoshop without problem, but I can't use Adobe InDesign. He requests a license.
Please see the Ko: http://helpx.adobe.com/creative-cloud/kb/ccm-prompt-serial-number.html.
Kind regards
Romit Sinha
-
Problems with the script tracks
Hi all!
I should start by saying that I have very little knowledge of scripting languages. I found a script of the interwebs that is designed to process images in batch photomerge. I was able to run the script that references a second script in the Adobe stock pile Scripts only on file (Photomerge.jsx). The error occurs on line 44 when he says that the file or folder does not exist. Here is the code:
41 g_StackScriptFolderPath = app.path var + ' / ' + localize("$$$/ScriptingSupport/InstalledScripts=Presets/Scripts") + ' / '.
42 + locate ("$$$ / private/Exposuremerge/StackScriptOnly = stack Scripts only /");
43
44 .evalFile $(g_StackScriptFolderPath + "LatteUI.jsx");
45
46 .evalFile $(g_StackScriptFolderPath + "StackSupport.jsx");
47
48 .evalFile $(g_StackScriptFolderPath + "CreateImageStack.jsx");
49
$50 .evalFile (g_StackScriptFolderPath + "Geometry.jsx");
51
$52 .evalFile (g_StackScriptFolderPath + "PolyClip.jsx");
So, I feel that I should need to modify the scripts of stock and if I do, it will open a whole Pandora's box. My question is, what am I doing wrong?
This is the blog where I found the photomerge batch code: Automating automate: Photomerge in Adobe Photoshop batch running | Cristi Cotovan
Thanks for any idea!
ANI
You, but you need a quotation for the path. You only have to the end. You can still use app.path:
newPath = app.path var + ' / presets/Scripts/battery settings, Scripts Only / LatteUI.jsx'
You may encounter another subject-the .evalFile $ with these, but it's how you manage paths.
-
Problem with the swatches in Indesign CS4 palette
Hi all
Mac G5 dual processor OS 10.4.
I have a problem with my Swatches palette in that thumbnails showing stroke and fill are always empty, yet the range still works OK.
I don't know when this started - I use an old LCD monitor temporarily mine died and I thought at the beginning that I don't could not see properly, but I'm not sure now.
Any ideas please?
Any time the program starts to behave strangely like that, the first thing to try is to replace your preferences
-
Anyone having problems with the last update InDesign?
It began on the evening of Thursday, December 16. I was working on some provisions notecard and after export to PDF and try to put the page put in another PDF file, size and dimensions of the page was not recognized. Only the area around the actual graphic within the page. I called Adobe for technical help with not much success. Frustrating to say the least!
P.S. I have the Adobe Creative Cloud subscription.
You selected "Show Import Options" when you tried to place the PDF file? This is where you choose how it is cropped.
-
Problem with the report and the system of axis 2d
Hi, I'm trying to write a script with tiara, who wrote a 2d axis system in the report but I'm having a lot of problems with it.
What I'm trying to do, is make 3 or more system axis 2d in the report, each displaying a part of the data of 2 channels (x = ch0, ch1 = y).
With only 1 graphic I get what I want, but when I try to add the 2nd or the 3rd, they show without my defined x-scale and with the offset x different from the first chart.
I tried everything, but I could not remedy
I added as attachments the .csv file that I use to ch0 and ch1 and 2 screen shoots "what I get" (about the problem with the script) and "what I hope to get" (done manually, is what I'm trying to get the report)
Any help will be appreciated, thanks in advance
Ierman
I'll post my code here:
Dim Xscale, Yscale
XScale = Array (0,25,0,5,49)
Yscale = Array(-0.2,0.2,-0.2,10,4)
Call PicDelete()
Call GraphObjNew ("2D-Axis", "2DAxis1")
Call GRAPHObjOpen ("2DAxis1")
D2AxisTop = 1D2AxisBottom = 70
D2AxisLeft = 1
D2AxisRight = 1
Call GRAPHObjOpen ("2DYAxis1_1")
D2AxisyScaleType = "manual".
D2AXISYBEGIN = Yscale (0)
D2AXISYEND = Yscale (1)
D2AXISYORIGIN = Yscale (2)
D2AXISYTICK = Yscale (3)
D2AXISYMINITICK = Yscale (4)
Call GRAPHObjClose ("2DYAxis1_1")
Call GRAPHObjOpen ("2DXAxis1_1")
D2AxisxScaleType = "manual".
D2AXISXBEGIN = Xscale (0)
D2AXISXEND = Xscale (1)
D2AXISXORIGIN = Xscale (2)
D2AXISXTICK = Xscale (3)
D2AXISXMINITICK = Xscale (4)
D2AxisXTxt = ""D2AxisXColor = 'black '.
D2AxisXTickAuto = 1
D2MTickLineWidth (1) = 0.1
D2MTickLineType (1) = "solid".
D2AxisXTickSize = 60
D2AxisXTxtAutoCo = 0
D2MTickColor = "red".
Call GRAPHObjClose ("2DXAxis1_1")
Call GraphObjNew("2D-Curve","New_Curve")Call GraphObjOpen ("New_Curve")
D2CCHNX = "[1] / [1]" "
D2CCHNY = "[1] / [2]" "
D2CurveColor = "red".
Call GraphObjClose ("New_Curve")
Call GRAPHObjClose ("2DAxis1")Dim Xscale1, Yscale1
Xscale1 = Array (25,50,0,5,49)
Yscale1 = Array(-0.2,0.2,-0.2,10,4)
Call GraphObjNew ("2D-Axis", "grafic")
Call GRAPHObjOpen ("grafic")
D2AxisTop = 40D2AxisBottom = 37
D2AxisLeft = 1
D2AxisRight = 1
Call GRAPHObjOpen ("2DYAxis1_2")
D2AxisyScaleType = "manual".
D2AXISYBEGIN = Yscale1 (0)
D2AXISYEND = Yscale1 (1)
D2AXISYORIGIN = Yscale1 (2)
D2AXISYTICK = Yscale1 (3)
D2AXISYMINITICK = Yscale1 (4)
D2AxisYTxt = "" ' testo asse label y
Call GRAPHObjClose ("2DYAxis1_2")
Call GRAPHObjOpen ("2DXAxis1_2")
D2AxisxScaleType = "manual".
D2AXISXBEGIN = Xscale1 (0)
D2AXISXEND = Xscale1 (1)
D2AXISXORIGIN = Xscale1 (2)
D2AXISXTICK = Xscale1 (3)
D2AXISXMINITICK = Xscale1 (4)
D2AxisXTxt = «»D2AxisXColor = 'black '.
D2AxisXTickAuto = 1
D2MTickLineWidth (1) = 0.1
D2MTickLineType (1) = "solid".
D2AxisXTickSize = 60
D2AxisXTxtAutoCo = 0
D2MTickColor = "red".
Call GRAPHObjClose ("2DXAxis1_2")
Call GraphObjNew("2D-Curve","New_Curve1")Call GraphObjOpen ("New_Curve1")
D2CCHNX = "[1] / [1]" "
D2CCHNY = "[1] / [2]" "
D2CurveColor = "red".
Call GraphObjClose ("New_Curve1")
Call GRAPHObjClose ("grafic")Hi lerman,.
Here is an edited version of your code that works on my computer. A problem that I know that I fixed it was that your presentation of the STATE was in the name-oriented mode but you use the variables based on the number to assign it X and Y channels. The execution of these commands in a loop FOR makes it much easier to debug the code and to avoid any annoyance at first.
Brad Turpin
Tiara Product Support EngineerNational Instruments
-
Hello.
I have a problem with the content of spam. Somewhere in the Fox appeared script that's choking me audio spam. Every 30 minutes he's playing an audio clip that is malicious. I can't find the settings as it eliminated. Now, I don't have any plug-ins and Add-ons strange that were not initially in the Fox, but the problem is there.
I use the Fox years. The problem, he had 1.5 months after Fox cleaning. If the problem can't win, I'll be forced to give up the browser, and I wouldn't.Could test you mode without failure of Firefox? It is a standard diagnostic tool to disable some advanced features of Firefox and extensions. More info: questions to troubleshoot Firefox in Safe Mode.
Does not work if Firefox: Hold down the SHIFT key when you start Firefox.
If Firefox is running: You can restart Firefox in Mode safe mode using either:
- button "3-bar" menu > "?" button > restart with disabled modules
- Help menu > restart with disabled modules
and OK reboot.
Two scenarios: A small dialog box should appear. Click on 'Start mode safe' (not update).
Any improvement?
If the problem persists in Mode without failure, could reinstall you Firefox in this way:
Clean reinstall it
We use this name, but it isn't about deleting your settings, this is to ensure that the program, files are clean (not incompatible, corrupt or exotic code files). As described below, this process does not disrupt your existing settings. Don't uninstall NOT Firefox, that does not need.
(1) download a fresh Installer for Firefox 38.0.5 of https://www.mozilla.org/firefox/all/ in an ideal location. (Scroll down your preferred language).
(2) close Firefox (if applicable).
(3) to rename the program folder, either:
(Windows 64-bit folder names)
C:\Program Files (x86)\Mozilla Firefox
TO
C:\Program Files (x86)\OldFirefox
(Windows 32-bit folder names)
C:\Program Files\Mozilla Firefox
TO
C:\Program Files\OldFirefox
(4) run the installer you downloaded in the #1. It should automatically connect to your existing settings.
Any improvement?
Note: Some plugins can only exist in this OldFirefox file. If it is missing something essential, present in these files:
- \OldFirefox\Plugins
- \OldFirefox\browser\plugins
-
I can't import my script (film) into Adobe Story. The error message says: I am unable to connect to the Adobe servers. Is this a problem with the Adobe?
Yes and no it seems that if the file is a .doc or .pdf, that it does not load properly. But if I bring him in a Final Draft format, it works perfectly.
Adam
Sent from my iPhone
-
I have problems with the installation of Add-ons for InDesign CC 2015. How can I reinstall InDesign CC 2014?
There's direction at the bottom of this blog post: http://indesignsecrets.com/avoiding-problems-installing-indesign-cc-2015.php
-
I work in InDesign CS5 and have a problem with the panels on the right. the panels color chart, paragraph styles, and totally blank menus link. I pulled upward from publications that I already worked on and they are still virgins. I tried to load styles from other pubs, ID, and that does not work either. I can see them when I go to create a new style and use BASED on function.
Any ideas?
Try to restore your InDesign preferences. Here's how:
Maybe you are looking for
-
LiCor series - hex 0xBFFF006c read errors
Hi all I tried these last days develop a series VI to read the data of a 820-LiCor-CO2 gas Analyzer. I know what is sent to the device to a request to send data to the computer and how to analyze these data once it gets in return. Its manual settings
-
How to slow the scrollling title, caption and credits on Movie Maker?
I need to answer now, I'm in the middle of making my film. The title, caption and credits are so fast, that you can't read what it says. Please help me. Thank you.
-
I use XP
-
PowerConnect 3548P Inter VLAN routing
Hello I need to help the flow of traffic to and from our new voice VLAN 3. Here is our first series: 3548P VLAN 1 (data) is 10.0.0.85/24 VLAN 3 (voice) is 10.0.3.9/24 The default gateway of our firewall is 10.0.0.254. Would it be the GW I set up for
-
Get pop - ups of 'click.cpvrdr '.
I have problems with a file that has hacked my computer... it's click.cpvrdr and he brought another spyware with it... help... I can't get the files to be deleted no matter what I do. They seem to be deleted and then they go back and all files with