How to add a red asterisk '*' before the text of a file chooser in install4j? - install4j

There is a drop list whose drop-down list entries is A and B, and a file chooser in install4j.
I want to achieve the following effect:
If I choose A, the text of the file chooser is "* File Name" where the asterisk is red.
If I choose B, the text of the file chooser is "File name".
All I can think of right now is to create two file choosers, one's text is "* File Name" and another is "File name", the screen will display different file chooser based on the content of drop list.
Then, how to set the asterisk to red for "* File Name"?
Or is there a more elegant way to add a red asterisk '*' before the text of a file chooser?

You can put a drop-down list, a label with a red asterisk and a file chooser into a horizontal group.
In the rename dialog for the label, the "custom ID" of the form component is set to "asteriskLabel", so it can be referenced more easily in a script. The "Selection script" property of the "Drop-down list" is set as shown below
The label form component has its text set to "*" and the font color to red, in addition, the "Visibility script" is set to "false", so that it is initially hidden.
When the user chooses "B" from the drop-down list, the red asterisk will be shown.

Related

How can I select the same set of characters that occur in multiple non-contiguous lines, then copy those entire marked lines to a new Notepad?

I have 3 characters "(CE" appearing in 1,000's of lines but not every one. How do I select all lines with that set of characters, then copy the entire set of lines out to a new Notepad ++?
thank you
Open the "Mark" tab of the search/replace dialogue, or use menu => Search => Mark.... Ensure that "Bookmark line" is selected. Enter the required search string, and click on "Mark all". The lines containing the search string should now be highlighted with blue circles on their left. Now use menu => Search => Bookmark => Copy bookmarked lines and then do a paste into a new buffer and save. The menu entries also show you the keyboard combinations, if any, that do the same tasks.

Replace row header with images

I am working on a worksheet which has long header names. I want to display table compactly using icon images instead of using header labels. Say I have a column named "Population Density" in a table. I would like a population icon to show up instead of full label.
Probably the closest you could come with this is using Unicode Emoji in a column alias.
For measure values, right click the header and click "Edit Alias", then paste the unicode emoji into the text box.
For dimensions, right click the pill and click "Edit in Shelf". Move the cursor to the beginning of the line and press Shift+Enter to add a new line above, then press the up arrow. Type // on the new line, paste the selected unicode emoji, and hit Enter.

Emacs org-mode: how to hide the enumerated list items descriptions by default

Suppose we have this org file:
1. first item
description of the first item
2. second item
description of the second item
3. third item
description of the third item
If I move the cursor to all the top items, and click <tab>, it will hide the descrption. And the file will look like this:
1. first item...
2. second item...
3. third item...
But when I open the file all items are open, which is uncomfortable for me. How can I hide them by default, leaving just dots?
That's strange, for me this is the default behavior to hide everything except the top level.
You can either modify it globally via the customize menu : Group org startup -> option org-startup-folded
or for each file like this http://orgmode.org/manual/Initial-visibility.html#Initial-visibility

Append text before number in LibreOffice Calc

How to append text before number in LibreOffice Calc?
For example, I got this:
Some text 2 lSome another text 1 l
and I want to get this:
Some text appended_text 2 lSome another text appended_text 1 l
Just use regular expressions in search/replace:
Select the cells that should get modified;
Open find/replace: Menu "Edit" -> "Find/Replace..." or CTRL+H
Open "Other options" at the bottom of the Find/Replace dialog;
Make sure "Regular Expressions" is selected;
In the "Search for" box, enter
[:digit:]+
In the "Replace with" box, enter
appendend_text $0
Execute the Find/Replace.
This will append the string appended_text to every numerical value inside the selected cells. It should also work if there are more than one digit (for example, Some another text 15 is changed to Some another text appendend_text 15). The regex is extremly simple: it just matches every numerical value.

Label color under the identity inspector in Xcode 4

under Identity Inspector as we all know that the label property is used to identify objects easier in interface builder, but what are the colors to the bottom of it used for ? I tried to select a color but nothing changed in interface builder.
EDIT: screenshot:
If you don't already use color labels to sort your files and folders, then you really should consider it. Using color labels allows you to enhance your file organization by assigning certain colors to certain files. You can assign color labels to files by doing a "Get Info" (highlight the file, then press command + i) on the file/folder and selecting a color from the label section.
What is the use of these labels if you can't search them? Well, you can! Open a new Finder window and press command + F. In the "kind" drop-down box, select "other" then find "File Label" in the list. Click it, then click "OK."
Now, you can narrow down your search by the color of its label. Note that if you are using Mac OS X Tiger, you will see "Color Label" instead of "File Label."
See the following image that help you more to understand use of identity color label..
Image when you selected first cross cube //Some file in search result
Image when you selected last(gray color) cross cube //No file in search result
Hope, this will help you..