Thanks Dave, but I need to check for a specific app, not just get a list of all items in the list
I’m presuming I need to somehow get a list of all the items which the Terminal returned, and then put then into an array - then check the array for the specific app’s name as a string?
Is that the best way of doing this?
If so - I need a little help with getting the returned list in to the array.
if Instr(sh.result,“test.app”)>0 then[/quote]
well this was my original response…
And no offsense Richard, but you seem to be smart enough to take a scrap and run with it… or so I thought
It’s just that sometimes more knowledgeable developers seem to think that the person asking the question is being lazy, or want someone else to code it for them, (as one other particular member always seems to suggest whenever I post for help).
This is simply not the case (for me at least).
What seems blatantly obvious and ridiculously easy for the advanced developer, is often incomprehensible for someone with less knowledge.
It’s easy when you know what to look for in the LR, but if you have no idea, then it’s impossible
[quote=307727:@Michel Bujardet]dim v() as string
v=split(sh.result,",")
if result.IndexOf("text.app") > - 1 then
msgbox "test.app has been found"
end if
Was that really necessary … should we also link to the forum etiquette? New year and all; maybe we could all display a little tolerance to begin the year … still have a good 360 days to go
Gentlemen… calm down… this bickering is doing nobody (the two of you, and the rest of this community) any good, and there is no upside to this. Michel, if you are of the mindset you seem to be, simply ignore Richard in the future (to me that would be a petty response but I’m not to judge).
The question has been asked, and answered… so shake hands and lets all move on together