Is this possible?

0 views
Skip to first unread message

Brian McMurray

unread,
Jan 12, 2010, 7:25:21 PM1/12/10
to Triba...@googlegroups.com
HI Everyone,

Has anyone done this in iShell and how do you do it?  I want to receive either a table or a column from a database on the web to display in iShell (that part I can do).  I want to display that table inside of a scroller so that the user can scroll the items (probably about 200 total items) - I can do that part too.

What I can't do is figure out how to make those items clickable - so that if you click one of them it performs an action.

Here's what I'd like to do:

1.  Have a table with two columns - first column is a name and second is a number.
2.  Display only the first column as a list to the user in a scroller - allowing them to scroll up and down it to find the item they want to click.
3.  Click an item in this list using their mouse (rollover would be nice but isn't required).
4.  Upon click grab the value of the number in column 2 (which is not displayed) and store it in a variable.

How would one accomplish this?  Thanks in advance!
-Brian

Brian McMurray
Creative Director

Opus Communications, Inc.
Training people like to take.

5700 Broadmoor St. • Suite 400
Mission, KS 66202


mobile# 816.651.7345

Matt Cassidy

unread,
Jan 12, 2010, 7:58:25 PM1/12/10
to triba...@googlegroups.com
Hi Brian,

I have done something like this in the past. 

What I did was: 

1. create a box with a field inside it for the displayed name of the item and another field (hidden) to store a code.
2. When you load the table count the rows and store the value in a property or somwhere.
3.  run a loop that gets the value from the table puts it in the field, stores the second value from the table in another unshown field and then creates another copy of itself and moves the whole lot down by a set number of pixels. I did mine by using a loaded command on the box with the fields in it. You need to use the Duplicate command from the runtime commands each time you loop through and setup an incrementing count.
4. When the user clicks on an item you identify which box has been clicked using the Get element command from special - and Robert is  your mothers brother!

It's a little bit on the tricky side to get it up but it works really well. If you want to email me off the list I can provide some further assistance and an example, the combination of commands with the get element is a bit tricky to nail down and the whole thing is not the most elegant but it does work.

If you want I can build a little example if you want to shoot me a table.

Kind regards
Matt
pastedGraphic.pdf

Denis Williamson

unread,
Jan 13, 2010, 2:15:47 AM1/13/10
to triba...@googlegroups.com
Brian,

Hi, after Matt's reply I'm a bit wary that I may be offering the wrong info here (which does happen to me more than occasionally :o) as I have a fairly simple solution compared to Matt's. If I've misunderstood, apologies in advance.

What I think may be missing from your current set up is...

Starting from the Data element holding your table's web url (which will be inside your scroller) Put an "On Data" event into the Data element : "mouse down" is OK as the action.

The important command will be something like :
Tell Data > The Data Element > Get cell value > Col 2 > Row = (blue arrow) Parameter = "Row" > put it into Value = your variable "var"

The parameter "Row" picks up the row in your table where the user clicks. 
From there you "Set" your variable with the data taken from column "2" : row "Row"

Other notes : in the Data Element, set Auto Select and On Enter and this will give you a roll-over as your user mouses over the list of column 1 items. S/He will still have to click to select an item, as long as the On Data event is set to Mouse Down.

I hopes this works,
Denis


--
You received this message because you are subscribed to the Google Groups "iShell discussion". The place to learn and talk about tribalmedia's iShell.  Please visit us a http://www.tribalmedia.com.

To post to this group, send email to Triba...@googlegroups.com
To unsubscribe from this group, send email to TribalForum...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/TribalForum?hl=en

Gil Anspacher, Tribalmedia Support

unread,
Jan 13, 2010, 8:14:58 AM1/13/10
to triba...@googlegroups.com
Brian,

I think Denis's solution is what you are looking for. A few clarifications:

The Data element is a Kind: Table Column and height set to media and placed inside the scroller. Thus, scrolling 'list', actually a scrolling table column.

If you want a rollover effect, then AutoSelect-OnEnter. My suggestion is to not use the rollover effect. Do auto select: On click. this will make the selection stick. Then it is a simple process to get the 2nd col cell value as Denis wrote: On Data-Cell Selected, get cell value, col 2, row-parameter-row (row that is selected.

Then you can do whatever you want with the data from col 2.

Regards,
Gil Anspacher, tribalmedia Support

Brian McMurray

unread,
Jan 13, 2010, 10:46:37 AM1/13/10
to triba...@googlegroups.com
Gil and Denis,
Thanks - this is exactly what I was looking / hoping for.  I can build all the logic from here - I'm just glad to know the table column can be picked.

Matt,
I actually really like your solution too for a different project I'm working on - this has alot of use as well for specifically styling the text areas (instead of just dumping them into a list).  I like how you duplicate out the fields and space them yourself - very nice!

Thanks so much to all of you for the suggestions - this should solve my issue - I'll give it a try!

-Brian

Robert DeSaeger

unread,
Jan 13, 2010, 3:00:46 PM1/13/10
to triba...@googlegroups.com
Has anyone ever bought the iDevil Plugin from Fred? And who is willing to sell it to me so that I can renew my
iShell License?

The iDevil plug is so that iShell can run without Quicktime.
I got a project that it is mandatory that the person does not need to install Quicktime Period.
Fred has gone on to greener pastures with no forwarding address, so they say. So, I am trying to see
if anyone has ever bought this plugin and is willing to sell it if they no longer are using it.

robert


Denis Williamson

unread,
Jan 14, 2010, 11:13:18 PM1/14/10
to triba...@googlegroups.com
Hi,

I'm trying to put a couple of screen shots into this mail (hope they
appear) showing a problem with video in an iShell program running on
Windows Vista. If anyone can help I'd be most grateful.

One pic is from a tester's machine running Vista and all videos in the
program break up more or less as shown.
The other screen shot is how mine looks, also on Vista, where I have
no problems running the program.

Could this be due to insufficient memory allocation, or a slow
processor, or what?

Tester has QT 7.6.5 installed, but is geographically remote so I can't
check her machine myself.

Cheers
Denis
Hong Kong

Client'sScreen.jpg
MyScreen.jpg

Tracy Valleau

unread,
Jan 14, 2010, 11:21:05 PM1/14/10
to triba...@googlegroups.com
video card? what is the tester's "rating" (that thing in the control panel) on the machine and the card?

> <Client'sScreen.jpg><MyScreen.jpg>

Matt Cassidy

unread,
Jan 14, 2010, 11:26:13 PM1/14/10
to triba...@googlegroups.com
Hey Brian,

what I forgot to say was that you can do a nice rollover when using separate fields..

Cheers
Matt
pastedGraphic.pdf

Denis Williamson

unread,
Jan 14, 2010, 11:51:19 PM1/14/10
to triba...@googlegroups.com
Tracy,

I think I've found what you mean... The Performance Information and
Tools thing. It gives scores for Processor, RAM, Graphics, Gaming
Graphics and Hard Disk; on my machine (iMac running Parallels 5) I've
got an overall, Base Score of 4.5

I'll find out what scores the tester has as soon as I can. I can see
that a score less than 3 might make it difficult to play an iShell
program with lots of video (?) Hmm... I wonder if we have to publish
the base score required by each program we make?

Many thanks for the tip, Tracy. Let's hope I've got the right bit. I
see there are some tips for improving the performance, but we'll get
round to those when we know the testers score.

Cheers
Denis

Tracy Valleau

unread,
Jan 14, 2010, 11:57:13 PM1/14/10
to triba...@googlegroups.com
NP. I saw similar issues a while back, which went away when I upgraded my video card. If that person is using on-board video, there's a 99.99% chance that's it.

T

Gil Anspacher, Tribalmedia Support

unread,
Jan 15, 2010, 9:16:22 AM1/15/10
to triba...@googlegroups.com
How does the same video play in QT PLayer? Always my 1st question.


Regards,
Gil Anspacher, tribalmedia Support

Denis Williamson

unread,
Jan 15, 2010, 8:10:09 PM1/15/10
to triba...@googlegroups.com
Thanks Gill, I'll get the tester to try that too. The videos in the program are wrapped so I'll put up one or two for download; this tester is in UK, on the other side of the world to me, so question and answer are not always immediate :o)

Denis
Reply all
Reply to author
Forward
0 new messages