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

Search and repce Plugin broken, in need of help!

Discuss anything to do with plugins

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo

Post Reply
Zomer
Posts: 2
Joined: January 16th, 2008, 11:03 am

Search and repce Plugin broken, in need of help!

Post by Zomer »

Hey there,

I am trying to use de sandr plugin, but there is no way i can get it to work. It is strange because I have performed the setup fine, at least, I think so :?:

An excemple:

I am trying to get the first letter of the the dayformat in uppercase with the sandr.dll:

$dll(sandr,1,$Time(dddd),C:\Program Files\smartie\plugins\replace.ini)

replace.ini[Search1]
1=maandag
2=dinsdag
3=Woensdag
4=donderdag
5=vrijdag
6=zaterdag
7=zondag

[Replace1]
1=Maandag
2=Dinsdag
3=Woensdag
4=Donderdag
5=Vrijdag
6=Zaterdag
7=Zondag

I have frmawork 3.5 installed and the sandr.dll is in de plugin directory of lcd smarty

What could be going wrong?
shinobi_h2o
Posts: 18
Joined: December 21st, 2007, 4:13 am
Location: Rio de Janeiro, RJ

Post by shinobi_h2o »

I don't know, everything seems to be set up fine...
If you just want to change the case, there's this Change_Case from Limbo.

Don't know the topic URL, but you can find it here: http://www.eserver.gr
jonny
Posts: 48
Joined: December 18th, 2005, 5:50 am

Post by jonny »

i havent used sandr in a while, but i seem to remember that it only worked for me if replace.ini was in the root (c:\). I don't think the plugin can handle spaces in the path like you have in between 'program' and 'files'.
mattcro
Forum Supporter
Posts: 590
Joined: March 8th, 2006, 1:58 pm
Location: Scotland

Post by mattcro »

Same here: sandr only works if I have omit.ini (or whatever you have called it) in the root directory, ie C:\
Zomer
Posts: 2
Joined: January 16th, 2008, 11:03 am

Post by Zomer »

Thank you guys!

By putting the ini file in the c:/ dirctory and renaming it to omit.ini it finaly works again! This is wonderfull!
limbo
Plugin Author
Posts: 1604
Joined: February 13th, 2005, 7:38 pm
Location: Athens - Greece
Contact:

Post by limbo »

I'm writing down a note to check the source code of this plugin. :oops:

The original idea was to be able to select the path as Zomer tried to... (but what can I say, something is going wrong).

Anyway the root path is working for sure, this is what I'm using. So leave the parameter blank and place the omit.ini in C:\ drive

If it is for case changing please use the change case plugin as shinobi_h2o mentioned above.
shinobi_h2o
Posts: 18
Joined: December 21st, 2007, 4:13 am
Location: Rio de Janeiro, RJ

Post by shinobi_h2o »

Hey Limbo!

Is it possible for the DLLs to know their "Working Directory"?
I mean, I think the best idea would be to put the omit.ini file in the "/plugins" folder...
limbo
Plugin Author
Posts: 1604
Joined: February 13th, 2005, 7:38 pm
Location: Athens - Greece
Contact:

Post by limbo »

shinobi_h2o wrote:Hey Limbo!

Is it possible for the DLLs to know their "Working Directory"?
I mean, I think the best idea would be to put the omit.ini file in the "/plugins" folder...
Yes its possible... but I can't really remember the reason why I left this plugin to have default the root :P

I'll try to fix this in next version but I can't promise when...
I have new job and I have to read a lot about ...
shinobi_h2o
Posts: 18
Joined: December 21st, 2007, 4:13 am
Location: Rio de Janeiro, RJ

Post by shinobi_h2o »

Ok dude, no prob, no rush! ;)
Best of luck in your new job! =)


And thank you again for these great plugins!
Post Reply