Skip to main content



      Home
Home » Eclipse Projects » RCP Testing Tool » [SOLVED]Is it possible to concatenate strings to select a value from a combo or vector ?(#strings #concatenate #combo #vector #select_item)
[SOLVED]Is it possible to concatenate strings to select a value from a combo or vector ? [message #1716398] Thu, 03 December 2015 08:44 Go to next message
Eclipse UserFriend
Hi Folks,
I have the following line that return a number in random way

invoke-static -pluginId org.eclipse.core.runtime -className java.util.concurrent.ThreadLocalRandom -methodName current | invoke nextInt 10]


I'd like to use the results to select data so I need to change the strings
"values[value from the code line]".


I think to solve it using procedures and global variables anyway I's like to know is exist a quick method.
Thank you guys in advance.

[Updated on: Thu, 03 December 2015 09:02] by Moderator

Re: Is it possible to concatenate strings ? [message #1716403 is a reply to message #1716398] Thu, 03 December 2015 09:00 Go to previous message
Eclipse UserFriend
Solved I use a concat method

show-alert[get-view "External Identification Codes" | get-table | get-combo|get-property [ concat [concat "values[" [invoke-static -pluginId org.eclipse.core.runtime -className java.util.concurrent.ThreadLocalRandom -methodName current | invoke nextInt 10]]"]" ] -raw ]
Previous Topic:How to take a screenshot containing a menu
Next Topic:Is there an ECL command to stop running a script?
Goto Forum:
  


Current Time: Tue Jul 15 01:20:48 EDT 2025

Powered by FUDForum. Page generated in 0.30448 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top