check for and close firefox popup with batch file? -


i have simple batch script opens firefox profile

@echo off  start firefox.exe -p default -no-remote 

sometimes profile opened , popup. enter image description here

is there anyway check if popup appeared , click close firefox button? or maybe theres piece of code can close firefox profile , play in begining of batch file know sure closed , dont popup. help.

try sendkeys.bat:

call sendkeys.bat "close firefox" "{left}{enter}" 

Comments