amein14 wrote:Yes, if possible. Because each time computer turn on, that link will open automatically too.
It is, I think. I'd remove the mentioned OnUpdateAction option from the [MeasureString] measure and would complete the Command1 option of the [MeasureInput] measure with a !SetOption bang to set back the same OnUpdateAction option to the [MeasureString] measure when the string is input (see the !SetOption bang below):
Code: Select all
[MeasureInput]
...
Command1=[!SetVariable ISBN "$UserInput$"][!SetOption MeasureString OnUpdateAction """["http://webpac.kdu.edu.my/search/query?match_1=MUST&term_1=[MeasureString]#SearchCat#"]"""][!UpdateMeasure "MeasureString"]
amein14 wrote:Yes, because im looking something to highlight "selected meter" and differentiate with others. Glad if you could help regarding this. Thank you in advance..
Add the following LeftMouseDownAction option to the [MeterTitle] meter:
LeftMouseDownAction=[!SetOption #CURRENTSECTION# StringStyle "Bold"][!UpdateMeter "#CURRENTSECTION#"][!Redraw]. The !SetOption bang of this option sets the Bold style to the meter when you're pushing the button. When the button is released, the same Normal style should be set back. For this you have to add a similar bang to the LeftMouseUpAction option of the same meter (beside the existing ones):
LeftMouseUpAction=[!SetOptionGroup Category FontColor "#*TextOff*#"][color=#FF0000][!SetOption #CURRENTSECTION# StringStyle "Normal"][/color][!SetOption #CURRENTSECTION# FontColor "#*TextOrange*#"][!SetVariable SearchCat "&field_1=t&facet_loc=10000&sort=relevance&theme=kdu"][!UpdateMeter *][!Redraw].
Or there also is a third possibility, too: to set the string bold when you're hovering the mouse over it, then set it back to normal, when you you're leaving it. Just have to add the appropriate bangs to a newly added MouseOverAction and MouseLeaveAction options. If you can't do this and you're interested, please let me know, to help you.