All Questions
Tagged with javascript command-line
12
questions
1
vote
0
answers
78
views
Parsing wmic logicaldisk get Information [duplicate]
I am retrieving disk information via JavaScript with the wmic statement, wmic logicaldisk get freespace,name,size,volumename, which produces the following output, but in a single string.
"FreeSpace ...
0
votes
1
answer
146
views
find available fonts in OSX using default shell or AppleScript
I'm trying to write a script for Adobe After Effects using extendscript (a proprietary ECMAScript dialect, but mostly ≈ javascript). I can use an inbuilt command system.callSystem() to execute a ...
2
votes
2
answers
849
views
How do I delete Stackoverflow Cookies and certificates in Google Chrome?
How do I delete Stackoverflow Cookies and certificates in Google Chrome? I am open to using command prompt, or some script to expire all cookies in commandline.
Want to only delete specific ...
2
votes
0
answers
150
views
How to get compgen -c to output through javascript / node-cmd?
I am using the node-cmd package to execute bash commands and use the output in my program.
This works fine for most commands, except for the compgen-c command which returns an error:
stderr returns: /...
1
vote
1
answer
2k
views
Keeping command prompt from closing after executing JScript
I have a .js file that I am not allowed to modify. I can execute it by opening cmd.exe and entering the following:
cscript my_script.js
When I do that, the script runs to completion, and once it is ...
1
vote
1
answer
393
views
Windows Setting inhibiting More than 2 tabs to open from script file
I have a number of sites that I have to monitor as part of my job. I created a .vbs (though in troubleshooting this issue, I also created and had the same problem with .js and .bat files). This file ...
0
votes
1
answer
927
views
Lauch bash command from javascript
There is a clean way to execute a bash script by clicking on a button inside a webpage (and possibly pipe back the result)?
I'm making a slideshow using reveal.js and I will need to execute a few ...
1
vote
2
answers
7k
views
How to run a js file from windows terminal?
In order to have the measurements displayed of a photocell linked to an Arduino on the terminal, Iam trying to execute a node.js server. It's from a tutorial made by Adil Moujahid
I tried to follow ...
0
votes
0
answers
929
views
CLI tools/ways for dynamically constructed DOM structure parsing HTML Javascript
I'm planning to make a tool which recognizes HTML using DOM structure in CLI. As many sites produce many DOM elements using JavaScript these days, it's becoming difficult to extract information from ...
47
votes
5
answers
60k
views
Command line browser with js support
Does anybody know good command line browser with js support?
Ideally I need following ability:
some-browser http://example.com > ~/page.html
It means that cli browser download html, execute js ...
1
vote
1
answer
909
views
Command line query to linkdecrypter
I would like to create an script that I can run from my bash command line to make a query to the service given in the webpage http://linkdecrypter.com/
For instance I would like to run something like
...
1
vote
1
answer
315
views
JavaScript-based applications and text browsers
How to use complex AJAX applications with a lot of menus and with X.509 authentications in non-GUI mode with simple browsers?
For example, I can login to Webmoney from console using links/lynx/link2 (...