Hello Steve,
I thought that in your experiment you were wanting to use the Immed app
to obtain the text in the mouse window.
Was this in fact the case?
Many thanks,
Mike.
At 13:33 28/12/2012, you wrote:
Hi Mike,
I think Tom's explanation does it for me and may help you as well.
Thanks for your help.
All the best
Steve
--
Computer Room Services
77 Exeter Close
Stevenage
Hertfordshire
SG1 4PW
Tel: +44(0)1438-742286
Mob: +44(0)7956-334938
Fax: +44(0)1438-759589
Email: <mailto:[email protected]>[email protected]
Web: <http://www.comproom.co.uk>http://www.comproom.co.uk
From: M F Mason [mailto:[email protected]]
Sent: 28 December 2012 13:03
To: [email protected]
Subject: Re: Beginner question on Immediate Mode
Hello Steve,
My understanding is that
whilst Window is indeed a property of Mouse object,
Mouse.Window will return an object which, in turn, has properties.
I do not think that
print Mouse.Window
will print out the text of the mouse window.
The Window object does have a clips method which returns a clips
object object which has a clipstext property which holds all the
clips text for the Window.
I may be missing something but I hope this helps a little.
All the best,,
Mike.
At 12:05 28/12/2012, you wrote:
Hi guys and gals?
I read with interest that in Immediate Mode, you can for example,
print out the mouse window as a variable. I checked the reference
guide and Mouse is an object, and Window is a property.
So I opened a program, interested in what I would get, Outlook 2007
as my example and loaded my inbox.
I then hit the Control-Shift-Q window to bring up Immediate Mode, and typed:-
Print mouse.window
I get the error:-
Error object does not support this property or method.
So where am I going wrong?
This is not important to any project, it is just experimentation and
I want to understand what's happening here. I would have thought
the mouse object would hold the window property and give me some
result, whether it is numeric or a string, but looks like the window
property isn't supported.
Interestingly, this example is also referenced in the Immediate Mode help.
Any thoughts please?
Thanks.
All the best
Steve
--
Computer Room Services
77 Exeter Close
Stevenage
Hertfordshire
SG1 4PW
Tel: +44(0)1438-742286
Mob: +44(0)7956-334938
Fax: +44(0)1438-759589
Email: <mailto:[email protected]>[email protected]
Web: <http://www.comproom.co.uk>http://www.comproom.co.uk