I use this type a whole lot to keep up with websites that I go to often. By clicking on the glob on the ScriptBar program, it will open that web link in the default browser. The Web Link entry type allows you to give a website address. This is a simple line separator to separate entry types. This is a ruby script that displays the tasks I have in the TaskPaper program. The picture above shows an TextBar script output called TaskPaperTodo.rb. I plan to have it just run the command line and display the results. The What is the command line? isn't currently used. The BitBar setting processes the output as a BitBar script (not currently working), and the HTML setting displays the output as HTML. The TextBar setting processes the output as a TextBar script. The Generic setting just displays the output as plain text. The output types can be: Generic, TextBar, BitBar (which is now xBar), and HTML. The Script entry allows you to call an External Script from EmailIt and display it's output. The one I use is an HTTP request node with the url set to. There are several nodes that can supply that information, so I leave up to you. You have to create a flow that fills in the external IP address of your system. The External IP Address is the same as the Internal IP address except that it takes a Node-Red flow variable name. This entry type uses an API from the EmailItServer. If you give a port number and check the link checkbox, you can click the IP address shown in ScriptBar and it will open a webpage to that address and port number. That is the IP of your local network, not the IP used on the Internet. The Internal IP Address entry will display the internal IP address of your computer. 2 Browse to the key located below in Registry Editor. The flowvariable entry takes the text in a Node-Red flow variable and simply displays it. Heres How: 1 Press the Win + R keys to open Run, type regedit into Run, and click/tap on OK to open Registry Editor. The last node is a SPVariables node set to the name of the Node-Red variable you want to use. Then add a join node with these properties: You need to change the year, month, and day fields to match the person's birthday. Then create another function node with this code to calculate the current age: setDate ( dday ) // // Calculate the number of milliseconds until // the date. var now = new Date ( ) var dmon = msg. // Get the current date and the count down // date. ![]() The script for the birthday node in Node-Red is: It will show the time to the person's next birthday and their current age. The birthday counter takes the output of a birthday counter flow in Node-Red. They are described below: Birthday Counter There are seven types of entries that you can use. By double clicking the entry name, you can edit it's parameters. If you double click on the name of an entry, you can click Up to move it up the list or Down to move it down the list. But, if you get too many, it will go past your screen edges! You can click and drag the top area to move the application around. You can have as many tabs as you want and as many items in each tab as you want. By double clicking the tab names, you can change text shown for each tab. The tab with a + in it allows you to add a new tab. The + in the upper left corner allows you to add new items to each tab. Just like EmailIt, it is a Wails application using Svelte for the frontend framework. It relies upon the EmailIt Server for all of it's information. The ScriptBar application is launched along with EmailIt. Currently, EmailItServer is embedded inside of EmailIt. You must have the EmailIt Server running first. To build the application, first go to the frontend directory and build it using: Pick the program that best suites your needs or use both like I do! This program also get output from a Node-Red server in the EmailIt Server program. So, I wanted some scripts to show in it's own menubar using xBar, and some grouped together in a single interface for convience. I have a very cluttered menubar with many application that I use. ![]() ScriptBar places all script output into a single interface for easy viewing when activated. xBar puts script outputs into individual menubar items. This program isn't a replacement for xBar. I'm currently developing it on macOS and will be working of the other versions after the macOS is stable and Wails version 2 is ready for that platform. The goal is to make this project usable on Windows, macOS, and Linux. The program is built with a Svelte JavaScript frontend and Wails backend and packager. ![]() Currently, EmailItServer is now apart of EmailIt. You have to have the EmailIt Server running to use this program. You can display results from the Node-Red server in EmailIt Server, command line scripts for either TextBar (mostly working), xBar (not working - still in development), or some of the builtin components include web sites and IP addresses both local and external. It is currently in the Alpha stage, but very usable. Selenium with Python Tutorial | TECHLISTIC.An application to show results from scripts and Node-Red in the menubar.
0 Comments
Leave a Reply. |