Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases

Possible for a new way to script?

General discussion about LCD Smartie.

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo, Fast351

Post Reply
GizmoTheGreen
Posts: 53
Joined: November 19th, 2008, 12:00 pm

Possible for a new way to script?

Post by GizmoTheGreen »

Have anyone here used "GlovePIE" before?
It's a program where you can script input/output actions for many devices, like making you joystick control your mouse, or making you mouse clicks into turbofire/macros.

I think a similar style would be good for LCDsmartie.

Code: Select all

var.totaltorrents = $dll(utorrent,x,x,x) //returns number of torrents and stores it in a variable

if torrent.current = var.totaltorrents + 1
var.position = 1 //will "replay" the list once it reaches the end
endif

smartie.row1 = $dll(utorrent,2,var.position,nameoftorrent) //shows the torrent name
smartie.row2 = $dll(utorrent,2,var.position,downloadspeed) // shows the current speed for the torrent

wait 5s // wait 5 seconds (update interval)

var.position++ //show next torrent
smartie. will allow you to change smarties settings/properties, like updatespeeds and the text on the lcd.

var."name" is variables, alse its scripting in something that resembles c/c++ syntax :)

for GlovePIEs syntax read its preliminary documentation, quick to find on google.

Is this a good idea?

GizmoTheGreen
Posts: 53
Joined: November 19th, 2008, 12:00 pm

Re: Possible for a new way to script?

Post by GizmoTheGreen »

Bumping this, I really think lcd smartie needs a new scripting style, a glovepie'ish~ style would be good, and more kind towards the newb user.

consider youd normally have to combine shitloads of plugins(dll calls) to do even simple stuff, like math.

what if its built in, like a real programming lang, like some kind of BASIC approach.

Post Reply