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

$LogFile(...\Log$Time(yyyymmdd).txt,1) not woking

General discussion about LCD Smartie.

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

Post Reply
caesar
Forum Supporter
Posts: 734
Joined: October 15th, 2005, 10:39 am
Location: Romania
Contact:

$LogFile(...\Log$Time(yyyymmdd).txt,1) not woking

Post by caesar »

Hi!

I am trying to display a logfile automatically generated from a network share. It has the following formatting: "Log20051017.txt" for todays log so I have tried the following syntax
$LogFile(\\network\share\Log$Time(yyyymmdd).txt,1)
but it isn't working, with the current date entered it works, $Time outputs alone the correct yyyymmdd.
What should i do? Am I missing something?

Thanks for your help!

PS It displays [File: No such file]
limbo
Plugin Author
Posts: 1604
Joined: February 13th, 2005, 7:38 pm
Location: Athens - Greece
Contact:

Post by limbo »

This is normal cause smartie cannot pass the value of the date as a string to the other function ($Logfile)

A variable should be used here but I don't remember a function to support variables.

SO!

I 've created a plugin for your needs
you can download it here :P
This plugin, called "var" can return the complete variable of today combined with the given path bypassing the error generated by LCD Smartie...


Notice
Works only for the current date


Consider this plugin as discontinued. No other version will follow this release! :smt018
Last edited by limbo on October 25th, 2005, 6:37 pm, edited 1 time in total.
caesar
Forum Supporter
Posts: 734
Joined: October 15th, 2005, 10:39 am
Location: Romania
Contact:

Post by caesar »

I don't know how to begin!

All the thanks in the world go to => limbo!!! :D He made me the happiest man!

As for the plugin: it works like a charm!

Just three more words: LCDSmartie really rocks!
Post Reply