Dotted line find/replace query
I have problems with a query search/replace the object. I am looking for a black dotted 'standard' and replace it with a 1 pt, black, wiped out STROKE (4 and 4) with the color of the gap in paper. When I save the search he "forgets" the dotted lines and the color of the gap. Any thoughts?
Thank you in advace,
Kurt
Try to save dotted line with the color of the shortcoming that the style of the object and find and change the Format of the object dialog changes: choose your style of outline.
Tags: InDesign
Similar Questions
-
I'm trying to find how to use GREP in find/replace of chage the formatting of a text which is a spreadsheet.
I worked on the GREP query "~ b (\d\d) ~ b ', which is a paragraph return, followed by two digits, followed by another paragraph of return
and then it is replaced by ' \t $1 ~ b ', which is a tab, found two numbers and a paratrooper returned.
What I have to do is change the query to search for ANY number of digits, (which may be delimited by commas: e.g. 23, 36, 48, 50), then replace with a tab + found text.
I guess what I'm looking for is a way for the query find "any text between two paragraph returns, no matter what that length", but I don't know how to do this. All of the generic options seem to find a single exampler (a figure, a character etc.)
And you came so far
Repetition operators are? (zero or one), * (zero or more) and + (one or more times). You can also specify the exact number: {at least up to the}.
All of these operators are "greedy" by default - they match as much as possible. To to match as less as possible (which I'm sure you will come, sooner or later), add another? After the expression of repeat.
If this is a number, then possibly another (which will be always included):
\D\d?
and what a figure, then zero or as much as 9999999,93856 million:
\D\d*
which is functionally identical
\d+
And it is between 3 and 8 figures but will be forced to use the shortest possible match:
\d{3,8}?
Having said that: a quick & dirty solution for your real problem is to find any amount of numbers, spaces, and comma:
~ b [\d,] + ~ b
(there are more here because otherwise it would correspond also to an empty line). The [..] a list of the hooks - it will match to any unique inside code.
A more complicated but 'cleaner' way is looking very precisely that for many, comma, space, number sequences - it is cleaner because it lines poorly trained (comma without a space) is fried!
(She also has another code - operators in parentheses. Look at their place in a good reference GREP - lost people are enthusiastic about Peter Kahrel O'Reilly title, because there on the use of GREP in InDesign.)
~b\d+(, \d+)*~b)
-
Vertical dotted lines and bad shading on Satellite P30-109
Hello
Sorry for my bad English,
I have a problem TFT on my Satellite P30-109.
Regular vertical dotted lines and bad shading.
I formatted the disk with the recovery disk, but nothing has changed.An irregular viewing is present during windows startup.
What can be?
Have you any suggestions? I have to throw my PC?Thanks for your help.
StefanoChain is quite right. If the same thing happens on an external device there is problem with the video card and probably the whole motherboard must be exchanged.
Sorry, but you must contact partner authorized in your country. If you need address, you can find them under http://www.csd.toshiba.com/cgi-bin/tais/su/su_gaspLocator.jsp?pf=true
Good luck!
-
The dotted lines or borders on my desk
RE: Vista home premium w/sp2 32 bit
Recently, I noticed these dotted lines appearing around my desktop icons. They seem to stay with what is active on the desktop, including menu, or the taskbar windows that are reduced to a minimum. Its more a nuisance than anything either. Everyone knows this? Or even better, how to get rid of him. I tried to adjust the effects of animation for the visuals in the advanced settings, but nothing works for the moment. Yet once this anomaly does not affect the performance somehow, its just very strange. I've got MBAM activated in real time and Avira Antivirus. I have run two scans of complete system on both. The results were squeaky clean for bugs. Disk and registry have been deep cleaned and defragmented. Windows updated the auto value must so good there. I got a file true 'X' here, but I know that the truth is out there somewhere.
Thanks for the reply Ajay K. No help but on the 3 methods. Good news is that I was able to find a way to cut the lines dotted on my desktop icons. A selection of the EASE of ACCESS program box has been activated somehow and that's what caused this inconvenience. If everyone should be having a similar problem like this, go through the control panel and open "ease of access". There are a few options to help users to set their computers to special needs or conditions they may have. I learned a lot and got rid of a problem at the same time. Thanks again for your help.
-
GREP find/replace + paragraph Styles
Hello
I'm editing a long document and have benefited from the assistance of the community already, but being new GREP Style, find/replace, I need to ask for additional help.
Below a screenshot of the script (original). Two blocks of text you see anticipated by the icons have have styles of different paragraphs. Icons are placed like custom glyphs.
Now, the last line with C2, 9, 14,... is the target of this post. They are buses of London and I created a paragraph with another icon. The copy that I work with unfortunately is as you see. Buses will follow «;»
Resulting to place a \r after the semicolon and assign the new paragraph style. The item to work with is (probably) the last "," before the registration of the bus. All entries have it in the same way, where a search/replace global grep should work fine.
My attempts:
I used of a previous debate (? < =------;)) [^ ;] + $ to match everything from the end until the last semicolon, but then I found the problem preserving the matched characters and placing \r (using the (? < =-;). start at the beginning and stops at each point comma + space)
So question: how to stop at the first semicolon at the end and replace the space with \r to create a new paragraph?
Then, it is two question :-)
From my previous attempts, I noticed that when you replace the semicolon + space with \r, and change the style of paragraph at a time (from Rail to Bus) caused the Rail paragraph style change (logic) to the style of Bus. So I tried to say the paragraph style of the track "Following paragraph Style is style of Bus" (and not to change the paragraph style in find/replace), but in a way that no longer works.
Second question is: given to split the find/replace in two steps, how then transform / apply to newly created paragraph the correct style of Bus?
Thank you in advance for your valuable assistance. So far, the community has been great!
Antonio
Original
Result for
Hi Antonio,.
If I understand correctly, in 2 regex [1 click play with Multi/find-replace our friend Martinho da Gloria]:
-
Find/replace style cell with GREP
Hi all, (my first post here)
I found a script very useful on this forum to find/replace cell styles in an array. I adapted the script using Peter Kahrel ebook for use with a GREP query.
I've linked to a spreadsheet in InDesign CC 2014 I want to highlight the cell of new products that contain the value [Y].
When I run the script below, I get random results.
myDoc = app.activeDocument var
app.findGrepPreferences = app.changeGrepPreferences = null
app.findGrepPreferences.findWhat = "\[\u\"]
var myFound = myDoc.findGrep)
for (i = 0; i < myFound.length; i ++)
{
If (. parent.constructor.name myFound [i] == "Cell")
{
. parent.appliedCellStyle myFound [i] = "New_Product_Cell".
}
}
Modify the script that I wrote above.
Otherwise your discovery is just '[u]' ==> multi-ad found is--> Direct manufacturer name
Jarek
-
Find/replace the numbers?
I like very much all my numbers in small caps, but always manually go through and change them all. Can I find/replace all numbers with a number of small capitals? CS3/Mac
You can do this by using a GREP.
1. go in the tab GREP in the FInd\Change dialog box find it what field type in \d
2. in article Format change click on the empty area and in the dialog box that opens, go to the tab "Basic character Formats" and chose small caps of the case drop down. OK to the dialog box
3. change all
You can save this query to other references.
Thank you
Javed
-
Find/replace highlights the bad code
Hi, if you use find it normal and the search for specific text in my AS3 class file, it highlights the right position where he finds corresponding text, but when I use the search/replace completely it messes up, it highlights the text wrong in my code, but it displays the correct position in the Find/Replace window. Is there a way to fix this, or is this a known bug? See attached screenshot.
Hello
Thanks for sharing the file.
The problem is with the end of Line (EOL) character. The file uses a rating of CR at the end of his LIFE and has been used in Mac OS 9 and Mac OS 9 version. When a file is created using one of these versions of Mac OS and then the EOL character would be CR which is now obsolete and is not recognized by many modern text editors.
If the EOL is LF or CR | LF then search and replace will work as expected in Flash CC.
You can change the end of LIFE of the file to open and save the file in Wordpad that will change the EOL to CR | LF.
Hope this information helps you solve your problem.
Thank you!
Mohan
-
How can I create a dotted line no bent/curved on a path?
Usually, when you check the option 'dotted line' on the palette of the race, you can instantly create a dotted on the selected path. What I do not know how has retained ownership of right of a line on the parts of the curve of the track.
(Image improvised to illustrate my problem)
Joshyfrott,
You can:
(1) create a short straight path with the length and width of the dashboard (right) it is to replace (you can create it as a vascular accident brain/nofill path, or you can create a rectangle to fill/nostroke with the same appearance).
(2) in the tick flyout palette/Panel new brushes brush, tick Scatter Brush, set the spacing to 200% and set the Rotation path and give it a name.
(3) apply to the brush on the path.
-
Dotted lines rendered wrong in PDF format.
Hello
I use ID3 and this is something that has always bothered me. I would like to heal now, if possible!
Basically, the dotted lines to 1 or 2 pt allure in ID. No matter the magnification, they are as I would like.
However, once I go to a PDF HQ, they always appear very scrappily, fuzzy pretend or pixelated. They print fine, but for web clients display or print jobs, they have poor air, any size, I discovered. I would hazard ID uses a form any of smoothing/anti-aliasing similar to browser-smoothing of text functions.
I'm guessing that there is a difference in rendering between ID and the assocoated PDF. I searched the options, but there is apparently no control to assign the rendering.
Anyone got any ideas?
Thanks in advance,
NR.
PS - I can supply screens, if necessary.
Just had another thought.
The main difference is in the file PDF is because the drawing on the screen is optimized for text. Text is always rendered as optimal as possible, using grey levels (ClearType) rendering to get the best visual result, even at the expense of some blur.
For the graphics, however, Acrobat takes a shortcut and makes whole pixel - I don't think that the function 'improve fine lines' did the best job possible.
If you replace your lines dotted with some lines of periods, you will get the same high quality result in the press but it might look better on the screen. It'll take a few good experiences to get the exact same dotted lines-, you will need to test spacing and different font sizes.
-
can I find/replace the leader tab character?
I have a Word document that I'm slope in ID and there are a lot of different tab with the leaders of the dot stops. The dot leaders are a simple point, but I want not a 'space-point' in order to spread them out more.
I can't understand how to find a tab with a character specific point leader and change to another - if it was a uniform set of rules of text I want to make a Style with what I wanted and find/replace all, the problem is, is that there are a few pieces of text with two tabs three and four as well as "BOLD" and regularly mixed in so I have to make a Style for all versions of tab stops and it's longer than I want to take with it.
So, is it possible to change only the leader? What is Grep something?
TIA
ID CS5 7.0.4 MacPro 8-core, 14 GB of RAM, Snow Leopard
I think that may have to be scripted?
However, you can do a search for "^ t".
And increase the tracking/kerning in the change format (200 should do)
Maybe do a replace/find so you can't change something unexpectedly.
-
I have 7000 hyperlinks in my document, with different character styles ("italic", "bold" and "italic +"BOLD""). I need to apply the blue color to each of them. If I ask a new character style "hyperlink" to all, I'll lose my formatting.
Is there a way to find hyperlinks (for themselves, not their format) dialog find/replace in order to create and apply 4 different character styles ('hyperlink_regular', 'hyperlink_bold', 'hyperlink_italic' and ' hyperlink_bold + italic")?
Sorry for my English, thanks for the help!
Use Javascript!
You can use this Javascript, for example. (Instructions on how to use a JavaScript in InDesign can be found elsewhere).
blue = app.activeDocument.swatches.item("Blue"); for (a=0; a
Take care to provide the correct color swatch name in the first line.
-
Unique path to the path dotted line?
Hello Experts!
I went out of my Illustrator graphics to a strawberry of trade by exporting to SVG. Paths of dictate cuts.
I would like to simulate a fold makes its way in dotted lines without having to hand draw each dash in the path.
With the help of Illustrator CS4, how can I create paths clean single dotted line of continuous paths with the applied dotted line?
If I use the dotted with hierarchical path (on a loop not closed), I find myself with rectangles (as the dotted line has a width to it).
Thanks for all the ideas.
Richard
Rix,
You can:
(1) create a short path, the length of the dashboard (you can use the online tool);
(2) in the brushes dialog, check create new brush and check model brush, defining the spacing on the length of the gap and keep Stretch Fit checked (you get a slight change of lengths); Now you have a brush to dashboard;
(3) apply to the Dash brush for paths in question;
(4) object > decompose the aspect to create paths separated from short simple as dashes.
-
How to use styles to characters in find/replace JavaScripts?
First of all, good luck to Ole. It has been so useful (and a good writer, too). All the best!
My JavaScripts find/replace run trouble in line 159 of the ExtendScript Toolkit. The script is looking for a particular font, it is expected to then apply a character style. I use the format that I see in the example text 'FindChangeList' to Adobe, but the script is always hit a wall. What I am doing wrong? I wish I had a working method for research, not only for fonts, but also to find a paragraph or character style and apply a new style.
Simple stuff, but I'm roadblocked.
Here's the script until now:
This script applies the character style DFKai to the Arial Unicode font.
text {findWhat: "', appliedFont:" Arial Unicode MS", fontStyle:"Regular"} {appliedCharacterStyle: 'DFKai'} {include notes: true, include master pages: true include hidden layers: true, any word: false} find Unicode fonts; change the style of character DFKai.
Thanks for your help!
Gary Niemeier
Gary Niemeier says:
{include notes: true, include master pages: true include hidden layers: true, any word: false}
This not is not valid JavaScript, it looks like it was copied from a script AppleScript but not changed properly. Keys property for options must not contain spaces, they must be written:
{includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false}
-
How can I remove the dotted lines around the tag?
If set browser.display.focus_ring_style to zero, I always see the dotted line.
You can see this problem on this site (when click on the map). But the problem gets more complicated on the other computer everything is normal.I see what you mean. There is a pattern once the image has been selected.
Maybe you are looking for
-
Hello! When I turn on my macbook pro and enter my password, it always says that my password is wrong. I know that my password is right for you. I type the right password even 5 to 9 times until it works. After that I are connected and stay away from
-
Equium L40-156 initialize problem
I have an Equium L40-156. When I press the power button the power led lights up, but there seems to be no hard disk activity. I manually turn off by pressing the power button for several seconds, leave it for a few seconds and then press the power ag
-
I can't delete files, they keep multiplying and copies itself
How to remove files that keep to copy over and over again?
-
Error: tell someone else used the same IP address on Windows Vista
Original title: same address I got a message this morning saying someone was using the same service provider address Internet as I am... i said to contact windows
-
Maximum disk size hard for the
I have the hp pavilion slimline s3712f and my internal SATA hard drive crashed. What is the maximum size that I can intall in this system? I have my system restore disc.