Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
James Adams wrote in message <3BD7451B.85485604@ucar.edu>... > Hello, > > I have been trying to get mouse values from the ION system variable > $Mouse. However everything is not working as advertised, or more likely > I have misunderstood how to use this to get my mouse location I keep > getting (0, 0) for the (X, Y) of my mouse, and I don't think this is > correct. Attached is a brief ION Script which demonstrates what I'm > trying to do. Thanks in advance for any assistance or suggestions. > > -James Adams > > Having only been on a 1 day course on ION Script I am probably not the best qualified to answer this. However one difference between your code and the examples is that you are using Mouse.X rather than Mouse.x. I did write some programs which did get the mouse position so if necessary I could try to find them. Malcolm Walters
Malcolm Walters wrote: > James Adams wrote in message <3BD7451B.85485604@ucar.edu>... >> Hello, >> >> I have been trying to get mouse values from the ION system variable >> $Mouse. However everything is not working as advertised, or more likely >> I have misunderstood how to use this to get my mouse location I keep >> getting (0, 0) for the (X, Y) of my mouse, and I don't think this is >> correct. Attached is a brief ION Script which demonstrates what I'm >> trying to do. Thanks in advance for any assistance or suggestions. >> >> -James Adams >> >> > Having only been on a 1 day course on ION Script I am probably not the best > qualified to answer this. > However one difference between your code and the examples is that you are > using Mouse.X rather than Mouse.x. > I did write some programs which did get the mouse position so if necessary I > could try to find them. > Malcolm Walters Thank you this did make a difference. Also I had to make another page call this one before it worked so that is also something to consider. The mouse values come from the previous page. -James