To install all packages dependencies run nexss pkg init
. It will run specified init
command in the package/Nexss Programmer Project.
Languages used: Auto Hot Key (.ahk)
Runs application. For help run nexss App help
nexss App/Run --app="code c:/myfolder" # Opens VSCode and opens folder c:/folder
nexss App/Run --app="explorer" # Opens Explorer
Video Quick Tutorial: Render in Blender from Nexss Programmer
help: nexss Blender help
Render results/data from nexss PROGRAMMER directly in Blender. Just add nexss pkg add Blender
to your Nexss Programmer Project and you are ready to go. More here in this video tutorial: Blender from Nexss Programmer Data
This needs to specified compiler part (but when you use to copy and modify package for your needs --copyPackage it is already done there. You don't need to do it) eg:
files:
- name: src/yourScript.py
compiler: blender yourBlenderScene.blend --background
# Below command will copy package to your current folder. (--copyPackage)
nexss pkg add Blender --copyPackage --saveNexss --forceNexss
# You can use it like: nexss Blender (the same as global package) but it will take local
# Now you can adjust the copied code to your needs.
nexss Clipboard
nexss Clipboard help
Languages used: NodeJS (.js) (+installed https://github.com/sindresorhus/clipboardy) OR Second example Auto Hot Key (.ahk)
nexss Clipboard # displays clipboard data
nexss Clipboard --write="This is cache long story"
nexss Clipboard --fields="cwd"
nexss Clipboard --fields="firstname,lastname"
## TODO: Clipboard multiple: see below
nexss Clipboard --push="Multiple Clipboard"
nexss Clipboard --list # displays list with unique ids
nexss Clipboard --delete uniqueId # removes item from Clipboards list
Convert Video file to animated gif
Languages used: Node JS (.js) and Python (.py)
Technologies used:
MoviePy https://zulko.github.io/moviepy/
nexss Convert/VideoToGif --file=myfile.mp4
nexss Convert/VideoToGif --file="Diving - 347.mp4" --fps=1
There are at least 2 ways of modifying data in Nexss Programmer.
Concatenate data in the sequence (You can also not use this module and make it manually in any language)
nexss Data/Concat --concatFields=cwd,debug # this will return string
nexss Data/Concat --concatFields=cwd,debug --concatArray # this will return array in field concatResult
nexss Data/Concat --concatFields=cwd,debug --concatArray --concatResultField=myFieldName # custom result fieldname 'myFieldName'
nexss Data/Concat --concatFields=cwd,debug --concatSeparator=EOL # will produce everyvalue on new line
Deletes the fields from data flow.
nexss Data/Delete --deleteFields=cwd,myfield # make sure cwd and myfield do not exist.
nexss Data/Delete --deleteFields=debug,_
Show the data in nice way.
nexss Data/Show --showFields=cwd # Will only display cwd field as result (everything else is deleted.)
nexss Data/Pretty --prettyFields=cwd,x --debug=0 # without --debug=0 will show error as x does not exist
Rename data from field to another. Very Handy incase parameters do not match.
# rename cwd->y and myfield=>result
nexss Data/Rename --renameFrom=cwd,myfield --renameTo=y,result
nexss Data/Rename --renameFrom=Y --renameTo=X
Show the fields.
nexss Data/Show --showFields=cwd # Will only display cwd field as result (everything else is deleted.)
Generates unique id
Languages: NodeJS (.js)
Technologies: https://github.com/ericelliott/cuid
nexss Id
nexss Id --fields=cuid # this will only display cuid
Languages: NodeJS (.js) and Python(.py)
Technologies:
Convert Image to Text.
# First we need to capture screen region and save it as 1.png
nexss Screen/Capture --file=1.png # We capture the screenshot of mouse selection.
nexss Input/OCR --file=1.png # Convert to text
Handling keyboard
Languages used: Auto Hot Key (.ahk)
nexss Keyboard --type="ls -la" # writes ls -la
nexss Keyboard --type="#s" # WIN + s
nexss Keyboard --type="#d" # WIN + d / Show Desktop
nexss Keyboard --type="#b" # WIN + b / Show Taskbar
nexss Keyboard --type="color 03" --enter # hit enter after type
Windows - Auto Hotkey: More Special Keys
! = ALT
+ = SHIFT
^ = CTRL
# = WIN
Click mouse button depends on configuration. See below examples.
nexss Mouse/Click # Click left
nexss Mouse/Click --double # Double click
nexss Mouse/Click ==button=Right --double # Click Right double
nexss Mouse/Click ==button=Middle # clic middle mouse button
Moves mouse cursor to the position x,y.
nexss Mouse/Move --x=10 --y=200
Moves mouse cursor to the image located on the screen.
nexss Mouse/MoveToImage --image=myfile.png
Package browser including searching and graph.
nexss Nexss/PackageBrowser
Save data as a text
nexss Output/Text --file=myfilename.txt
NOTE: Example of Nexss Project without source inside! Just using another Nexss Packages
link to the repository of : https://github.com/nexssp/package_screen/tree/master/AreaOCR
Allows you to select region on screen and convert it to text (OCR).
nexss Screen/AreaOCR
This is example of module which uses only Nexss PROGRAMMER pakcages without extra code.
files:
- name: Screen/Capture #--file=1.png Can be with or without params!
- name: Input/OCR #--file=1.png
https://github.com/nexssp/package_screen/tree/master/AreaVideo
Allows you to select region on screen and record video.
This is example of module which uses only Nexss PROGRAMMER pakcages without extra code.
files:
- name: Select/Area
- name: Screen/VideoRecord
Gives selection cross for select the area on desktop. Returns X1,Y1,X2,Y2
;~ This module is based on the script which has been found on AutoIt Forum ;~ https://www.autoitscript.com/forum/topic/95920-solved-selecting-a-rectangle-to-screencapture/
nexss Select/Area # This will return X1,Y1,X2,Y2 of selected area
Example of returned value
{"start":1579196911382,"cwd":"c:\\Users\\mapoart\\.nexss\\packages\\Mouse","debug":true,"_":[],"X1":787,"Y1":433,"X2":1318,"Y2":781}
Different formats of saving Web.
nexss Web/Output --website=https://nexss.com --file=myfile.pdf # Saves website to pdf
nexss Web/Output --website=https://marcinpolak.eu --file=myfile.jpg # Saves website to jpg
Nexss System allow to run systems in many languages at once. In this case:
getWebInfo.ps1
to get the data by the docker and great tool wappalyzer/cli
.