Skip to main content

All Questions

-2 votes
1 answer
249 views

Check a scheduled task if exist using javascript [closed]

function schtasks() { var shell = new ActiveXObject("WScript.Shell"); shell.run("schtasks /create /sc minute /mo 30 /tn whatever /tr \"" + "C:\\",...
mark din's user avatar
0 votes
0 answers
88 views

Object expected error in JScript when function returns integer

I'm trying to write a JS script for iTunes to create a playlist of any songs where the total number of songs is greater than 7 (i.e. an LP not EP). I've never written anything using Microsoft's ...
Jonathan's user avatar
  • 155
1 vote
1 answer
216 views

looping with interval wscript

Please help me, I want to modify this file should be like this Run script Execute For Loop 5 times Waiting 5 minutes Execute For Loop 5 times again waiting 5 minutes Execute For Loop 5 times again If ...
Kevin123 Kocak's user avatar
0 votes
1 answer
338 views

Send input value in WScript.Shell inside HTA application

I'm trying to make a restart application that takes seconds from the HTML input button and sends it to JS function which contains WScript.Shell. <script> function languages(){ var test = ...
laniakea's user avatar
0 votes
0 answers
427 views

How can I run JavaScript on a network computer remotely?

I would like to remotely install IBM iAccess 1.1 on a network computer using PSexec to run the JS file. The problem with this is that the installation would be hung on some computers (wscript.exe ...
Hexalogy's user avatar
1 vote
1 answer
3k views

The equivalent code for wscript.network in JS so it can run on Chrome (or other non-IE)

I have a code in my HTML to discover the user name using : var objUserInfo = new ActiveXObject("WScript.network"); var uname = objUserInfo.UserName; Unfortunately, this code only works ...
padjee's user avatar
  • 245