Selected items from list to separate text block
Hello
Could someone please help find a solution to this? In the linked image, you will see a numbered list with each line in the list starting with a digit 4 (magenta), there is also a login of color in the form of a capital letter (orange). I need to take these pieces from each line and creates a single string, separated by dashes of underscore, as shown in the attached file.
Could you think? If so, how could we do?
Your help will be greatly appreciated!
Hello
Ok. Replace these lines:
var source = mDoc.textFrames.item("source");
var output = mDoc.textFrames.item("output");
with:
if (app.selection.length != 2) exit(); if (app.selection[0].geometricBounds[0] < app.selection[1].geometricBounds[0]) { var source = app.selection[0]; var output = app.selection[1]; } else { var source = app.selection[1]; var output = app.selection[0]; }
Jarek
Tags: InDesign
Similar Questions
-
Select items from list &; Popup display number in PLAYBACK mode
Hello
I have a form with a lot of select, list context.
List of employees - P1_EMP_LIST (select list)
List of the Dept - P1_DEPT_LIST (Popup)
When I view these elements read-only (select & Popup list items) and they have the NULL value, the following is displayed in the empty place.
Thank youEmployee List [] Dept List [] I don't want [] to be displayed, I need just a blank..
DeepakDeepak,
In this case, the solution is simple...
Replace the jQuery selector:
span.display_only
with a little:
span
It is not as effective as the previous one, but
Kind regards
DanBlog: http://DanielMcGhan.us/
Work: http://SkillBuilders.com/ -
Hello
I'm unable to clear previously selected items from the drop-down lists at the click of the button Reset on a page of the screen. The code I did to clear the previous value when the click on the button Reset is as below.
{} public void onReinitialize (ActionEvent actionEvent)
System.out.println ("onReinitialize is called ::");
UIComponent uiComp = actionEvent.getComponent ();
If (uiComp is nothing)
{
otherwise we use the button that we linked to that bean
uiComp = getButtonResetByBean ();
_logger.info ("reset fields: buttonID =" + uiComp.getId ());
}
on the other
{
_logger.info ("reset fields: CompID =" + uiComp.getId ());
}
Pass the component inside the uniforms, UIXForm, UIXSubform, UIXRegion, UIXPopup, RichCarousel
or RichPanelCollection that contains the components to reset
getTextIDLOV () .setValue (null);
ResetUtils.reset (uiComp);
}
---
Using this code Iam able to clear the entrance to the text box but can not clear previously selected items from the drop-down lists when the reset button is clicked
Can anyone please help on this issue.
It's simple, you can set GenerateIsNullClauseForBindVars = "false" in the viewCriteria who created in EmployeeView
After doing that it will fill the list of employees only after the Department selection
Again check the enclosed application
Ashish
-
Table header row gets cut off from view when the text block is resized
I'm designing a table that has a header row, 6 body rows and 5 columns. I want the header skewed to 20º and rotation type of needles from the same angle. Knows someone who worked with tables, it is not possible to rotate the text to this value via the parameters of the cell, but the job is to split the table into two blocks of text. The lower sash will be the body lines, but the Executive must have the header where it gets skewed to the specified angle. The text must be created in separate and then cut and paste frames in each column header and then it can be rotated.
The problem I have is when I try to drag the bottom of the text block to the top while the header remains visible, the header gets cropped view. The only way to prevent it from is Cup is I leave the first line in the frame, but then it gets skewed is not what I want. It seems that the block of text ignores the header still exists. The screenshot below has two tables. The top version is the one that I want to apply the effect to. The bottom has the effect, but his top line is a line of body (not a header).
I don't think that it is possible to have a heading row without at least a body line in the framework...
-
Get selected items from ListBox
Hello
How can I get the selected items in a list in Flex.
I use a multiple-selection list.
THXNever mind.. I got it.
It's as simple as that:
Alert.Show (lst.selectedItem.fieldname);
;)
-
Cannot select items from menu top 25% of the window of the browser most of the time.
Running Windows 7 Pro, on a new HP Ultrabook (2 months) with FF 15.0.1. Several times, selectable items work not, but usually in the 20-30% of the browser window. With the pointer hovering over selections, it does not change to indicate a selectable element, or if it will allow you to select. It happens on sites such as Yahoo!, HP, etc. He doesn't do it all the time, but I'd say at least 50% of the time, even if you reload the page and allow all sites with NoScript. There is no warning of filtering.
You are welcome.
Please let us know the name of the extension of the problem because it helps others.
-
Reference on separate text block in a page
I have 2 on a text block text block 1st page has 2 columns and downstairs is a text box where I want my note to the Earth, how can I do this? coz every time I place a reference within history, it turns on Earth in the first column or the 2nd column of the 1st block of text.
It's the layout:
1st column text 2 column text Lorem Ipsum is simply dummy text of the printing and the composition of the industry. (1) Lorem Ipsum was standard dummy text in the industry since the 1500s, when an unknown printer has a kitchen and mixed to make a model type of book. It has survived not only five centuries, but also the leap into electronic composition, remaining essentially unchanged. It was popularized in the 1960s with leaves Letraset containing Lorem Ipsum passages, and more recently with the PAO as Aldus PageMaker software, including versions of Lorem Ipsum.
------------
(1) Earth reference here
Lorem Ipsum is simply dummy text of the printing and the composition of the industry. Lorem Ipsum has been dummy text standard industry since the 1500s, when an unknown printer has a kitchen and mixed to make a specimen type (2) book. It has survived not only five centuries, but also the leap into electronic composition, remaining essentially unchanged. It was popularized in the 1960s with leaves Letraset containing Lorem Ipsum passages, and more recently with the PAO as Aldus PageMaker software, including versions of Lorem Ipsum.
--------------
(2) or sometimes here
Holder of the note at the bottom of the page
(1) I want my note
(2) ground here
Thank youCheck here: dynamic endnotes, information about the column, margin notes | Peter Kahrel
-
Script to check if the user selected item from downdown list or not
I have a script that runs when the form user leaves a drop-down list object after you make a selection. I don't want the script runs if the drop-down list object is empty (the user does not have a selection). I need to create an if statement to test if the user makes a selection in the drop-down list. All the items in the drop-down list are 4 digits. I prefer the stated case is in the Exit event. The following script is correct?
If (dropdown1.isNull | dropdown1.rawValue.length! = 4) {}
xfa.host.messageBox ("you must make a selection, the drop-down list name");
}
else {}
set the script to execute here
}
It seems that your script is generally good, but you try to do something more in the message box? Did you mean to carry the name of the drop-down list in the title or as part of the message?
If you are not allowing the custom entry, you only need the null control. Of course, we only talk about one millisecond, or to check the length of your string. So, you are not asking all devices to perform intense processing.
If I were asked to do, this is what my script would look like.
If you allow custom entries, you must specify what the problem is for the user.
-
Select code from CBWMS makes the text jump around
Just upgraded to Dreamweaver CC and found an annoying "feature" that makes the Skączcie code when the selection of text in the long code wrapped.
For example if there is a long single line javascript code and you select somewhere in the Middle, he instantly pushes this line to the following line similar to a line break (even if it isn't actually inserts a break of)
This is a feature that can be disabled? Or I wonder if it is a question with my Mavericks install where reinstall it will help.
Thanks in advance to all.
I think that this problem is also solved with Nancy O solution:
"Try to disable the speech recognition & dictation in the settings of your system."
http://forums.Adobe.com/message/6147142#6147142
Hope it's OK for this mark as 'correct' show that it has been resolved for someone else, that this could affect.
-
How can I remove an item from my list of downloads on my Mac (10.6.8)
I recently downloaded something on a website and it appeared naturally in my download list. For some reason, I wasn't careful and downloaded a second time. After you open the download I realized I didn't even download. I can't remove it from the list. I don't want to hit clear list because I still want a record of what I downloaded. Please help if you can.
Control-click on the item and select 'remove from list '.
-
How to divide the text block to separate text frames each for a single line.
I mean the same as a script of the splitstory soon, but I first have to draw all the lines of text in the separate text block.
How to copy for example consistent with 10 lines of text to separate the 10 images and then divided.
Hello
Try this,
var doc = app.activeDocument, sel = doc.selection[0], _lines = sel.parent.lines, txfm = sel.parentTextFrames[0], gb = txfm.geometricBounds; for(var i =_lines.length-1;i>0;i--) { var nextframe = txfm.parentPage.textFrames.add({geometricBounds:[_lines[i-1].baseline,gb[1],_lines[i].baseline,gb[3]]}); nextframe.textFramePreferences.firstBaselineOffset = FirstBaseline.LEADING_OFFSET; txfm.nextTextFrame = nextframe; } txfm.geometricBounds = [gb[0],gb[1],_lines[0].baseline,gb[3]]; for(var i =sel.parent.textContainers.length-1;i>=0;i--) { sel.parent.textContainers[i].duplicate(); } for(var i =sel.parent.textContainers.length-1;i>=0;i--) { sel.parent.textContainers[i].remove(); }
Kind regards
Cognet
-
Insertion of a middle Page of separate text on a two column layout box
Hello!
I'm working on a book with a layout in two columns. At various times, I need to insert what are effectively the chapter breaks. Currently I have a giant text block flowing for all 65 pages. This provision is (I think?) made necessary by the scripts that I am running for our line numbers and our notes.
My original idea was to put the chapter title in a separate text block and wrap the text around it, so that I can keep the unique setting of the main text. Unfortunately, in the two-column layout, this means that the text in the first column went * under * the title of the chapter to complete the first column, no matter where I moved it.
I think I may need to end the block of text of the first chapter and start a second for the new chapter get the result I want. However, I have a few worries about that: first of all, if I ended up simply text block, I should remove the other 55 pages (after the break) I already partially formatted and screw them from scratch in the text box of the new chapter? Secondly, I also fear that making a separate text block could ruin my scripts endnote and line numbers.
(NB: if I need to put an end to this block of text and starting a new one, I can't find a way to do it on a page at the beginning of a block of text in several pages, so I need help with this, too.)
Y at - it a simple way to insert this text box so that text of the first chapter ends perfectly in two columns above it, and the next chapter starts cleanly into two columns underneath?
Please see attached screen captures, showing the current state of things. The text box has been inserted with a simple wrap around it.
THANK YOU IN ADVANCE!
Hello
Have you checked characteristic Columns Span integrated InDesign? http://InDesignSecrets.com/timesaver-span-and-split-columns-in-CS5.php
Now that you have your text formatted in a single framework with two columns, you can select the chapter header text and tell him to cover all the columns in the text block.
This warp the need to set up a separate text frame.
The only downside I can think is that you use the the duration columns can slow down InDesign a bit.
Ariel
-
Muse: Text blocks the lower graphic States
I created buttons with rollover States: Normal with a 30% opacity. Rollover, Mousedown and Active: shadow 100% more drop. It is related to the landing page. So far so good.
I want the text for each button to be 100% opacity all the time (he has a shadow too) so it is easy to read (not spent 30%), so it is in a separate text block, also linked to the landing page.
In preview mode, when I rollover, mousedown, etc. the button background works as it should (go from 30% to 100%).
Until he hits the block of text. He text block "shields" (for lack of better term) the State and the button returns to its Normal state:
I tried to solve this with layers without result. So... my question is the following:
How can I get the text above the button in a constant state of 100% and do not have the text block are interfering with the States below.
Of course, I forgot something. What Miss me?
Thanks in advance.
The easiest way to do this is to use the "status button" comes with Muse widget.
Here is a small tutorial: The Mighty State button Widget - Video Tutorial - MuseThemes.com - YouTube
-
In a primary text block text block
Hello
as a newbee in indesign css 6 I watched several videos, myself worked through tutorials and try different things. I would like to create a complete book with about 350 pages composed almost entirely of text. Due to the amount of text I thought to use a block of text within pages of various books.
However, there is a specialty. After some of the topics, there is a reference with the name of the author of this quote. Citations should be justified, but chocked right (the right edge of the block justified must be to the right of the page). A separate text block would be good for this. However, within a block of primary text I can't place another block of text, right? What options should I? I have to remove the primary text block and put all the text in a string of text frames manually?
Kind regards
Adobaen
You can also try withdrawal left with a justified paragraph style.
-
Toggling text element based on the selection of a list item
Hello friends,
I have a header data block where I have a field to not enter the name of book and a REGD Item list that displays 'Yes' and ' ' and a text REG_NO element.
When the user selects 'Yes', the text REG_NO element must be enabled so that the user can enter the number of the book.
By choosing 'No', the REG_NO element must be disabled.
I have included a trigger WHEN-LIST-CHANGED in the list REGD item.
I added the following code in the trigger above:
--=======================================
BEGIN
IF: HEADER. REGD = ' don't
THEN
SET_ITEM_PROPERTY('HEADER.) REG_NO', ENABLED, PROPERTY_FALSE);
ON THE OTHER
SET_ITEM_PROPERTY('HEADER.) REG_NO', ENABLED, PROPERTY_TRUE);
END IF;
END;
--=======================================
However, when the form is opened, the text REG_NO element is enabled.
When the user chooses the 'no' in the list item REGD, then the text REG_NO element is disabled as expected.
However, when you choose 'Yes' in the item list REGD, the text REG_NO element does not get activated.
Can someone let me know how to activate the text element.
Concerning
Hawker
When you disable an item, NAVIGALE, INSERT_ALLOWED, and UPDATE_ALLOWED properties are also set to False, then you will need to reactivate their when you reactivate an item.
Maybe you are looking for
-
Need CD recovery for my Satellite Pro A30
I lost my restore cd where can I get some I tried on the website and only place where I can find is on the site of toshiba Asia which is only compatible with the Asian version models
-
My family has been using the family sharing services, including sharing photos. For some reason, the record is without a name and I can't understand how to change the default folder name. I can change the name of all other photos shared folders, but
-
installed programs do not come up. I can't remove the software free stupid who talk about problems but cannot fix them unless I have buy it upgrade.
-
How to get the text block, given anchor (~ a)
I need to dynamically position anchored with anchor text blocks (but the relative position will be different for each anchor). If I grep ~ i can get the anchor marker - how to get the text block once I got this marker?Thank you
-
I just installed edge inspect, it's chrome [plugin and the mobile app on my iphone.] I'm trying to get a glimpse of a project captivate on my iphone. Connect the edge icon is colored on my chrome. HHowever, it says 'awaiting a connection. " What coul