After more 2 000 000 (two million) views on forum for 1.5.0.x development versions... and 1.6.1.0, 1.6.3.0-dev versions
A new stable version, UltraVNC 1.6.4.0 and UltraVNC SC 1.6.4.0 have been released: https://forum.uvnc.com/viewtopic.php?t=38095
Feedback is always welcome

2025-12-14: 1.7.1.X-dev release builds need tests and feedback: https://forum.uvnc.com/viewtopic.php?t=38134

2025-12-02: We need help: English Wikipedia UltraVNC page has been requested to deletion: https://forum.uvnc.com/viewtopic.php?t=38127
Any help is welcome to improve the UltraVNC page and/or to comment on the Wikipedia Talk page

2025-05-06: Forum password change request: https://forum.uvnc.com/viewtopic.php?t=38078

2023-09-21: Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Development: UltraVNC development is always here... Any help is welcome
Feedback is welcome

JS Association. Web Developer role, Windows.

Simple, Free, Open Source UltraVNC Wrapper Supporting Windows and Mac OSX
Post Reply
User avatar
kellygallen
Posts: 2
Joined: 2013-04-06 17:36
Location: Las Vegas, NV, USA
Contact:

JS Association. Web Developer role, Windows.

Post by kellygallen »

My computer is used for web development so JS files are set to open inside of an editor. When I run the complied InstantSupport file, 'unblock.js' opens in the editor vs executing. Perhaps this file is unnecessary, or there is a better way to invoke it. Otherwise great solution.
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN

Re: JS Association. Web Developer role, Windows.

Post by supercoe »

Sorry about that, it's a known bug.
Here is a solution: https://forum.ultravnc.net/viewtopic.php?f=50&t=29209
ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
User avatar
kellygallen
Posts: 2
Joined: 2013-04-06 17:36
Location: Las Vegas, NV, USA
Contact:

JS Association. Web Developer role, Windows. (New Solution)

Post by kellygallen »

Thanks to https://forum.ultravnc.net/viewtopic.php?f=50&t=29209 which had this problem before me. I solved it with two different edits that I tried on that thread.

Change Line 118 in the InstantSupport.au3
Did not work, because parameter needed to be in quotes to work with paths that have a space in them.

Code: Select all

ShellExecuteWait($WorkingPath & "\unblock.js", "", @ScriptDir, "")
Did not work because WScript didn't understand what engine to use.

Code: Select all

ShellExecuteWait("wscript.exe", $WorkingPath & "\unblock.js", @ScriptDir, "")
WScript: There is no script engine for file extension ".js"
Apparently my favorite Web Dev apps really messed up my JS file associations when I let them become associated. And there is a fix to reset the JS association.
http://www.winhelponline.com/articles/2 ... files.html
But this was not good enough.

It is simpler to edit the Line 118 in the InstantSupport.au3 to be:

Code: Select all

ShellExecuteWait("wscript.exe", '//E:jscript "' & $WorkingPath & '\unblock.js"', @ScriptDir, "")
What //E:jscript does is force it to use the js engine even if the registry pointing to that engine is messed up. It now works good.

Other Sources of information:
http://stackoverflow.com/questions/5700 ... e-argument
Post Reply