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

HELP ME IM BEGINNER #264

Closed
GetRektBoy724 opened this issue Apr 30, 2020 · 7 comments
Closed

HELP ME IM BEGINNER #264

GetRektBoy724 opened this issue Apr 30, 2020 · 7 comments
Labels
question Further information is requested

Comments

@GetRektBoy724
Copy link

GetRektBoy724 commented Apr 30, 2020

How to make a html that contain neutralinojs script that execute command on client browser...sorry im beginner to javascript...if it use neutralino.os.runcommand() , pls give me example of the code

@shalithasuranga shalithasuranga added the question Further information is requested label May 3, 2020
@nakotami
Copy link
Contributor

What do you mean by "executing a command on the client's browser"?

@GetRektBoy724
Copy link
Author

I mean executing command on the client's computer

@Dugnist
Copy link

Dugnist commented Jun 26, 2020

https://github.com/Dugnist/Platform
Maybe try my example. But I use Svelte.js as a framework. It easy to learn.

@nakotami
Copy link
Contributor

I think you mean on the client's PC under the NJS App and not their browser.
Try this from the docs:

Neutralino.os.runCommand('help', 
  function (data) {
    console.log(data);
  },
  function () {
    console.error('error');
  }
);

@GetRektBoy724
Copy link
Author

ohh ok thx

@GetRektBoy724
Copy link
Author

y'know...im really a beginner

@shalithasuranga
Copy link
Member

Hey.. I am closing this since the question has been answered already.

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

No branches or pull requests

4 participants