I just tried this

put mappGetTaskList()
put mappGetTaskWindowList(taskID)

and I got a whole boat load of info dumped to the message window. Are you 
sure that the taskID you're passing is valid?

Here's some quickly hacked code for you to try. Give this a go and let us 
know what happens.
Don't forget to put in your own registration info.

Email lingo follows:

on startMovie
register(xtra "MasterApp", "yourRegInfoGoesHere")
   --put mappGetTaskList()

   x = mappGetTaskIDs()
   y = []
   oldi = 1
   repeat with i = 1 to x.length
     if x.char[i] = " " then
       val = x.char[oldi..i-1]
       y.add(val)
       oldi = i
     end if
   end repeat

   val = x.char[oldi..i]
   y.add(val)

   put mappGetTaskWindowList(y[random(y.count)].integer)

end startMovie

HTH

...Neil

 > I've been trying to do mappGetTaskWindowList(taskid) on mac9.2.2 and I
 > keep getting "" as a return.

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to