Jump to content
Sign in to follow this  
hitsoncd

run commands through Skype remotely

Recommended Posts

hitsoncd

How can I get an autoit Program, to run in the background, while skype is open, and pick up keywords when Instant messages are sent. I need this, so that I can run commands on my computer remotely.I know just about everything I need to know, to do this, but the problem is when I do a winwaitactive("Skype") with wingettext("Open notepad") underneath it, It will open notepad right after it see's Skype in the window, instead of waiting till it receives a instant message saying Open Notepad. Could some one help, or at least turn me on to the right path. Thanks.

Share this post


Link to post
Share on other sites
computergroove

What commands do you want to run based upon a skype conversation? This smells a little like a keylogger which is prohibited here. Can you share your code?


Get Scite to add a popup when you use a 3rd party UDF -> http://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3/user-calltip-manager.html

Share this post


Link to post
Share on other sites
hitsoncd

A program where I can run commands on my computer, that need to be ran, like if I leave the house, and forget to shut down the computer, or whatever I need to do at the time.

Share this post


Link to post
Share on other sites
computergroove

Teamviewer, windows remote desktop, vnc through a secure tunnel, logmein, gotomeeting the list goes on. teamviewer is free for home use. You can control your desktop and shutdown or whatever if you like with that.


Get Scite to add a popup when you use a 3rd party UDF -> http://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3/user-calltip-manager.html

Share this post


Link to post
Share on other sites
hitsoncd

That's not the point. I want to do this for fun, to see if it can be done.

Share this post


Link to post
Share on other sites
computergroove

wingettext("Open notepad") wouldn't do anything. Can I see your code?


Get Scite to add a popup when you use a 3rd party UDF -> http://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3/user-calltip-manager.html

Share this post


Link to post
Share on other sites
JLogan3o13

I would have said use the Skype API, but it was discontinued in January except for a very few features. Please post your code so we can see what you're attempting to do.


√-1 2^3 ∑ π, and it was delicious!

How to get your question answered on this forum!

Share this post


Link to post
Share on other sites
hitsoncd
while 1
 
;$cool see's the word Skype in the first part of the window,
   ;and gets ready to run command below.
;$text should force this script  to wait until the words
;open notepad, show up in as an Instant Message,
:before command executes.
 
 
$cool = winwaitactive("Skype")
$text = WinGetText("open notepad")
$cool2 = $cool & $text
 
shellexecute($cool2)
 
shellexecute("notepad.exe")
sleep(10000)
Wend
Edited by hitsoncd

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  

×