Hello,
Curious if there is a solution to this small little problem. I want to send text to a console window. Basically, a window like cmd window in Windows.
VLC has what is called a console. I want to send text to the window but like ObjectSendKeys I don't want to have to set focus to the window. I finally realized the window does not have a control so FindObject will not work.
Anyone? Anyone? Please.
FindObject
Moderators: JRL, Dorian (MJT support)
FindObject
Windows 7
PepsiHog. Yep! I drink LOTS of Pepsi (still..in 2024) AND enjoy programming. (That's my little piece of heaven!)
The immensity of the scope of possibilities within Macro Scheduler pushes the user beyond just macros!
PepsiHog. Yep! I drink LOTS of Pepsi (still..in 2024) AND enjoy programming. (That's my little piece of heaven!)
The immensity of the scope of possibilities within Macro Scheduler pushes the user beyond just macros!
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: FindObject
If it doesn't have a handle then there's probably no way to do it.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
Re: FindObject
@Marcus,
It has a handle. I don't believe it has an object. Does a dos command window have an object? I thought maybe it could be treated as an edit, but I had no luck with that.
You were probably distracted or half asleep, because you know all windows have handles. So I guess you meant "object". Or.......do they? (object, control, whatever. School me on this.)
@Everyone,
Anyone know of a video player that may be perfect for controlling with FindObject?
Thanks for helping.
It has a handle. I don't believe it has an object. Does a dos command window have an object? I thought maybe it could be treated as an edit, but I had no luck with that.
You were probably distracted or half asleep, because you know all windows have handles. So I guess you meant "object". Or.......do they? (object, control, whatever. School me on this.)
@Everyone,
Anyone know of a video player that may be perfect for controlling with FindObject?
Thanks for helping.
Windows 7
PepsiHog. Yep! I drink LOTS of Pepsi (still..in 2024) AND enjoy programming. (That's my little piece of heaven!)
The immensity of the scope of possibilities within Macro Scheduler pushes the user beyond just macros!
PepsiHog. Yep! I drink LOTS of Pepsi (still..in 2024) AND enjoy programming. (That's my little piece of heaven!)
The immensity of the scope of possibilities within Macro Scheduler pushes the user beyond just macros!
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: FindObject
Not sure what you are saying.
It depends what you mean by objects - this is a rather generic term that could mean pretty much anything. In Windows, only "windowed controls" have handles. These are the things we can send "messages" to to try and manipulate and are what we see in the View System Windows tool.
The "DOS" (it's not DOS) command window will have a handle. What goes on inside that I have no idea. Look at the View System Windows tool. If there are child objects (windowed controls) inside it you should see that in the tree hierarchy.
It depends what you mean by objects - this is a rather generic term that could mean pretty much anything. In Windows, only "windowed controls" have handles. These are the things we can send "messages" to to try and manipulate and are what we see in the View System Windows tool.
The "DOS" (it's not DOS) command window will have a handle. What goes on inside that I have no idea. Look at the View System Windows tool. If there are child objects (windowed controls) inside it you should see that in the tree hierarchy.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?