Re: Parsing the long ID or long Name

2016-07-26 Thread Sannyasin Brahmanathaswami
@ mark … duh… no you are not underthinking… I was over thinking…sure..that works. @ Alex confirmed: put format ("group \"word with spaces\"") into tVar; put word 2 of tVar returns "word with spaces" Wow.. that's both unintuitive/unexpected and useful new knowledge! Thanks This use c

Re: Parsing the long ID or long Name

2016-07-26 Thread Alex Tweedly
Not sure I understand the real problem - or why array could help - but one observation ... On 26/07/2016 23:47, Sannyasin Brahmanathaswami wrote: Trying to avoid reinventing the wheel here: ... The obvious param to send to the behavior is the long ID or long Name of the target, or the owner o

Re: Parsing the long ID or long Name

2016-07-26 Thread Mark Wieder
Sannyasin Brahmanathaswami writes: > # Owner name is our trigger > put the keys of tTargetName (an array) into sMouseTarget > switch sMouseTarget >if "listen-music" is among the lines of sMouseTarget then > # load some other stack or go to some card > > what do you do? if "listen-mu

Parsing the long ID or long Name

2016-07-26 Thread Sannyasin Brahmanathaswami
Trying to avoid reinventing the wheel here: use Case: 1) you want to set a behavior to a common group to act on mouse events. 2) this group is present by different names (deliberately unique names) in different stacks 3) the behavior needs to act on the mouse event. The obvious param to send to