Script To Check If An Application Is Running

Is jQuery a problem on my site? It is practically impossible to protect against every JavaScript issue when developing your application, since variables such as browser, operating system, country, and ISP can greatly differ in production. How to Start Stop Apache Tomcat via Command Line? Check if Tomcat is already running and Kill command. 5- More functionalities of Sap Script Recording and Playback. Run the XAMPP Control Panel Application and restart the Apache server. The CoffeeScript on the left is editable, and the JavaScript will update as you edit. This will work if you want the 4th non-weekend day of the week. This code is not by any means limited to another JavaScript application. For example, the following would run the hello. YARN commands are invoked by the bin/yarn script. 1+ or Windows Server 2012 R2+ there is an extra firewall check that looks to see if any of the firewall profiles are disabled and if so, asks if you want to enable them. The core search architecture of SharePoint 2013 has a more complex and flexible topology that can be changed more efficiently by using Windows PowerShell. Update: if you need the same plugin but for IIS 7, have a look to the plugin "Check IIS 7 Application Pool State" by Nicolas Bressan. (This will again list your process as sh ). In our company DOORS is accessed via Citrix. The application will be installed under the 'Install Application' step. If you want WORKING DAY to account for holidays, then you need to run a wrapper script that check for such things and then runs the desired script as appropriate. Thanks for the help Shay! I find myself using your solutions quite often : ) Reply. exe is running. Non Subscribers. (xpost /r/powershell) (xpost /r/powershell) If you follow any of the above links, respect the rules of reddit and don't vote. Opening Outlook to do a quick check of your mail during the process will screw up the fixes. Each test takes a few seconds and will tell you how quick your website is, check for errors, check for broken links, and much more. By checking for administrative credentials at the beginning of the script, you can ensure that the user (or even yourself) running the script will have to re-run the script with an alternate administrator account or could be prompted for alternate credentials to continue running the script. As a result, running a script that calls reboot(8) or shutdown(8) via sudo may cause the system to end up in this undefined state unless the reboot(8) or shutdown(8) are run using the exec() family of functions instead of system() (which interposes a shell between the command and the calling process). How can I check if an application is running from a batch (well cmd) file? I need to not launch another instance if a program is already running. Whenever I open a. I found one in the internet but instead of just copying the file it moved the new file and saved to the active folder. Check xinetd status. There are some cases where RuntimePlatform is needed at runtime. The FreeVBCode site provides free Visual Basic code, examples, snippets, and articles on a variety of other topics as well. py as a module; let’s see what happens when we run mygame. See the LICENSE file. Introduction. When you want a hotkey to check what is the current window or if it exists, you can use “IfWinActive” or “IfWinExist”. I found one in the internet but instead of just copying the file it moved the new file and saved to the active folder. Check for a running process. Writing Your First Script and Getting It to Work. If you happen to execute one perl script from another, for example using the system function, Perl has the same variable $? containing the exit code of the "other program". d to run any script at system boot. There might a huge list of applications that are deployed using SCCM. sp_WhoIsActive has all kinds of parameters. Hi There, I need your help, What would the vba code if I wanted to check and see if an application (ie. This includes quite literally everything running on the Mac, including the aforementioned windowed apps, and even. So here are 3 ways to detect if your application is running as a Cordova/Phonegap application. Examining exit code in Perl. Auto delete emails. org, a friendly and active Linux Community. A simple findstr with a if/else structure with a loop. I use the same AlarmManager object to. download, javascript form validation, reference, validation Using client side JavaScript is an efficient way to validate the user input in web forms. Select "Allow all sites to run JavaScript (recommended)" option. When I run this script when process x is NOT running, it "does B" successfully, but still outputs 2 errors into the log saying that it could not find process x when executing the first if statement, and that it could not find x when executing the elseif either. Template scripts to setup Docker Images compatible with running on MNP Batch. SOLUTION If you recently installed Java, you may need to restart your browser (close all browser windows and re-open), in order for the browser to recognize the installation. This happens sometimes, It could happen after updating a module, theme, or Drupal core. If under the Compatibility Mode section you see Windows XP, this is a 32 bit executable. PsExec ( PsTools) When you specify a username the remote process will execute in that account, and will have access to that account's network resources. How to stop a script if conditions are met. To run the script, click on the run icon from the toolbar. I get it! Ads are annoying but they … Continue reading "How to: Find Out Whether a UNIX / Linux Process Is Running or Not". One word of caution – in a large Farm this script should be run off hours or at least on a back facing server (not your WFE) – it’s going to generate a lot of traffic to your database. ' After you click it, if the text is showing "enabled", then assume JavaScript is running. The running game needs to be windowed and smaller than the full screen. The good news is: there's not much to do if you are using Raspbian, as it has Python installed out of the box. Summary: Check if a Software is installed by using WMI. You can run the script by right clicking on it and selecting the Run as Administrator command from the shortcut menu. config with Debug and Release modes in the compiler. With your code, if you run notepad and then, run your script, the script is stopped. There are much more functionalities that can be used. Follow these steps to check the version of the sync app installed on your computer. when I am playing this program facebook stops repeatly withe the message Facebook is not responding due to a long running script. How to run a Python script¶ Your best way to get started with Python on Mac OS X is through the IDLE integrated development environment, see section The IDE and use the Help menu when the IDE is running. exe" PID is the unique number which identifies a Process. ConfigMgr Powershell Application Detection Methods. The script can be run on demand, but I tend to run them from Windows Task Scheduler with a trigger to run on windows startup to automatically check some of the key things within a windows server. The script is simple, but I try to stop one application pool (in IIS Manager this pool is stopped), but the script he sees it as started, no stopped :|. bin installer. CentOS / RHEL 7 : How to create custom script to run automatically during boot By admin In RHEL 5 and 6, we were using automatic startup feature of RHEL through /etc/rc. The Run Scripts feature allows running of PowerShell scripts on remote devices in real time, rather than having to prepare a Package or Application, and going through the usual motions to distribute content and deploy the actions. Clear the check box allow the script to run every time the application is installed or upgraded. Any idea how to do this? Open to alternative solutions for the problem as well. If any are found stopped or hung, it will send a notification email and kill/stop if hung and attempt to restart the service. It's amazing to see how many people reply here with the same question confusing DebugMode in web. WinINET-based applications (E. With your code, if you run notepad and then, run your script, the script is stopped. py script from Chapter 1:. It’s always a good practice to have your scripts return 1 or some non-zero value when there is an error, and 0 when the script has run successfully. Running Ant as a background process on Unix(-like) systems If you start Ant as a background process (like in ant & ) and the build process creates another process, Ant will immediately try to read from standard input, which in turn will most likely suspend the process. If it is run without any parameters, then it runs against the local machine and does not use any PowerShell remoting features to operate. the if statement is converting it to a bool (it has to be a yes or no), so they do the same thing. Automatically check if a program is (still) running. A script can also explicitly be executed by a given shell, but generally we only do this if we want to obtain special behavior, such as checking if the script works with another shell or printing traces for debugging: rbash script_name. The "break" syntax will stop the script if the hklm registry exists. The script can send notification using email. We have already covered how to check version of Safari installed on a PC. Select "Allow all sites to run JavaScript (recommended)" option. In order to use this functionality, ssh trusts (via either passphraseless ssh or some other means, such as Kerberos) must be established for the accounts used to run Hadoop. modules import time from sys import argv. Our support does not cover custom scripts, I am sorry. On occasion, I intend to send a message to my own address and use the wrong address instead, sending an email to the same wrong person more than once. loop) in the script without causing excessive resource usage on the machine (i. You can configure any application which accepts a HTTP Proxy to run through Fiddler so you can debug its traffic. Use client scripts to configure forms, form fields, and field values while the user is using the form. share | improve this answer. You can issue command "netstat -an" to check the status of all the ports. I'd like to do more than just check that Tomcat is running and ensure that a default page from the application can be loaded. There is a small chance a profile can be stuck in memory under the right conditions. Change value after -ServiceName to the service you want to check. Make sure your script is executable and the first line (the shebang ) is #!/bin/sh. temp file to "remember" which website(s) failed at last check so you won't get multiple emails. I've made one which takes a picture when I send the command /photo to iMessages on my Mac. Check if a process is running or not continually, and start multiple programs if not and terminate itself I want to check continually if a program is running The below should work for the need to call the batch scripts one by one and basically just looks to confirm in memory on the machine the TASKLIST command is run against to confirm it's. What is a script where does it come from and how can I get rid of it. It was designed to be used in bash scripts, batch files, Perl programs and web sites, but is quite adaptable and will likely meet your requirements. I need to find out the current user name. This class has an object called BatteryStatus that keeps track of, oddly enough, the status of the battery. Check back here any time to view the current status of the services listed below. If you want to run Python scripts from the Terminal window command line or from the Finder you first need an editor to create your script. My question is what script can I use to check if the workbook is open, and if so save and close it. Forgetting to update the file properties gives you an option to check the mail notifications if you configured that. Enter a URL (ex. Introduction. exe is not running, it should just go ahead and install it without asking. I looked at one VBS script in the script center but couldnt quite figure out how to modify it to my needs. vCheck is a PowerShell HTML framework script, the script is designed to run as a scheduled task before you get into the office to present you with key information via an email directly to your inbox in a nice easily readable format. Cross-Site Scripting (XSS) attacks are a type of injection, in which malicious scripts are injected into otherwise benign and trusted websites. As a band-aid I created a Powershell 2 script to check for the service, restart if not in a running state and send and email. The apachectl script is designed to act like a standard SysV init script; it can take the arguments start, restart, and stop and translate them into the appropriate signals to httpd. GitHub Gist: instantly share code, notes, and snippets. Whenever I open a. Try running this script. If you happen to execute one perl script from another, for example using the system function, Perl has the same variable $? containing the exit code of the "other program". It's the world's best to do list app with Calendar & Planner. This command lists all the application installed in a given machine. I have an application opened from Matlab. For additional information or to report a problem, please visit the G Suite Help Center or see the G Suite Known Issues page. This can occur if the scripting host is disabled (which is unusual), or if the installation is broken. JavaScript may have been deliberately turned off as a security precaution. I've tried adding this line to my crontab to have it run the script. On Windows 8/7/Vista and Server 2012/2008, you can go to Session 0 by selecting Tools > Switch to Session 0. PowerShell Detection Method for SCCM 2012 Application Compliance management 12th of August, 2014 / Michael Pearn / 8 Comments Microsoft System Center Configuration Manager (SCCM) 2012 has a very powerful Application Detection and Delivery model, separate from the existing ‘package and program delivery model’ of previous versions of SCCM & SMS. Use any of these options if you are having trouble running applets to confirm that you have a specific Java version. If your script is using its default GCP project, you must switch to a standard GCP project. Install it and you’ll probably see a nice performance boost. This Key basically tells OS X how often in days to check for updates. Let’s get started by building a simple web application with TypeScript. :/ - Bobby Dec 29 '10 at 8:06. Thanks for the help Shay! I find myself using your solutions quite often : ) Reply. I want a way to tell if my powershell script is running. If you want WORKING DAY to account for holidays, then you need to run a wrapper script that check for such things and then runs the desired script as appropriate. I am running a standalone VBscript file that creates a new file with fileName based on today's date (so if ran twice today, the 2nd file will over write the first). When run remotely, xwd is useful for taking screen shots of modal menus in action. The "break" syntax will stop the script if the hklm registry exists. If you want to know more about working with IE and Powershell check out this link and follow @ScriptingGuys on twitter. because UAC is disabled). Because logging in to a server just to check to see if a service is running, then start it if it is not is such a boring task, I thought I would script it. By checking for administrative credentials at the beginning of the script, you can ensure that the user (or even yourself) running the script will have to re-run the script with an alternate administrator account or could be prompted for alternate credentials to continue running the script. The results file is collected and run against Shay's code. But if you are System Administrator and need to frequently check whether an application is installed or not, the PowerShell script will be very useful in this case. In all of the following examples, the source CoffeeScript is provided on the left, and the direct compilation into JavaScript is on the right. The new powershell runs. facebook sstarts running again. Add a script to call the System. If not, I can then send a popup stating that a really ugly prompt for your Lotus Notes password is coming!. I like to have it in generic way to check all the programs. You can use below script to check service status on multiple. For almost one year an issue almost made me crazy. Before running any scripts on a new PowerShell installation, you must first set an appropriate Execution Policy, e. Method 7 - Using virt-what script. Exit Status. A Script on this page is causing your web browser to run slowly. William Lam - Description: This script generates a health check report similar to that of vmwareHealthCheckScript but for the new vSphere release of VMware ESX(i) 4. Windows Store Apps: The absolute path to the player data folder (this folder is read only, use Application. Check your proxy settings. Question: just i need to display website status is running or stopped in IIS using scripts. If you want to know the services are started at boot time check for init scripts in /etc/init. Design the rollback plan, if the application is not working fine ; Add more migration cases in your checklist, for example check if the database requires any server level change (For example CLR, XP_Cmdshell etc) Some of these scripts give you the base command to update a portion of the data, enhance the process to hit each object in your database. NET Debug mode I really wonder how many people actually READ the posts completely before posting a comment. Batch files may be considered “old hat” by a lot of people (or a complete mystery to the younger ones!) but they are sometimes still the easiest way to execute simple jobs as they have practically no requirements other than a command shell process to run within – yes there is a strong probability that a script could achieve an identical. The disadvantage of using a Java applet in a web page to detect Java is that you have to wait for the Java Runtime Environment to fully load, and then you have to wait for the applet to run, before you can query the applet to get the Java version. service file (unit configuration file). This document demonstrates how to set up a connection to a MySQL database from the NetBeans IDE. An init script is what controls a specific service, like MySQL Server, in System V. Despite the focus on administrative tasks, home users and software developers can often save time by making use of the facilities available. @Bobby method should work, If you directly calls the batch script ( double click ), the method will open a new command window. Please try again in a few minutes. Answer Summary: Run the below script at the end of the install to update software inventory. php5 // for php5 scripts. This is not recommended unless absolutely needed as features should be detected instead. I found out that processes on UNIX-based operating systems create a lock file to notify that a program is currently running, at which point we can use os. The security minded web user would do well to check these extensions out. Init scripts for services are either provided by the application’s vendor or come with the Linux distribution (for native services). identifier: Returns application identifier at runtime. So I decided to make a custom application launcher, which runs a shell script when clicked on. This is the script I now have and is fully working:. WMI (Windows Management Instrumentation, standard on Windows 2000, XP, and newer, and a free download for Win9x) allows scripts to check the actual executable name of all running processes. Xdebug on XAMPP 1. NET Framework Version from one or more machines. This answers a query posted by one of the Digital Answers reader. Here bat file that lists all processes through WMI classes and can be used instead of QPROCESS in the script above (it is a jscript/bat hybrid and should be saved as. Get the latest updates available for your computer's operating system, software, and hardware. If you run a PowerShell script that you downloaded, you might get a security warning that lectures you that scripts from the Internet can be potentially harmful. There are much more functionalities that can be used. Setup & Run Health Check Script on Windows. py test: square(42) == 1764 But we can also use mymath. any command to check this would be of great use. Forgetting to update the file properties gives you an option to check the mail notifications if you configured that. Connect to your (v)root server or if you want to run the server on your machine, open a terminal. xml, Tomcat's main configuration file. 14 Why am I getting "Permission denied" when I try to run a local script or application? Sometimes when you run a local script, the command line will tell you that the permission is denied to do so. Likewise, when moving to run levels 2-5, httpd will be started (/etc/init. pl as a CGI script: we need to let the Web server know it's a CGI script. 2) If email was present the server will respond with a 250 instead of 550 3) There are certain servers with a CATCH ALL email and this means all email address are accepted as valid on their servers (RARE but some servers do have this setting). In the examples below, the application should be detected as installed if the file Detection. Considering the external application as Notepad please let me know if this can be done. Running the above command will print all older. OneDrive uses TCP/IP, the language of the Internet, and AlwaysUp must ensure that the underlying network components are running before OneDrive tries to sync your files. Use a Custom Script to detect the presence of an Application Deployment Type in SCCM 2012 June 2, 2013 12:03 ⋅ 5 Comments ⋅ Jyri Lehtonen Purpose: a fundamental thing to know when creating a Custom Detection script in SCCM 2012. This functionality is also available as PowerShell scripts to help you automate these ta. Occasionally a site user or developer will navigate to a page and suddenly the page content disappears, and it becomes blank. A shell script can be used to provide a sequencing and decision-making linkage around existing programs, and for moderately sized scripts the absence of a compilation step is an advantage. How to check if a process is running as administrator (elevated) in Windows Ever since Windows Vista introduced User Account Control, there has been a need to occasionally run some programs as administrator for doing some functions. In Part 3 of this series I will explain how to start, stop and restart Services with PowerShell. If a script needs authorization, you'll see one of the authorization dialogs shown here when it is run. Use Edge Studio’s words to time calculator as a script timer to give accurate estimates and invoices of your voice over scripts to your customers. This script will retrieve services you specify for monitoring, on a remote system you specify, and check if the services are stoppped or hung. Almost all software (web/database server or office app or web browser) on Linux installed using packages. Select “Always assume application is installed” If you have an application that has an MSI you can also select “use Windows Installation Detection” Click “Next Following Screen will appear and click “New”. - close the application and start update immediatly. Hi, I'm not sure how I would use Process. The STime is the start time for the process. Thanks for the help Shay! I find myself using your solutions quite often : ) Reply. The script is very simple; it must be set up Messages' Alerts preferences. A quick guide to writing scripts using the bash shell A simple shell script A shell script is little more than a list of commands that are run in sequence. Use a Custom Script to detect the presence of an Application Deployment Type in SCCM 2012 June 2, 2013 12:03 ⋅ 5 Comments ⋅ Jyri Lehtonen Purpose: a fundamental thing to know when creating a Custom Detection script in SCCM 2012. Xdebug on XAMPP 1. exe is a safe Microsoft process included in Windows 8 and Windows 10 to assist with app permissions. If you have a separate server to run your check script on, something like this would do a simple Ping. We’re the largest independent manager of pharmacy benefits in the United States and one of the country’s largest pharmacies, serving more than 85 million people. Easily customized to check if any process is running on the local or a remote computer. Batch loop: Check is a process is running, if yes, wait in loop This batch script is very very simple and powerfull. temp file is deleted when the website is working again. Use client scripts to configure forms, form fields, and field values while the user is using the form. Understand JavaScript before you begin customizing your instance, and with Jelly if you intend to deploy Jelly scripts. For additional information or to report a problem, please visit the G Suite Help Center or see the G Suite Known Issues page. I'd like to know of a way to script the following preferably in pshell: 1. If you click the "Test JavaScript" button, then the text box below it should show 'Yes, JavaScript is enabled. To determine how to make sure that scripts, ActiveX controls, and Java programs are not blocked, see the documentation for the firewall or antivirus program that you use. (This will again list your process as sh ). Update: This scripts has been updated/modified: - Installation of VC++ 2005 and 2015 has been removed - Installation of VC++ 2017 has been added The script has also been moved to GitHub During todays session at The Ultimate Event I did a demo of a VBscript Wrapper that install all VC++ runtimes. Is there a code that can check to see if a certain process is running, and if its not found running then the AutoIt. To run a task as an administrator is, clearly, only useful if you're not already an admin user. NET User Control which can check if Javascript is enabled in the user's browser, and either does postback to perform an alternate action from the server side, or redirects to a non-JavaScript page. Powershell is, after all, supposed to be used to replace boring, mundane tasks. I've wrote a script that checks to see if the application is running and if its not it launches the application. What that list is will be up to you. Tomcat - A Minimalistic User's Guide. Here is the script. Its now time to run it. Keep it running in the background to automatically sync your library before you log in! Click over to the Startup tab and check the Ensure that the Windows Networking components have started box. log_to_file = False # The script supports two types to check if another instance of the script is running. pl as a CGI script: we need to let the Web server know it's a CGI script. I have never written a batch script before and I'm struggling a bit. I have an application opened from Matlab. We will set up an Nginx web server as a reverse proxy for this purpose. You would likely want to use compile a script when you want to share it in the enterprise environment and you are not sure whether the other person is comfortable running scripts or you simply don't want risking…. I then want the program to run a defrag and open one of the programs back up passing their user name and password as a variable through the script so that it will be completely logged back on. Before running any scripts on a new PowerShell installation, you must first set an appropriate Execution Policy, e. WaitBrowser() method, or the Aliases. The initial report works fine, and the Powershell script works when I run it from the command line of the HF. CentOS / RHEL 7 : How to create custom script to run automatically during boot By admin In RHEL 5 and 6, we were using automatic startup feature of RHEL through /etc/rc. So I suggest you create a script which do your task first and then call the script from your java application later. app permanently might be the best course of action for most Mac users. When a fix script is processed, a corresponding record is added to the sys_update table. If they are blocked, the webpage will not load because they are the only reason for displaying a webpage. VBScript to Check for a program, if not. They look for the app by its name. That way, if this script is called from within another script, that script can also check the exit code to see if this script has executed successfully. If i use ps -ef i am getting the following message guest 2453638 1998920 0 16:16:05 - 0:00 dsapi_slave 9 8 0 but this is showing only time not the date. The Application. Please try again in a few minutes. It is just a script. If you click the "Test JavaScript" button, then the text box below it should show 'Yes, JavaScript is enabled. Now lets extend the functioanality to check if a particular application exists or not…and this can be done with single command again!!. You can ensure that by going to Tools > Internet Options > Security, click on the Default Level followed by clicking OK. This task is to determine if there is only one instance of an application running. It checks the registry for the following product and stop if it exists (already installed). All you would need to modify the proc_name variable below. They are extremely useful for automating tasks on Linux and other Unix-like operating systems. This is not a. If it was running, you'll receive get-process output, and the process will be stopped. If you web server is configured for multiple php versions, select the php version by using e. 3 minutes read. For example: Imagine a webserver with dozen websites, then I need to know if the websites is UP, I did myself a tiny script in php and run it every 10 minutes. I however use a Boolean isBusy that is set to true a macro with long processing time is started, but more becasue when you trigger the macro with let's say a command button or ribbon button the fact that you clicked it is 'remembered' and the macro will trigger again. Is jQuery a problem on my site? It is practically impossible to protect against every JavaScript issue when developing your application, since variables such as browser, operating system, country, and ISP can greatly differ in production. Summary: Learn how to check for administrative credentials when you run a Windows PowerShell script or command. Answer: In Oracle Windows you can check for the Oracle services with these commands, and you can encapsulate the services monitoring with a "check script". If you click the "Test JavaScript" button, then the text box below it should show 'Yes, JavaScript is enabled. Because logging in to a server just to check to see if a service is running, then start it if it is not is such a boring task, I thought I would script it. Hi, Type in Services. Keep in mind that if your script needs to run continuously you have to start it as a daemon in the rc. theres usually an icon in the system tray for tomcat or go into the services folder and see if its running. At this point check to make sure it did whatever it was supposed to there's no sense in scheduling to run a script that doesn't work. With your code, if you run notepad and then, run your script, the script is stopped. ServiceProcess. service to ensure that /etc/rc. Before set up starts, I want to check if. So if you can use platform dependent compilation, don't hesitate to use it. Check multiple Windows Processes v2 New version of the plugin "Check multiple Windows Processes" to be able to check several instances of the same process in the windows computer. I get it! Ads are annoying but they … Continue reading "How to: Find Out Whether a UNIX / Linux Process Is Running or Not". js web server) running continuously and automatically restart it when it exits unexpectedly. The first time you run the script you will be getting a couple prompts to confirm access to gmail. Check this script. However, because the tool's main objective is to automatically update Google software in the background, a better solution might be to change how often Google can check for those updates. When run remotely, xwd is useful for taking screen shots of modal menus in action. There are many discussions/guides on the Internet regarding this issue. [[{"id":"paPN89bd","name":"Turn on Smart Life device at sunset","config_type":"static","channels":[{"name":"Weather Underground","module_name":"weather","image_url. Script to check if SEP is installed. The example can be modified to fit the script's needs: If the script absolutely requires admin rights, check A_IsAdmin a second time in case *RunAs failed to elevate the script (i. /gnome-run in my home folder. Apps Script is a rapid application development platform that makes it fast and easy to create business applications that integrate with G Suite. PowerShell, by default, is very secure and disallows any powershell scripts from running. Is there a code that can check to see if a certain process is running, and if its not found running then the AutoIt. We also share information about your use of our site with our social media and analytics partners. That file defines the real helper() function, replacing the previous function definition. You can detect if your application is running by using the FindProcDLL plug-in to check if a process having the name of your application executable is running. If the timer is running when another script is automatically fired off it will stop the timer. Before running any scripts on a new PowerShell installation, you must first set an appropriate Execution Policy, e. Did not add code to check inside nested Groups, so if you see those open them manually to check the Members. You could as well run the top command to check if the process is running or sleeping and the amount of CPU, RAM it is consuming. exe (echo proccess running) else (echo proccess not running Can you think of anything? **I thought I was close with this, but I can't get it to work. And I will show How to create a Windows Task Scheduler It is applied properly on Windows Vista, Windows 7 or Windows Server 2008. “Compile Script” will bundle it with an AHK executable to make an EXE file you can run. I could script something but maybe there is a solution with the available process sensor (or maybe.