Jump to content

Acemoney & others


Annita

Recommended Posts


  • 4 months later...

Hi,

I Just Wrote an Install Script for EditPlus 2.12.

This works for my Desk, hope it will work for yours.

Save this as install.js or like what you want. Only the .js is needed.

var WshShell = WScript.CreateObject ("WScript.Shell");
var WshShell2 = WScript.CreateObject ("WScript.Shell");
WshShell.RUN ("\"%systemdrive%\\Install\\Applications\\editplus\\setup_ep.exe\"");
WScript.Sleep(2000);
WshShell.SendKeys ("{TAB}");
WScript.Sleep(200);
WshShell.SendKeys ("{ENTER}");
WScript.Sleep(200);
WshShell.SendKeys ("{ENTER}");
WScript.Sleep(500);
WshShell.SendKeys ("{ENTER}");
WScript.Sleep(500);
WshShell.SendKeys ("{ENTER}");
WScript.Sleep(500);
WshShell.SendKeys ("{ENTER}");
WScript.Sleep(500);
WshShell.SendKeys ("{ENTER}");
WScript.Sleep(500);
WshShell.SendKeys ("%{F4}");//simulate the ALT+F4 Key for Closing Applications
WScript.Sleep(500);
WshShell2.RUN ("\"%systemdrive%\\Programme\\EditPlus 2\\editplus.exe\"");
WScript.Sleep(500);
WshShell2.SendKeys ("{TAB}");
WScript.Sleep(200);
WshShell2.SendKeys ("Name");//keep the quotes even if your name has no spacing
WScript.Sleep(200);
WshShell2.SendKeys ("{TAB}");
WScript.Sleep(200);
WshShell2.SendKeys ("xxxxx-xxxxx-xxxxx-xxxxx-xxxxx");//your Serial number with "-" between the keys!
WScript.Sleep(200);
WshShell2.SendKeys ("{ENTER}");
WScript.Sleep(200);
WshShell2.SendKeys ("{ENTER}");
WScript.Sleep(200);
WshShell2.SendKeys ("%{F4}");

PS: You need only run the install.js with xplode or RunOnceEx or what you have.

Greetings

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...