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;








0
















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.










share|improve this question













marked as duplicate by Squashman, Compo, aschipfl batch-file
Users with the  batch-file badge can single-handedly close batch-file questions as duplicates and reopen them as needed.

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

















0
















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.










share|improve this question













marked as duplicate by Squashman, Compo, aschipfl batch-file
Users with the  batch-file badge can single-handedly close batch-file questions as duplicates and reopen them as needed.

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













0












0








0









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.










share|improve this question















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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 22 at 14:59









Anoushka IolaAnoushka Iola

94




94




marked as duplicate by Squashman, Compo, aschipfl batch-file
Users with the  batch-file badge can single-handedly close batch-file questions as duplicates and reopen them as needed.

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 batch-file
Users with the  batch-file badge can single-handedly close batch-file questions as duplicates and reopen them as needed.

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












  • 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












1 Answer
1






active

oldest

votes


















0














@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.






share|improve this answer























  • 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

















1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














@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.






share|improve this answer























  • 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















0














@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.






share|improve this answer























  • 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













0












0








0







@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.






share|improve this answer













@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.







share|improve this answer












share|improve this answer



share|improve this answer










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

















  • 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





Popular posts from this blog

1973년 목차 사건 문화 탄생 사망 노벨상 달력 둘러보기 메뉴

SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

인천여자상업고등학교 목차 학교 연혁 설치 학과 학교 동문 참고 자료 각주 외부 링크 둘러보기 메뉴북위 37° 28′ 05″ 동경 126° 37′ 41″ / 북위 37.4680025° 동경 126.6279602°  / 37.4680025; 126.6279602인천여자상업고등학교“인천광역시립학교 설치조례 별표1”인천여자상업고등학교 홈페이지eheh문서를 완성해