This posting is older than 6 months and can contain outdated information.
Hi;
I want to be able to index up and down through the cable TV channels, not all of which I am subscribed to, using the forward and backwards keys.
I have actions mapped to the numbers 0-9 in a custom behavior and so I would want to do something like this:
array(100,110,123,150,200,201,495.700,877,900)
dim i = 0
if press = up then i=i+1
else i=i-1
var chan = array[i]
send chan as keypresses
I guess that this would have to be done with applescript, but how am I going to know which was the last channel selected as I don't think that applesecript supports session variables ??
I somehow need to make the index variable (i) persistent so that each time the script is run it will continue fro the previous index value ??
Thanks
PeterC