Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It doesn't work #4

Open
tyrion9 opened this issue Jun 8, 2018 · 6 comments
Open

It doesn't work #4

tyrion9 opened this issue Jun 8, 2018 · 6 comments

Comments

@tyrion9
Copy link

tyrion9 commented Jun 8, 2018

I run Windows 10 build April 2018,

I do exactly the same the instruction, but it doesn't work.

@ceritandogan
Copy link

@tyrion9 Which themes did you talk about and what is your putty version?
I have tried most of them. It works quite fine.
I use PuTTY Release 0.70.

@UNiXMIT
Copy link

UNiXMIT commented Jun 26, 2018

I had issues with the instructions with regard to the .js file. My machine didn't know what to run this script with so instead I ran it in command prompt like this:

Cscript.exe "C:\Users\Admin\Downloads\putty-color-themes-master\_puttycolor.js" "C:\Users\Admin\Downloads\putty-color-t
hemes-master\44. Thayer.reg"

There might be an easier way than what I did but it worked for me.

@AlexAkulov
Copy link
Owner

Yes, _puttycolor.js is written on the JScript language embedded in Windows, it's not the JavaScript.
By default js-files are associated with JScript in Windows but if you have ever installed any good text-editor you probably have js-files associated with JavaScript so _puttycolor.js does not work.
I will add to instruction an alternative way of run.

@abelardolg
Copy link

abelardolg commented Nov 16, 2018

Hi there,
I followed the instructions but it didn't work. I didn't drag'n drop the .reg file into the .js file (since Windows doesn't let do it) but I executed cscript.exe command as you may see below:
image
(It says: Runtime Exception error. File not found)

[SOLVED]

I commented this line:
//var FilePath = args.item(0);
and it was replaced by this one:
var FilePath = 'C:\\Users\\...\\Downloads\\putty-color-themes-master\\putty-color-themes-master\\13. Grass.reg';

IT WORKS!

THANKS FOR YOUR EFFORT AND TIME! ;)

@ysichrisdag
Copy link

ysichrisdag commented Nov 10, 2020

To make it easier on yourself just open up a command prompt and navigate to the folder containing the .js and .reg file, then run the command with local paths:
cscript _puttycolor.js "36. Seafoam Pastel.reg"

@RoninUTA
Copy link

RoninUTA commented Apr 4, 2023

To make it easier on yourself just open up a command prompt and navigate to the folder containing the .js and .reg file, then run the command with local paths: cscript _puttycolor.js "36. Seafoam Pastel.reg"

This method is the easiest. Still works as of 2023.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants