How can I find the ForcedLineBreak to textframe and delete it with script?
Jin
I want to find some forcedlinebreak (and empty paragraphs) to textframe and delete them, how do I write script with VBScript?
BTW, why don't the forced line break shows in the message box? See below.
Thank you very much.
Hi David
It works in CS3 Javascript you can convert in VBscript
app.findTextPreferences = app.changeTextPreferences = null;
app.findTextPreferences.findWhat = ' ^ n ";
app.changeTextPreferences.changeTo = ' '; replacement of sapce
app.activeDocument.changeText ();
Thank you
concerning
a you are the
Tags: InDesign
Similar Questions
-
HOW can I FIND THE CARTRIDGES ARE EMPTY AND that it FAULT REPLACE HP printer fax C309 using windows 7
Hello
Please use one of the following methods:
http://support.HP.com/us-en/document/c00257147
Kind regards.
-
How can I find the symbols of multiplication and division on my Windows 7 computer
How can I find the symbols of multiplication and division on my Windows 7 computer
They are * to multiply and / for division.
-
How can I find the form a textFrame?
Hey guys,.
so when using "constructor.name", you can get the type of an object. In this case "textFrame. But how do you find if the textFrame is a polygon, ellipse, etc.?
Sorry if this is something basic, but I can't find all the resources for that.
Thank you
Oh. I forgot a single line of code.
Before assigning a new contenType, there are empty text block:
app.selection[0].constructor.name; var myDup = app.selection[0].duplicate(); //Assign empty string as contents: myDup.parentStory.texts[0].contents = ""; myDup.contentType = ContentType.GRAPHIC_TYPE; myDup.getElements()[0].constructor.name;
Uwe
-
How can I find the version of Firefox on my PC with windows XP? It is not a device.
I have a PC with Windows XP service Pak 3. How to find which version of Firefox I have? Please, do not assume I have a camera and send me to the settings / device
Thank you -
How can I find the network name (SSID) and the chain of security for my network
I have a wireless network with a printer on it - even if the printer is connected with a wire. I want my laptop to be able to use the printer wireless to another room - instructions for putting in place early yb requiring the SSID and the security chain.
Hi petetyler81,
You can connect to the router manufacturer's website and make sure that the SSID and find the string, otherwise you can contact the manufacturer of the router and check.
For more information, see the link:
Setting up a wireless network
http://Windows.Microsoft.com/en-us/Windows7/setting-up-a-wireless-network
Hope this information is useful.
-
How can I find the games of hearts and solitaire that has disappeared from my XP PC?
4 or 5 years... all pre-installed games that came with my computer... just disappeared... probably because I am not a Curmudgeon and pushed the wrong buttons. I miss hearts and different solitaire games. Is there a free download Microsoft XP, which will reinstall the?
restore from cd xp
-
How can I find the index from a specific container?
How can I find the index from a specific container?
For example, if I'm crossed by officials texts bound like so (example, not yet tested):
var doc = app.activeDocument; var story = doc.pages[0].textFrames[0].parentStory; for (var i=0, l=story.textContainers.length; i<l; i++) { var textFrame = story.textContainers[i]; if (textFrame.constructor.name == "TextFrame") { var lastPara = textFrame.paragraphs.lastItem(); //How can I find the index of this in relation to the story? } }
How can I find the index of "lastPara" with regard to history rather than the current container?
I tried:
var newPara = story.paragraphs[lastPara.index];
but this translates an object not valid...
alert(newPara.isValid); //returns false
The .index property is the offset of the character. Then lastPara will start to story.characters [lastPara.index].
-
How can I find the number of pixels is in my photos of the ipad? I sell on ebay and they have new requirements for the photos. 500 pixels on the longest side. Is it possible to increase the pixels on already took pictures?
See if this application works for you > https://itunes.apple.com/us/app/image-size/id670766542?mt=8
-
Half of my Word document disappeared while I was working on it. I tried to use the back arrow to recover, but Word is closed. How can I find the history of the document so I can revert to a saved version the earlier?
I hope that you have a Time Machine backup that you can use to revert to a previous version. If it is then maybe you shared the document with someone else by e-mail and get get an old copy of your sent e-mail.
-
How can I find the music marked with an exclamation point in my itunes library?
How can I find the music marked with an exclamation point in my itunes library?
Hello there rdgernnr!
I certainly don't want to find the songs that show the "!" and get them to play correctly. If you have not yet done it, read this article: If you see an exclamation point next to your items in iTunes - Apple Support
More precisely:
Correct the path of the media file
Follow these steps to help find the correct location of the file iTunes media:
- In iTunes on your Mac or PC, select the song, album, movie, or television show that has the exclamation next to him.
- In the MenuBar at the top of your screen, computer or at the top of the iTunes window choose Edition > read the information.
If you are using Windows and you don't see the menu bar, Learn how to turn it on. - When you see a message asking if you want to locate the file, click search.
- If you know the location of the file, point to it iTunes and try to read your content.
- If you do not know the location of the file, search for it:
Mac: Press ⌘ and space control your keyboard, and then type the name of the movie title, app, song, album or artist.
Windows: Press the Windows on your keyboard, and then type the name of the movie title, app, song, album or artist. If your keyboard does not have a Windows key, press the Escape (Esc) and control (Ctrl) on your keyboard. - If the file is on a network drive or external, plug on the volume of disk or external network.
- If you find your objects in the trash or recycle bin, restore them to their previous location:
Mac: Control-click or right-click on the item and choose put back.
Windows: Right-click on the item and choose restore.
- Once you retrieve the file, use Get new Info to locate the file, and then point iTunes to the correct location.
See you soon!
-
When I get a bookmark and you think how can I find the folder it is in?
I click Favorites, and then click Show all bookmarks and use the favorite search box at the top right. I type in the name of the
I'm looking for bookmark and considers appropriate. How can I find the folder it is in?Without an extension, a possible way to proceed is to open the bookmark in a tab (possibly offline), then click the star on the Navigation toolbar to open the dialog box "Edit this bookmark" that shows the folder.
-
How can I find the installed version of Firefox?
How can I find the installed version of Firefox?
You run v33 right now. But you can still check two ways
- Click on the
button-> then the help icon (?) then on Firefox
- Type of topic: in the address bar
- Click on the
-
How can I find the IP address of my MacBook pro
How can I find the IP address of my MacBook pro
-
Question
My drop down bookmark does not offer 'manage bookmarks '. All the support I can find that this is how to change the bookmarks. How can I find the link manage if this isn't in the drop-down list?In Firefox 4, "Organize bookmarks" was changed to "Show all bookmarks" to open the library window.
Maybe you are looking for
-
the 2nd time that something important has occurred 7 MOS iv had my new computer i belive this computer is a silt and request that replace you it with a computer brand new everything like I asked you for the last time that the reason that I am typeing
-
HP M451nw: PCL XL Error on HP M451nw
Instead of printing documents that send us to the printer, the release of our brand new HP LaserJet color M451nw is one of the following two messages: PCL XL Error Subsystem: KERNEL Error: IllegalOperatorSequence File name: kernel. C Line number: 182
-
Download location for SM Bus controller
I am trying to install Windows Vista Service Pack 1 and I was told there was a problem with my SM Bus controller and so I went to check updates and there is none for the drivers... so I went and conducted an audit for the snack driver I had to uninst
-
The test of the monitor could not run
While trying to do tests, I was generating events through the OnPlus portal. However, during the last week, when I select a monitor and try a series of tests, it will fail with a message "test the monitor was unable to run. Any test I try or what d
-
New chassis ucs to the existing environment
Hello I connect second ucs chassis to an interconnection fabric. How to copy a profile of 1e-2e chassis service and is the Director of the ucs need license and there at - it best practices to this new chassis Thank you