Select the text to which an anchoredobject is attached
Hello
I have a couple of linked text frames, attached within the paragraph in another frame and I need to retrieve the paragraphs, but I don't see a way to do it.
I already select managers of related texts (and do something with them), but no matter what I try, I can't connected paragraph.
Is it possible to do this?
Let's say that you have chosen the anchor, then get the first paragraph into the anchor text block:
App.Selection [0] .textFrames [0] .paragraphs [0];
Now let's say you select a paragraph of text inside an anchored object. To get the paragraph that contains the anchored frame:
App.Selection [0] .parentTextFrames [0].parent.paragraphs [0]
HTH,
Ariel
Tags: InDesign
Similar Questions
-
UI of Firefox is slow by typing or selecting the text (after update 33.0)
After the 33.0 update, I noticed that typing a backspace in any area on a Web page or even in the Firefox address bar is slow to echo, on a lag of 1 second. Also, by selecting the text typed (to remove a TI, etc.) by a click-and - drag quick selects the entire, but when I click in the dialog box to deselect, the part which has not been posted as selected initially, is selected for a moment before the string whole hilite selection disappears.
What makes the browser very cumbersome to use.
This seems to be new to 33.0. I tried to reset Firefox, but it does not solve the problem. No problem in IE 11.0, so I do not think that the malware. I have also to keep all s/w and run avast/zonealarm for safety. I've never had an infection of malicious software on this machine. Win7 Home Premium 64-bit, 8 GB of RAM. The use of resources is low, so not out of process control.
I have request the latest Microsoft "Patch Tuesday" updates 15/10, the same day that I updated to Firefox. This can complicate the diagnosis. But even once, IE was not affected, then, how the different Firefox UI for basic keyboard/screen I/O?
If there is an easy way to "downgrade" to the 32.0.3 prior revision, I could try to confirm. Help, please!
Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem.
- Put yourself in the DEFAULT theme: Firefox/tools > Modules > appearance
- Do NOT click on the reset button on the startup window Mode safe
- https://support.Mozilla.org/KB/safe+mode
- https://support.Mozilla.org/KB/troubleshooting+extensions+and+themes
You can check for problems with the sessionstore.js and sessionstore.bak files in the profile folder of Firefox that store session data.
- Help > troubleshooting information > profile directory: see file (Linux: open the directory;) Mac: View in the Finder)
- http://KB.mozillazine.org/Profile_folder_-_Firefox
- http://KB.mozillazine.org/Multiple_profile_files_created
Delete sessionstore.js will cause App Tabs and groups of tabs open and closed tabs (back) to get lost and you will have to re-create them (take note or bookmarks if possible).
-
Hello
Cmd T on a Mac to select the text tool. But once the seizure ended I can't press 'V' to get the selection tool. It will simply type the letter V.
Y at - it a shortcut out of the text tool.
The solution I have is to make Cmd + B which selects the brush and then I can do my own letter for other tools.
Is there another way that eliminates the extra step?
Thank you
"To end the text editing mode, press the keypad, select another tool or press Ctrl + Enter (Windows) or command + return (Mac OS)."
-
Select the text between 2 bookmarks with Javascript
I'm trying to select text between 2 bookmarks. Now, I have this:
var doc = app.activeDocument;
var BB = doc.bookmarks.firstItem ();
var be = bb.bookmarks.firstItem ();
bb.showBookmark ();
var en = app.selection [0];
be.showBookmark ();
var to = app.selection [0];
bb.showBookmark ();
App.Select (app.selection [0].parentStory.insertionPoints.itemByRange (fr.index, to.index));This code does not work if bookmarks are on different pages.
Any suspicion that must go in the call to app.select ()?
What is the best way of art. to understand the DOM who uses app.select ()?
This code does not work if bookmarks are on different pages.
But it did, perfectly. I suspect that there is another problem.
What is the best way of art. to understand the DOM who uses app.select ()?
App.Select works as manually select the text. I think the underlying problem is that the text is not just "on pages", which is * not * a problem, but it's actually separate two stories. A script can only select contiguous text of the same story (a unique set of images of text block), just like you cannot select all the text in two unconnected blocks of text.
-
in InDesign CS6 text appears white when I select the text... :(
For some time in InDesign CS6 text appears white when I select the text. And remains white when I it deselect.
It is necessary to another page, higher or lower, to have the text re-appear.
Mac OS X El Capitan 10.11.6
InDesign 8.1.0.419
Make Explorer 5.5
Adobe fonts
If anyone has an idea...
PS Yes:
-J' cleaned out font caches
-J' deleted Indesign preferences
If you mean that the text seems to disappear, then it seems to be a relatively common problem with CS6 in El Capitan.
I use CS6 with El Capitan and you encounter this problem sometimes. It happens constantly some days and other days not at all, but I've never established exactly what triggers it.
As Bob says, CS6 is not supported, so it will not be a solution, but if this is the problem that you are experiencing then tap the display between 'Preview' and 'normal' pressing 'w' will fix it - temporarily.
-
After that I have enter my serial code # and select the location in which to install Lightroom, I click on install. Windows asks if I want to leave, I say Yes. Then it starts installation but quickly gives a failed Installation display The error summary of files gives me no information. Any ideas?
Thank you, but I thought about it. I have to select "Run as Administrator" on the installer so that it works correctly on Windows 8 Pro. FYI just when it happens again.
-
Why I can't select the text in this pdf file
Hello
https://rapidshare.com/files/461732149/cannot_select.PDF
I can't select text. When I try to select text, the cursor looks like a helping hand. It seems that there is a layer above the text. But when I use the Editor tool, I do not see any layer above the text. Is it possible to change the pdf file so that I can select some text?
In fact, you should be able to select the text with the Touchup text tool if the annotation link is here or not. What is the tool you use?
If you want to remove links, you can use the correction before the flight "to dispose of invalid links. At least the link in the sample document is not valid, because there is no action defined for it. You can also use the correction of 'Delete all annotations' to remove all the links that are present, even though you can edit or create a new correction to remove link annotations only.
-
(AS) Select the text of the paragraph without bringing out the carriage return
(AS) Select the text of the paragraph without bringing out the carriage return character.
I need help to select a paragraph in a story.
The selection does not contain a 'return' (ASCII number 13 ")My current sample is as follows:
-example assumes that the insertion point is already placed in a specific paragraph.Tell application "Adobe InDesign CS3"
activate
theDoc Set to the active document
say theDoc
Select the paragraph 1 of the selection
end tell--theDoc
end tell--appSounds simple... The example above to select my paragraph selected.
but he also chose the carriage return also. How would I go to do this?
Any advice would be helpful!
Thank you!
Try:
Select text in character-2 of paragraph 1 of the selection of character 1
-
Select the text to all_views returns an empty string
My application allows the user to choose between the data provider for ODBC and the data provider for Oracle. (ODP)
When you use the ODBC statement:
Select the text in all_views where view_name = 'MYVIEW '.
Returns the string expected.
If I connect via ODP however it returns an empty string.
(If I use "Select *" it tells me that the text_length is 154 in this case-, so there are certainly available text.)
I think it has something to do with the fact that the data type is long.
In both cases I recover data with rdr. GetChars(), that should work.
If I use the dbms_metadata.get_ddl instead of this function, it returns the string (probably because the return type is LONG)
Unfortunately this function works only for views in the current schema, while the original works of Select for any view.
(And I don't know what version of Oracle, this feature has been added-I need to support older versions too).
Similarly, if I use one of the XML functions to retrieve the text in XML format it works fine.
(Again it is probably returned as a VARCHAR2 instead of a LONG.)
The strange thing is that when I created my own table containing a column LONG, I've been able to load and retrieve data without any problem.
The problem seems to be specific to this column in all_views.
Anyone know a solution to this?
Thank you
MikeDid you put InitialLONGFetchSize property appropriately on your OracleCommand object? See if this property does the trick for you?
-
AS says the question, when I clicked on the search bar in previous versions, 'Google' would disappear and I would see the blinking cursor. When I click on the URL to a blank tab, he would choose the text, and I'd see a slider when I typed or backspaced to delete the selected text. Now, none of this happens.
After a bit of troubleshooting, it seems that any theme I use is causing this problem.
In the previous version of Firefox, I used the exact same plugins modules and the theme and never had this problem.
I went thru and I tried to disable all the modules and plugins, and if I run in safe mode, I have the same result. None of the modules or plugins causes this. It seems to be a theme that I use that causes this.
As I said in my original question, it happened with any theme, I used. Some changed the color, some are not.
This can be locked, unless someone else has the same problem and wants to continue to use Firefox 15 or more.
I went back to an earlier version. Unless they add the ability to change this absurd, useless, counterintuitive behavior, I don't "upgrade" any time soon.
-
I can't select the text button in MS Paint. What I am doing wrong?
I try to ad text to a photo and the button text in MS Paint is garyed out and won't let me select it. What I am doing wrong?
Maybe the info will be useful...
The text in the tool palette button to you referring
the left side of the screen or one of... Display / text toolbar?In Vista... Zoom must be set to 100% to make the live button text.
View / Zoom / Custom / 100%
If you left click the 'A' in the palette tools and click left/drag
a box in the position where you want the text... the bar of text tools
should become alive.FWIW... the free Picasa software has better options for adding
text of photos.(FWIW... it's always a good idea to create a system)
Restore point before installing software or updates)Picasa
http://Picasa.Google.com/
(for Windows XP/Vista/7)After you download and install Picasa...
Open the program and double left click
an image to open the editing functions.To add text to the front of the photo...
choose... Simple retouching / text button..."Retouching" features: crop, add text, editing
http://Picasa.Google.com/support/bin/answer.py?answer=93403 -
Cannot select the text above or below the highlighted area in adobe reader DC
He is an annoying problem that I face every day.
When I highlight text on 2 consecutive lines (yellow), I won't be able to select or to do something with the area in the red zone. When I click on these areas in the red zone, it will select the highlights. Let's say, I want to emphasize the word "independently", this task will be much harder with this bug.
However, the area in the green zone works without any problem.
See my sample file here
https://DL.dropboxusercontent.com/u/11120457/tmp/sampleFile.PDF
I hope someone will fix it soon.
I found a solution. Just go to adobe reader xii.
It seems that the DC team does not want to settle.
-
The text below appears whenever I open a box of text on page or a picture in my book. It seems that it is Latin, but I think it's nonsense. I can't delete it
because when I right click to select for deletion he disappears but then returned when I resize the page. Does anyone know what might
be the cause; It's extremely annoying? I'm sure that's buried somewhere.
If you're still on 2015.2.1, then there are a lot of improvements with 2015.3 and 2015.4. Browse the blog for more info: http://blogs.adobe.com/lightroomjournal/
The text is a placeholder for empty text boxes.
-
This is a bug or a really bad and frustrating idea for a story.
(1) in the layers panel, select a text layer, it highlights
2) change to the text tool
3) click on the text element in the workspace
OR
(1) select a layer in the layers panel
(2) Ctrl-J, new layer by copying
EXPECTED: Panel layers rest in the same position
REAL: Panel layers scrolls the element selected or new layer to the top of the Panel. BORING.
I do not need or want Photoshop to make decisions for me, space to work around to move without asking, or generally to spoil my flow!
Please fix this or give me an option to turn it off as soon as POSSIBLE.
You have successfully updated to 2015.0.1?
The bug known as in the original message has been fixed in this version.
-
Cannot select the text to change
I inherited a document and I can't change the text on a page. I tried the different layers but cannot select same text.
I use CC 2014.0
Brian
Is the text on the master?
It is on a locked layer?
The text block is locked?
Something is above the text frame?
Maybe you are looking for
-
How can I change where messages and temporary files are stored?
How can I change where the profiles messages and temporary files are stored on the disk. because I'm using an SSD for the OS (Matt Mint17) and program files. I oorder to extend the life of the SSD I want to store these files on a different HARD drive
-
External USB 3.0 HARD drive does not work on USB 3.0 port
Hello guys,. I have a problem with my external HARD drive and the problem is that it is USB 3.0 feature does not work in my computer. The curious thing is that it works very well in the SATA port or a normal USB 2.0 port. Y at - it a failure with the
-
Satellite A45-S150 - black screen after the recovery process
After problems with a virus, I ran the recovery disk and reformat the hard drive and reloaded the OS. When the process pushes me to remove the disc, it begins to restart, but only shows a black screen. I restart the process of recovery only with the
-
Equium A100 - USB ports broke - all 4 of them.
HelloI dropped my laptop about 40 cm on a wooden floor the other day.Now, the two USB ports on the side is completely broken, and back 2 are pretty much broken too (if I wiggle the mouse usb cable in the back one I could be lucky for about 10 minutes
-
How can I change all elements of Inf in a table to a specific value?
I would change all the elements in my table Inf-1. Basically, I'm looking for something similar to the range and force the function, except that I want all values greater than a certain value to be a specific negative value, rather than go to this va