Saturday, July 31, 2010

Need help with scrolling lists that DO something...

0 comments
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/3b3dd36e1b5fea4b/a056d48f996824ae?lnk=gst&q=list+index#

http://groups.google.com/group/commandfusion/browse_thread/thread/adac81c1e45443c2/0fa9d3348e5d5c27?lnk=gst&q=list+index#0fa9d3348e5d5c27

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 "Need help with scrolling lists that DO something..."

Post a Comment

 

Copyright 2008 All Rights Reserved Revolution Two Church theme by Brian Gardner Converted into Blogger Template by Bloganol dot com