Can someone help me change the script function?
I have a script for indesign:
var link, image, frame,.
doc = app.activeDocument,
Links = doc.links,.
counter = 0;
for (var i = links.length - 1; i > = 0; i--) {}
If (links [i] .status == LinkStatus.LINK_MISSING) {}
try {}
link = links [i];
image = link.parent;
Frame = image.parent;
Frame.Remove ();
counter ++;
}
{} catch (err)
$.writeln (i + "-" + err);
}
}
}
which is made by Kasyan Servetsky, function: remove all objects from the missing link, it works fine, but only works on the single file,.
now, I want to change the purpose of the function to let him work on all open files.
for example, I opened more than a dozen files, all the files have disappeared as objects, I want to delete all items in the missing link in the file by a simple click the script,
is this possible?
Hi Harvey.
I guess that's what you expect below,
***********************************************************************
var link, image, image;
var openDocs = app.documents.
var openDocsLen = openDocs.length;
for (var d = 0; d)< opendocslen;="" d="">
currDoc = openDocs [d],
Links = currDoc.links,.
counter = 0;
for (var i = links.length - 1; I > = 0; i--) {}
If (links [i] .status == LinkStatus.LINK_MISSING) {}
try {}
link = links [i];
image = link.parent;
Frame = image.parent;
Frame.Remove ();
counter ++;
}
{} catch (err)
$.writeln (i + "-" + err);
}
}
}
}
*****************************************************************************
Please add extra code to save the document if you need
Concerning
Augustine
Tags: InDesign
Similar Questions
-
HI I'm new to HYPERION planning. Can someone help me with the script Calclation.
I wrote a script DataExport in the hyperion planning calculation script.
The Script is validated and successfully deployed. But I do not get to the exported file. What's in it.
This is my script.
exportactual:
{SET DATAEXPORTOPTIONS
DataExportLevel Level0.
DataExportDynamicCalc
DataExportColHeader 'period '.
DATAEXPORTCOLFORMAT ON;
};
DIFFICULTY (@IDESCENDANTS ("all accounts", 0), "Jan", "FY14', 'Power', 'Work', 'New York', 'RIN')
DATAEXPORT 'file ' '; '. "D:\exportedfile.txt" "#MI";
ENDFIX
The rule runs successfully.
When I look in the D: the exported file is not created.
When I look in the rule once again it displays / / error detected while trying to perform the work: exportactual
I'm new to this environment.
Can someone give me suggestion.
You can find the file in the Essbase server.
Check in one place everything you mentioned in script in Essbase Server.
Thank you
Mady
-
Can someone help me change the preference for what color appears when you add content using cultures
Areas that are circled, used to be a kind of bright blue and was easier to select and see. For some reason any over the past days, he has switched back to that dark gray color. I was wondering if someone could help me to restore.
Thanks a lot for any help
Take a look at your foreground and background colors. When you add to the canvas using the crop tool, filled it with the background color.
-
Can someone help me create a script to repeat to simply open the dialog box to create a link?
Can someone help me create a script to repeat to simply open the dialog box to create a link?
the "Connect" command uses the same dialog box as the command to "Place", except for the option "Replace" verified... so, use Ctrl + Shift + P to bring up the place dialog box, select your new image and select the checkbox "replace".
If check 'Replace' with the mouse slow you down, after you have selected your image, the tab key 'press' 3 times to change the focus, and then press the SPACEBAR to check it out, then ok to place.
-
HI all I would like to ask if you help me, I want to draw paths, but when I use options to mark with a pen or brush settings I lose quality when I Zoom, can someone help me with the settings for the pen?
The work path is a vector and infinitely scalable, but when caress you, Photoshop sets the pixels on a layer following the path. These pixels are rasterized and based and cannot be resized without loss of quality. You have options. If you want to enlarge the raster layer, transform the work path and stroking again. Or work at a resolution higher, in the first place.
Either incidentally, you can't trace a path with the pen, because it's a vector tool, and caressing is a matrix function based.
-
Hello! Can someone help me with the address of repair service for Palm TX?
Hello! Can someone help me with the address of repair service for Palm TX?
Good luck and please, let us know here how it works for you. We like to know current resources, which can help to solve the problems of people with these older devices.
-
I can't make a connection wifi with my Nook Color camera using a Microsoft MN - 700 wireless router. Can someone help me with the settings that could take care of this problem? I have a Dell netbook and a laptop HP working with the router so I know it works. The Nook also works in a Barnes & Noble store it seems so that the works of Nook. I have a similar problem with a LG Vortex phone where I can't do the wi - fi connection.
Please post on the Support forums technical Nook for help because it is not a Windows 7 problem...
http://bookclubs.barnesandnoble.com/T5/nook-technical-support/BD-p/nooksupport
.. .also than that...
http://www.barnesandnoble.com/u/nook-support-connectivity/379002491/
Don't forget the network encryption type, IE. WPA2/WPA and key/password / password must match the wireless router/access point.
See also this about WPA2 on the MN-700...
-
can someone help me with the link to download hp2050 print drivers that are compatible with windows 8, my software CD is not compatible with windows 8, and I can't use the printer now.
Hello
The installation program "Full Feature" can be found on the following link.
Kind regards
DP - K
-
Clouds (can someone help me with the error code 214?)
can someone help me with the error code 214?
Hello
Reference:--
Error in downloading, installing or updating Adobe Creative Cloud applications
-
I am trying to transfer the license from a Dreamweaver CS3 Macintosh product. A transfer of license form signed by the person who gave it to me. Can someone help me complete the process as cat Adobe say they are unable to help? I was told that the forum is reviewed by a team of experts. Anyone here? Thank you
Did you follow your form as well? A form must be completed and signed by both parties and submitted to the Adobe support via a support ticket. Chat support can't help, but should you indicated in section with the instructions.
-
Can someone help me find the output in bridge CC option?
Can someone help me find the output in bridge CC option?
http://helpx.Adobe.com/bridge/KB/install-output-module-bridge-cc.html
-
Hello world
I use this script:
App.Selection [0] .silence = "[Undefine]"; "
App.Selection [0]. Underline = true;
to change what I chose
change to [Remove], do highlight.
but:
If I add the
[Remove] in inserpoint,the comeout would not insist.
Can someone help me to change the functions:
is no question of the
selection or inserpoint I want to get [Remove] it with underscores.Thank you
Consider
Teetan
Try this,
var mySelection = app.selection[0]; if(mySelection instanceof InsertionPoint) {mySelection.insertionPoints[0].underline=true; mySelection.contents="[undefine]";} else if(mySelection instanceof Cell) {for(i=0; i
Vandy
-
Hello, I am looking for help for iBooks and iOS 10. Before iOS 10 I could read my iBook in landscape and actually looked like a book I would read if I bought it, but now if I read a book and a landscape I'm not seeing that more in iBooks, now that I'm in class place my iPad iOS 10. Can someone help me?
Thank you Chrissy
Hi Chrissyy2008,
I understand that when read your ebook in iBooks for iOS 10 reviews landscape you're used to seem a little different in the version update of iBooks. With the updates and upgrades will come from small changes in the way in which your apps to display its contents. If you are still able to read the book through view of landscape, this we know that the application works as expected. You can try to adjust the appearance of the iBooks app to have it look exactly as you wish during playback in landscape mode.
Change the appearance of your books
You can adjust some features of some ePub books or some books created with iBooks author, including:
Size of the font. Choose from the included fonts. For the moment, cannot install and use custom fonts.
Text color and the background. In iBooks 4.0 or later, you can use three themes: white, sepia and night. (Select option at night to read books in the dark.) Turn on the Auto-nuit theme to automatically switch to the theme of the night in low light.
Scrolling. In iBooks 3.2 or later, you can use the view to scroll to read your books in a continuous vertical scrolling instead of turning pages. This feature is available in any theme.
Share ideas with friends. In iBooks for iOS 3.0 or later and in iBooks for Mac, you can share the highlights and the selections on Facebook, Twitter, Messages or Mail (United States only).
You cannot change the appearance of the PDF documents or audio books.
Not all of these features work with EPUB files created with improved author or some other ePub iBooks.You can find this useful link to learn all the features of iOS 10 iBooks app. On iBooks
Please use the Apple Support communities to post your question. I hope you enjoy your shiny new iOS and more importantly, read ebooks in your iBooks app!
Have a great day.
-
can someone help me choose the right program to open my file on the desktop?
Try to open the game of chess. It prompted me to choose another file to open chess game of Titian. So I did it by clicking on the internet window explore. now all the progress or files on my desktop changed for symbol (e) of the exploring on them and I can't open them. I don't know how to get it back. Can someone help me?
Hello
I would like to know the operating system you work with.
Method 1) when you run an .exe on a Windows XP, Windows Vista or Windows 7 computer file, the file can start another program
http://support.Microsoft.com/kb/950505
Method 2) in case if it does not help, you must change the associated file. To change the file association for a specific file, you must first display the properties of the file.
- You can view the properties of a file by selecting the file and choosing 'Properties' in the file menu. Or you can simply right-click on the file and select "Properties" from the context menu that appears.
- To change this file association, click the button change.
- You are given a list of recommended programs to open the file, as well as several other programs on your computer. The recommended programs are programs that Windows knows is going to be able to open the current file type. For this reason, choose a program from the list of recommended programs is a good idea. You can choose a program from the list of other programs, but the file cannot open.
- You can change this program opens all documents of a certain type of file, and then click the checkbox "Always use the selected program to open this type of file."
- Click OK
Check the link for more information:
Change the programs that Windows uses by default
http://Windows.Microsoft.com/en-us/Windows7/change-which-programs-Windows-uses-by-default
Icons change incorrectly in Windows
http://support.Microsoft.com/kb/2396571
Note:
Important this section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base: 322756 (http://support.Microsoft.com/kb/322756/fr/ )
It may be useful
-
Can someone help me with the set up for skydrive file sharing?
In my photo app I am developing the home section. He told me to right click on SkyDrive in the bar tasks, select settings and check "Allow me to share all files with this pc" is turned on. It is, but when I try and access the photos app hosting I still get the same message. Can someone help me set this or tell me if I do something wrong?
Sharing of the checkbox in the settings of SkyDrive is not related to the photos somehow app.
Sharing checkbox in the settings of SkyDrive, it's what allows you to go to another computer (such as your office or library) and then go to skydrive.com to access the files on your computer.
Maybe you are looking for
-
Re: Question on working time of battery on a Qosmio X 770 - 11 c
Hello I got a 770 X - 11 c for 2 months now, and the battery life seems catastrophic. I expected to be short, but with the Eco mode on. Laptop was plugged all day I lit the night last battary and noticed that once in windows the battery see the load
-
Apple replace my phone if I have several defective Apple hardware stuff?
-
RS 232 communication with a projector
Hello! I work in communication with my prjector. The controls are pretty simple, just PWR it for OFF\r PWR to turn off and LAMP? How many hours have the lamp worked \r to land the aircraft. So I just used the example of the writing/reading series wit
-
Metal Gear Solid 2 - not playable for win 7, even when it runs on older versions of win
Hi all. rather disappointed by what the hype of 7, shame MS didn't ' t ask a player to watch it before you release it to the public instead of ask clerks office and women of the House... Metal gear solid 2. for loads of PC Run/menu options. After th
-
the Task Manager does not appear when right-clicking on the taskbar
The Task Manager does not appear when right-clicking on the taskbar