Creating a comma separated list of values to pass to a third party application
How to create a comma separated list of values to be passed to a third party application?
Resolving the problem
In this example you create a comma separated list from action script command that returns plural information.
Starting with this example:
Q:display names of running services as string
To test this use the relevance debugger. When entering this into the relevance debugger. This command returns a list of items that are current running services:
Apple Mobile Device
BES Logging Service
DCOM Server Process Launcher
Error Reporting Service
Help and Support
TCP/IP NetBIOS Helper
Machine Debug Manager
Windows Image Acquisition (WIA)
Evaluation time: 76.602 ms
Evaluates to plural object of type string
Use the tools to pull the list of items apart and then merge together as a list. Commands include:
These 2 commands used below do the exact same thing in a slightly different way.
Q: concatenation of (display name of it & ", ") of running services as string
Q: concatenation of (it & ", ") of display names of running services as string
The use of "it" says get the list of items and create a string with a ", " between them.
Translate this page: