Hey all (limbo in particular),
I'm having trouble getting Limbo's Search and Replace plugin working. Unfortunately the documentation is quite sparse.
I'm trying to use Chrisss' Winamp Screen, and though I now have splittitle and sandr loading, sandr doesn't actually replace the words "playing" or "stopped". I have tried using the lines exactly as shown in Chrisss' post in omit.ini, and have also tried editing the example that comes with sandr so that those lines are included appropriately. I've tried having omit.ini in the plugins directory and also in the main smartie directory.
Nothing has worked, nor has anything given an error. Without source code, there's little I can do to look at it myself and determine what the proper usage is. Unfortunately I've found this lack of documentation common among almost all parts of LCD Smartie, and it's something I would like to help fix one of these days. Until then, I'd appreciate some helping getting things running. Thanks Limbo (or anyone else who can help with this).
Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases
Using sandr.dll
Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo
-
- Plugin Author
- Posts: 192
- Joined: January 18th, 2006, 11:09 pm
- Location: Saskatoon, Saskatchewan, Canada
-
- Posts: 48
- Joined: December 18th, 2005, 5:50 am
-
- Plugin Author
- Posts: 1604
- Joined: February 13th, 2005, 7:38 pm
- Location: Athens - Greece
- Contact:
ADAPTED FROM INFO.TXT (included in dll package)
----------------------------------------------------------------------------------
Syntax
------
$dll(sandr,1,xxxxxxxxxxxxxxxxxxxxxxxxxxxx,ppppppppppp)
where xxxxxxxxxxxxxxxxxxxxxxxxxxxx is the string or variable containing any text and ppppppppppp is the optional path of the ini file
The search criteria must be located under the [Search1] and replace criteria under the [Replace1].
Note
If no path provided the plugin will use the C:\omit.ini as path which is the default
Examples
$dll(sandr,1,plugin creator: me,)
Use this example with the provided ini file and you will get the following output "Dll author: Limbo"
--------------------------------------------------------------------------------
The default path for the omit.ini is "c:\omit.ini" without the quotes
The reason to make a default as c:\ is a simple one: there is no standard LCD Smartie installation kit (except one alpha version, not officialy released but available for download here).
Of course you can specify your own path using the second parameter of the dll calling.
All error messages are deleted (e.g. on ini missing) because I never liked these messages to be displayed on LCD.
(maybe I'm wrong)
Another thing was to make a routine to detect the dll's directory automatically and search there for the ini file.
well nobody is perfect!
maybe in next version...
Anyway, suggestions for improvement are admissible just tell me!
Thanks.
----------------------------------------------------------------------------------
Syntax
------
$dll(sandr,1,xxxxxxxxxxxxxxxxxxxxxxxxxxxx,ppppppppppp)
where xxxxxxxxxxxxxxxxxxxxxxxxxxxx is the string or variable containing any text and ppppppppppp is the optional path of the ini file
The search criteria must be located under the [Search1] and replace criteria under the [Replace1].
Note
If no path provided the plugin will use the C:\omit.ini as path which is the default
Examples
$dll(sandr,1,plugin creator: me,)
Use this example with the provided ini file and you will get the following output "Dll author: Limbo"
--------------------------------------------------------------------------------
The default path for the omit.ini is "c:\omit.ini" without the quotes

The reason to make a default as c:\ is a simple one: there is no standard LCD Smartie installation kit (except one alpha version, not officialy released but available for download here).
Of course you can specify your own path using the second parameter of the dll calling.
All error messages are deleted (e.g. on ini missing) because I never liked these messages to be displayed on LCD.

Another thing was to make a routine to detect the dll's directory automatically and search there for the ini file.


Anyway, suggestions for improvement are admissible just tell me!

Thanks.
-
- Plugin Author
- Posts: 192
- Joined: January 18th, 2006, 11:09 pm
- Location: Saskatoon, Saskatchewan, Canada
LOL, oh man, sorry Limbo. I read that and thought, "You mean there's more in that file?" Looked scrolled down and realized there were several lines of white space before anything else came up. When I opened it up in Notepad I just saw those several blank lines and thought that was the end of the file.
Thanks for the help. Hopefully I can get the path thing working (doesn't recognize it at the moment, but I'll keep playing).

Thanks for the help. Hopefully I can get the path thing working (doesn't recognize it at the moment, but I'll keep playing).
-
- Plugin Author
- Posts: 201
- Joined: April 6th, 2005, 12:59 am
- Location: Canada
- Contact: