which would of course be overwritten for each list item. So you need
to set a token on a single object, say the button in the list item.
Here is what I would do:
Add group
Name=[guid]
Capture index=1
Data type=serial
Join=253 (join number of your button in the list)
Target type=digital
Token type=Token
List index=
Remove the onmatch that creates the command value, and instead change
the command to:
Command Name = playAlbum
Command Value = PlayAlbum {[guid]}\x0A\x0D
Note that the actual play command must have the { } brackets in it as
per the autonomics protocol docs.
Now because the token is set on the same button that is calling the
command, the token will be replaced when sending the command.
Jarrod
On Aug 1, 9:05 am, Brad <b...@verohomies.com> wrote:
> Hi All Again -
>
> I can't figure out how to "press" a scrolling list button and "play"
> an album.
>
> I am OK with creating a scrolling list of "albums".
>
> The "play" command is:
> PlayAlbum "guid" where guid is between {...} - see below.
> e.g. PlayAlbum 80e5e8b9-b983-c7d9-8ea6-fc9099daee86
> This would play the "Best Of The Doors"
> It works as a button command directly - for testing.
>
> I am trying to build the dynamic command string above that includes
> the guid as a token
> from the scrolling list.
>
> I am creating a dynamic list from the following data:
> BeginAlbums Total=8 Start=1 Alpha=1
> Album {80e5e8b9-b983-c7d9-8ea6-fc9099daee86} "Best Of The Doors"
> Album {c79cf3a5-e992-caf8-a1ec-bf8398ffc6be} "Crosby, Stills, Nash &
> Young"
> Album {427ca566-e7e9-4ecd-9ed1-1ddadb9d07e8} "Hell Freezes Over
> (Eagles)"
> Album {9effcae1-cec8-c893-ae80-a9c1a7b093a5} "Slow Train Coming (Bob
> Dylan)"
> Album {d4c7afc0-81c2-c8bb-92fd-db80eacbc4c4} "Tuesday Night Music
> Club (Sheryl Crow)"
> Album {c2403518-c827-46cb-9c8b-6c16ca036cdd} "Unplugged (Eric
> Clapton)"
> Album {3c0b2a81-1e87-4659-8b24-1b7bdb722609} "Waiting For Columbus
> (Little Feat)"
> Album {bfb69aa3-d9b2-ccf8-9288-b982faff8986} "Who's Next (The Who)"
> EndAlbums NoMore
>
> I am capturing the token with this regex:
> (?ims)album \{(.*?)\} "(.*?)"
>
> Onmatch
> Target type=list
> Join=252 (same as upper right list type)
> Assign token = false
> Value=c
>
> Add group
> Name=[guid]
> Capture index=1
> Data type=serial
> Target type=global
> Token type=Token
> List index=
>
> Add group
> Name=
> Capture index=2
> Data type=serial
> Target type=serial
> Join=254 (indirect text of list)
> Token type=Value
> List index=
>
> Onmatch
> Target type=global
> Assign token=true
> Value=PlayAlbum $[guid]$ \x0A\x0D
> Token=[playAlbum]
>
> List Analog = 252
> List Button Digital = 253
> List Indirect Text = 254
>
> I created a command with the following:
> Command Name = playAlbum
> Command Value = [playAlbum]
>
> What am I missing? I have followed Fiasco's list tutorial and the
> following threads...
>
> http://groups.google.com/group/commandfusion/browse_thread/thread/3b3...
>
> http://groups.google.com/group/commandfusion/browse_thread/thread/ada...
>
> Please HELP - I am going crazy with a "brute force method" of trying
> every combo!
>
> TIA - Brad
--
You received this message because you are subscribed to the Google Groups "CommandFusion" group.
To post to this group, send email to commandfusion@googlegroups.com.
To unsubscribe from this group, send email to commandfusion+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/commandfusion?hl=en.
Comments
0 comments to "Re: Need help with scrolling lists that DO something..."
Post a Comment