Sign in to follow this  
Followers 0
Unc3nZureD

Controlsend to an Application in the background

3 posts in this topic

#1 ·  Posted (edited)

Is that thing described in my title possible?

I tried the following code:

#RequireAdmin
ControlSend("Presentation1 - Microsoft PowerPoint", "", "", "Hey!")

If I'm running this while watching the ScITE windows it doesn't work. If I press F5 and instantly ALT+TAB to the Powerpoint, it works. Is it possible to automate background apps?

Edit:

I tried to use

ControlSend("[CLASS:PPTFrameClass]", "", "", "Hey!")

But it still does the same effect :)

Edited by Unc3nZureD

Share this post


Link to post
Share on other sites

Oh, I thought If I skip it, it will send it generally to the window :) Okay, I just changed it to:

ControlSend("[CLASS:PPTFrameClass]", "", "[CLASS:mdiClass]", "Hey!")

And it works now :) [Except that the ! means ALT, I have to use raw mode]

Thanks, my fault :P

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0