How to control any software using batch?

Click For Summary

Discussion Overview

The discussion revolves around controlling software, specifically Skype, using command line interfaces such as CMD and PowerShell. Participants explore the feasibility of accessing various functionalities of Skype through command line commands and external programming interfaces.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant seeks advice on how to control Skype entirely through CMD, expressing uncertainty about accessing tool options like contacts and conversations.
  • Another participant suggests that CMD may only allow starting Skype and recommends using Windows PowerShell for deeper access to Skype functionalities.
  • Some participants propose that if Skype does not have interfaces for external control, using a GUI with a mouse might be the only alternative.
  • One participant asserts that Skype likely exposes functionalities for external programs to use, providing a link to documentation as a starting point.
  • A later reply clarifies that the provided link pertains to services exposed by the Skype server platform rather than the client software.
  • Another participant shares an example of controlling Skype from the command line using Skype4Py, linking to relevant resources.

Areas of Agreement / Disagreement

Participants express differing views on the capabilities of CMD and PowerShell in controlling Skype, with no consensus on the best approach or the extent of control available through command line interfaces.

Contextual Notes

Limitations include potential dependencies on Skype's programming model and the availability of interfaces for external control, which remain unresolved in the discussion.

Nate Duong
Messages
125
Reaction score
4
Dear Forum,

I am trying to run a random software (such as skype), there is easy to run by mouse and click on the icon on the desktop.

Now, I am trying to take advance by using CMD (command prompt). I am going to type some basic command to make skype run, but I do not know how to go into any tool option, such as: contacts , Conversation, Call...(they are on tool bar). Everything will be controlled by CMD.

Anyone has any ideal? please advise!

Thank you so much,

Best regards.
 
Technology news on Phys.org
Nate Duong said:
Dear Forum,

I am trying to run a random software (such as skype), there is easy to run by mouse and click on the icon on the desktop.

Now, I am trying to take advance by using CMD (command prompt). I am going to type some basic command to make skype run, but I do not know how to go into any tool option, such as: contacts , Conversation, Call...(they are on tool bar). Everything will be controlled by CMD.

Anyone has any ideal? please advise!
I don't believe you can do what you're trying to do strictly using the commands in the command prompt. About all you can do from a command prompt is start Skype. However, I think you might be able to use Windows PowerShell to drill down into Skype to get at whatever things Skype exposes. I would advise going to the Skype site to find out some more about their programming model, and what you can do to take advantage of it.
 
There are programs that can use a GUI with the mouse. If skype does not have interfaces to be controlled by other programs, that is the only alternative I see.
 
Mark I think that link documents services exposed by the Skype server platform, not the client software.
 
Here is an example for controlling Skype form the command line.
http://en.tech-notes.net/skype4py-send-skype-messages-from-bash/
It uses Skype4Py https://github.com/Skype4Py/Skype4Py
 
  • Like
Likes   Reactions: iheadset

Similar threads

Replies
10
Views
5K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
7
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
3
Views
3K
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 19 ·
Replies
19
Views
6K
  • · Replies 18 ·
Replies
18
Views
2K
  • · Replies 28 ·
Replies
28
Views
4K