Copy link to clipboard
Copied
I have a document that has a number of lines drawn with the line tool. Now I want to search for the lines so I can edit some of them. Can that be done?
Hi @m5heath ,
what can be done is to select the graphic lines spread by spread using a script that comes with all versions of InDesign:
SelectObject.jsx
However, the original script's UI comes with all options selected by default.
One could change that with a little editing of the code where it says checkedState==true.
Simply exchange true with false so that the option is not selected by default.
Example for the Ellipsis check box:
// Original code:
if(myEllipsesCheckbox.checkedState==tru
...
Copy link to clipboard
Copied
The Find/Change dialog box > Object tab lets you search and replace frames but not lines.
So it can't be done natively in InDesign. Maybe someone has (or could) write a script to do that.
Copy link to clipboard
Copied
What kind of editing are you planning to do?
If you work on a PC - you could use free version of my ID-Tasker tool - it will let you to quickly get a list of all Lines, then sort and filter them - and then quickly access them.
Copy link to clipboard
Copied
I use a PC with Windows 11 and I have tried to install ID-Tasker. I got the AVG warnings but that was cleared and then I got the DEP access violation - as forecast. See attached screenshot. As far as I can see, Windows 11 only allows DEP to be on or off for all programs so I am unable to make an exception of ID-Tasker. Can you give me any further advice?
Copy link to clipboard
Copied
Do you have BitDefender active?
My friend had this kind of error because of the BitDefender - we've spent few hours to find the culprit. After "whitelisting" - it was plain sailing.
If you don't have BitDefender enabled - then you have something else in the system that is checking for viruses / malvare.
Copy link to clipboard
Copied
I whitelisted it but same result sadly.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Hi @m5heath ,
what can be done is to select the graphic lines spread by spread using a script that comes with all versions of InDesign:
SelectObject.jsx
However, the original script's UI comes with all options selected by default.
One could change that with a little editing of the code where it says checkedState==true.
Simply exchange true with false so that the option is not selected by default.
Example for the Ellipsis check box:
// Original code:
if(myEllipsesCheckbox.checkedState==true){
myObjectTypes.push("ovals");
// Edited code:
if(myEllipsesCheckbox.checkedState==false){
myObjectTypes.push("ovals");
Regards,
Uwe Laubender
( Adobe Community Expert )
Copy link to clipboard
Copied
Brilliant! That completely solves my problem - and possibly many other problems in the future. Thank you very much for helping me out.