Batch file to open program and click in specific area of the program [duplicate] Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!How to click a button using a batch file?How do you simulate Mouse Click in C#?How can I pass arguments to a batch file?Batch file to delete files older than N daysSplit long commands in multiple lines through Windows batch fileHow can I echo a newline in a batch file?Windows batch files: .bat vs .cmd?How to sleep for 5 seconds in a batch file/cmd?What is the current directory in a batch file?Defining and using a variable in batch fileBatch files : How to leave the console window openHow to keep console window open even after program started from batch-file has been terminated?
What *exactly* is electrical current, voltage, and resistance?
The 'gros' functor from schemes into (strictly) locally ringed topoi
Does Prince Arnaud cause someone holding the Princess to lose?
Could a cockatrice have parasitic embryos?
Simulate round-robin tournament draw
Is there a way to fake a method response using Mock or Stubs?
France's Public Holidays' Puzzle
What do you call an IPA symbol that lacks a name (e.g. ɲ)?
Suing a Police Officer Instead of the Police Department
Putting Ant-Man on house arrest
VBA: Single line if statement with multiple actions
Eigenvalues of the Laplacian of the directed De Bruijn graph
Is there a possibility to generate a list dynamically in Latex?
What is the definining line between a helicopter and a drone a person can ride in?
Feather, the Redeemed and Dire Fleet Daredevil
All ASCII characters with a given bit count
How to keep bees out of canned beverages?
Does a Draconic Bloodline sorcerer's doubled proficiency bonus for Charisma checks against dragons apply to all dragon types or only the chosen one?
What's the difference between using dependency injection with a container and using a service locator?
How did Elite on the NES work?
Determinant of a matrix with 2 equal rows
Calculating the expected value of truncated normal
Israeli soda type drink
Where to find documentation for `whois` command options?
Batch file to open program and click in specific area of the program [duplicate]
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Data science time! April 2019 and salary with experience
The Ask Question Wizard is Live!How to click a button using a batch file?How do you simulate Mouse Click in C#?How can I pass arguments to a batch file?Batch file to delete files older than N daysSplit long commands in multiple lines through Windows batch fileHow can I echo a newline in a batch file?Windows batch files: .bat vs .cmd?How to sleep for 5 seconds in a batch file/cmd?What is the current directory in a batch file?Defining and using a variable in batch fileBatch files : How to leave the console window openHow to keep console window open even after program started from batch-file has been terminated?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
This question already has an answer here:
How to click a button using a batch file?
4 answers
I have one small program that creates windows and sql users called "login.exe"
I need a way to open the program, and click on the button "Create" and after X seconds close the program.
Is there any good way to do it? for example, execute the script every day at midnight, the program will open, click "Create" then waits 10 sec, and close the program.
It would be great if someone can help me with it because windows keep losing some users created after some time like every month I have to run that program.
batch-file
marked as duplicate by Squashman, Compo, aschipfl
StackExchange.ready(function()
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();
);
);
);
Mar 22 at 17:37
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
This question already has an answer here:
How to click a button using a batch file?
4 answers
I have one small program that creates windows and sql users called "login.exe"
I need a way to open the program, and click on the button "Create" and after X seconds close the program.
Is there any good way to do it? for example, execute the script every day at midnight, the program will open, click "Create" then waits 10 sec, and close the program.
It would be great if someone can help me with it because windows keep losing some users created after some time like every month I have to run that program.
batch-file
marked as duplicate by Squashman, Compo, aschipfl
StackExchange.ready(function()
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();
);
);
);
Mar 22 at 17:37
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
2
There is no facility in pure batch files, i.e. command line interface, to interact with the GUI, you will need to leverage another language which provides this facility, Windows Script Host is one such option.
– Compo
Mar 22 at 15:04
add a comment |
This question already has an answer here:
How to click a button using a batch file?
4 answers
I have one small program that creates windows and sql users called "login.exe"
I need a way to open the program, and click on the button "Create" and after X seconds close the program.
Is there any good way to do it? for example, execute the script every day at midnight, the program will open, click "Create" then waits 10 sec, and close the program.
It would be great if someone can help me with it because windows keep losing some users created after some time like every month I have to run that program.
batch-file
This question already has an answer here:
How to click a button using a batch file?
4 answers
I have one small program that creates windows and sql users called "login.exe"
I need a way to open the program, and click on the button "Create" and after X seconds close the program.
Is there any good way to do it? for example, execute the script every day at midnight, the program will open, click "Create" then waits 10 sec, and close the program.
It would be great if someone can help me with it because windows keep losing some users created after some time like every month I have to run that program.
This question already has an answer here:
How to click a button using a batch file?
4 answers
batch-file
batch-file
asked Mar 22 at 14:59
Anoushka IolaAnoushka Iola
94
94
marked as duplicate by Squashman, Compo, aschipfl
StackExchange.ready(function()
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();
);
);
);
Mar 22 at 17:37
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by Squashman, Compo, aschipfl
StackExchange.ready(function()
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();
);
);
);
Mar 22 at 17:37
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
2
There is no facility in pure batch files, i.e. command line interface, to interact with the GUI, you will need to leverage another language which provides this facility, Windows Script Host is one such option.
– Compo
Mar 22 at 15:04
add a comment |
2
There is no facility in pure batch files, i.e. command line interface, to interact with the GUI, you will need to leverage another language which provides this facility, Windows Script Host is one such option.
– Compo
Mar 22 at 15:04
2
2
There is no facility in pure batch files, i.e. command line interface, to interact with the GUI, you will need to leverage another language which provides this facility, Windows Script Host is one such option.
– Compo
Mar 22 at 15:04
There is no facility in pure batch files, i.e. command line interface, to interact with the GUI, you will need to leverage another language which provides this facility, Windows Script Host is one such option.
– Compo
Mar 22 at 15:04
add a comment |
1 Answer
1
active
oldest
votes
@Compo is right, batch files cannot interact with the GUI but...you could use another language like c++ or even python to directly interact with the GUI and give you the same output in the very same console format that a batch file would. I would recommend using c# or C++ to do this because you could still execute command line operations just as you would within a batch file.
Can you tell me the "name" of the search that I have to do in order to find results about interaction with programs or something like that? it would be great because I have no clue what to search for.
– Anoushka Iola
Mar 22 at 16:16
@AnoushkaIola,you didn't search for batch file click button? That is what I did and found the topic that I posted above.
– Squashman
Mar 22 at 16:38
@AnoushkaIola you could start here -> stackoverflow.com/questions/2416748/…
– Zach Pedigo
Mar 22 at 16:40
Please don't post answers on obviously off topic/bad questions! See: Should one advise on off topic questions?
– double-beep
Mar 22 at 19:56
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
@Compo is right, batch files cannot interact with the GUI but...you could use another language like c++ or even python to directly interact with the GUI and give you the same output in the very same console format that a batch file would. I would recommend using c# or C++ to do this because you could still execute command line operations just as you would within a batch file.
Can you tell me the "name" of the search that I have to do in order to find results about interaction with programs or something like that? it would be great because I have no clue what to search for.
– Anoushka Iola
Mar 22 at 16:16
@AnoushkaIola,you didn't search for batch file click button? That is what I did and found the topic that I posted above.
– Squashman
Mar 22 at 16:38
@AnoushkaIola you could start here -> stackoverflow.com/questions/2416748/…
– Zach Pedigo
Mar 22 at 16:40
Please don't post answers on obviously off topic/bad questions! See: Should one advise on off topic questions?
– double-beep
Mar 22 at 19:56
add a comment |
@Compo is right, batch files cannot interact with the GUI but...you could use another language like c++ or even python to directly interact with the GUI and give you the same output in the very same console format that a batch file would. I would recommend using c# or C++ to do this because you could still execute command line operations just as you would within a batch file.
Can you tell me the "name" of the search that I have to do in order to find results about interaction with programs or something like that? it would be great because I have no clue what to search for.
– Anoushka Iola
Mar 22 at 16:16
@AnoushkaIola,you didn't search for batch file click button? That is what I did and found the topic that I posted above.
– Squashman
Mar 22 at 16:38
@AnoushkaIola you could start here -> stackoverflow.com/questions/2416748/…
– Zach Pedigo
Mar 22 at 16:40
Please don't post answers on obviously off topic/bad questions! See: Should one advise on off topic questions?
– double-beep
Mar 22 at 19:56
add a comment |
@Compo is right, batch files cannot interact with the GUI but...you could use another language like c++ or even python to directly interact with the GUI and give you the same output in the very same console format that a batch file would. I would recommend using c# or C++ to do this because you could still execute command line operations just as you would within a batch file.
@Compo is right, batch files cannot interact with the GUI but...you could use another language like c++ or even python to directly interact with the GUI and give you the same output in the very same console format that a batch file would. I would recommend using c# or C++ to do this because you could still execute command line operations just as you would within a batch file.
answered Mar 22 at 15:33
Zach PedigoZach Pedigo
1236
1236
Can you tell me the "name" of the search that I have to do in order to find results about interaction with programs or something like that? it would be great because I have no clue what to search for.
– Anoushka Iola
Mar 22 at 16:16
@AnoushkaIola,you didn't search for batch file click button? That is what I did and found the topic that I posted above.
– Squashman
Mar 22 at 16:38
@AnoushkaIola you could start here -> stackoverflow.com/questions/2416748/…
– Zach Pedigo
Mar 22 at 16:40
Please don't post answers on obviously off topic/bad questions! See: Should one advise on off topic questions?
– double-beep
Mar 22 at 19:56
add a comment |
Can you tell me the "name" of the search that I have to do in order to find results about interaction with programs or something like that? it would be great because I have no clue what to search for.
– Anoushka Iola
Mar 22 at 16:16
@AnoushkaIola,you didn't search for batch file click button? That is what I did and found the topic that I posted above.
– Squashman
Mar 22 at 16:38
@AnoushkaIola you could start here -> stackoverflow.com/questions/2416748/…
– Zach Pedigo
Mar 22 at 16:40
Please don't post answers on obviously off topic/bad questions! See: Should one advise on off topic questions?
– double-beep
Mar 22 at 19:56
Can you tell me the "name" of the search that I have to do in order to find results about interaction with programs or something like that? it would be great because I have no clue what to search for.
– Anoushka Iola
Mar 22 at 16:16
Can you tell me the "name" of the search that I have to do in order to find results about interaction with programs or something like that? it would be great because I have no clue what to search for.
– Anoushka Iola
Mar 22 at 16:16
@AnoushkaIola,you didn't search for batch file click button? That is what I did and found the topic that I posted above.
– Squashman
Mar 22 at 16:38
@AnoushkaIola,you didn't search for batch file click button? That is what I did and found the topic that I posted above.
– Squashman
Mar 22 at 16:38
@AnoushkaIola you could start here -> stackoverflow.com/questions/2416748/…
– Zach Pedigo
Mar 22 at 16:40
@AnoushkaIola you could start here -> stackoverflow.com/questions/2416748/…
– Zach Pedigo
Mar 22 at 16:40
Please don't post answers on obviously off topic/bad questions! See: Should one advise on off topic questions?
– double-beep
Mar 22 at 19:56
Please don't post answers on obviously off topic/bad questions! See: Should one advise on off topic questions?
– double-beep
Mar 22 at 19:56
add a comment |
2
There is no facility in pure batch files, i.e. command line interface, to interact with the GUI, you will need to leverage another language which provides this facility, Windows Script Host is one such option.
– Compo
Mar 22 at 15:04