Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Using JSCRIPT to create a command to run

Featured Replies

Hi all,

 

I am trying to run a command that is build on reading the registry thru JSCRIPT

 

I tryed the following with no result

 

cmds[pn]=['{JSCRIPT}=RunCmd(RegKeyValue("HKLM\\SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Adobe Flash Player ActiveX\\UninstallString") %comma% false %comma% true);'];

or even

 

cmds[pn]=['{JSCRIPT}=RunCmd(RegKeyValue("HKLM\\SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Adobe Flash Player ActiveX\\UninstallString").replace(/\\/gi %comma% "\\\\") %comma% false %comma% true);'];

 

none do work.

 

I know that 

 

cmds[pn]=['{JSCRIPT}=alert ("myvalue = " + RegKeyValue("HKLM\\SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Adobe Flash Player ActiveX\\UninstallString"));'];

 

it shows a message box with the correct value

C:\WINDOWS\SysWOW64\Macromed\Flash\FlashUtil32_13_0_0_206_ActiveX.exe -maintain activex

 

 

Please advise on how to get it working.

 

Regards.

 

Gilles

 

You may want to post this over in the Programming C++, Delphi, VB/VBS, CMD/batch, etc. that is run by Yzöwl.

If you find a fix post it so it can help out someone else..DP

  • Author

Hello all,
 
For those who might be interested in the solution:
 

cmds[pn]=['{JSCRIPT}=RunCmd(\'"\' + RegKeyValue("HKLM\\SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Adobe Flash Player ActiveX\\UninstallString")+\'"\'%comma%0%comma%1);']

This run the uninstall command stored in the registry.

 

Cheers,

 

Gilles

  • 1 month later...

Hi help me with my script firefox 32 or this wrong?

 
prog[pn]=['Firefox Setup 32.0b3'];
uid[pn]=['FIREFOXSETUP320b3'];
dflt[pn]=['yes'];
forc[pn]=['no'];
cat[pn]=['Navegadores'];
pfro[pn]=['no'];
cmds[pn]=['"%wpipath%\\Install\\FIREFOX SETUP 32.0b3\\Firefox_Setup_32.0b3.exe" -ms'];
desc[pn]=['Un ya muy conocido navegador web con la opcion de instalar infinidad de complementos. <STRONG>(Recomendado)</STRONG>'];
picf[pn]=['"%wpipath%\\Graphics\\Iconos\\Firefox.png"'];
picw[pn]=['48'];
pich[pn]=['48'];
textl[pn]=['Right'];
pn++;
 
 
Error:

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.