Hi,
now i found one theme, that is right okey in its Style and it have a very small cpu usage..
Now, it is the simplicity Theme. But there is one thing, thats nerve me. I can only see the taskbar, or the winamp controll or the info thing.. but ich wannt to see them all the time.. and not only one of them..
so i wnt to edit the theme, but i've got no idea how to do this..
read docs and learn from them, that's the only way...
mhm.. ok
But one question i hvae got^^..
The Clock style is in the english way. Therefore in pm and am. But i'm from germany(thats the reason for my bad english^^) and i usually see the time in the 24houre style. So i want the time to say that:
20.34 and not 8.34 Pm
In the base.rx the time is so declared:
TimeLabelText "[date('h')]:[date('nn')]"
But how can i change it to the 24 houre style?
It's not hard. :) Check the (x)label documentation in Litestep\modules\docs\. You need to change the 'h' part to something else, the docs will tell you what it is.
ah.. ok... this is what i search for^^..
next question^^..
i edit a bmp and the pink color is now not transpereny but pink on my desktop. And thats not so beautifull^^..
So how must i save the bmp, that the pink color is transpereny?
First you must determine whether the module in question supports magic pink transparency, then you must read its documentation to find out how to turn it on. (assuming you are using FF00FF, of course)
i just editing the bmp.. not a new one.. it was pink before i edit it.. and so i think that it had to work, but now it is pink and not tranperency...
did you change the shade of pink? magic pink has to be a very exact color code (FF00FF), otherrwise it'll just show up as pink.
it is FF00FF..
but what kind of bmp image should i save? 8 bit, 4bit?
err... try 24 bit :D
8 bit would make litestep look like being from the early 90s or something (4 bit even worse) :D
mhm.. my ps has some kind of error with the 24 bit.. i dont't know why..
i try some other progs..
HI,
a new Problem. I edited the simplicity theme to show the systray always. Now it is shown allway, but i want a button, which can hide it. But this is not the problem^^.The first thing i had to know is how can i change values in the flags.rc. I thought it just go so:
flags.rc:
tray_on 0
base.rc:
*Shortcut "" 1020 -63 systray_right.bmp systray_righta.bmp .none #19 !Enabletray
*Shortcut "" 1000 -63 systray_left.bmp systray_lefta.bmp .none #19 !Disabletray
scrip.rc:
*Script bang !Enabletray
*Script exec !textreplace "$ConfigDir$flags.rc" "^(tray_on *)0" "\11"
*Script exec !Recycle
*Script ~bang
*Script bang !Disabletray
*Script exec !textreplace "$ConfigDir$flags.rc" "^(tray_on *)1" "\10"
*Script exec !Recycle
*Script ~bang
But he doesn't do anything.. i just want to change the tray_on 0 in tray_on 1 ...
how does this work?
btw.: I use shortcut2 2.0.1
Well Im not the best with textedit.
I would do this if it where mine.
*Script bang !EnableTray
*Script exec !varset tray_on "1"
*Script exec !varsaveall replace
*Script exec !recycle
*Script ~bang
*Script bang !DisableTray
*Script exec !varset tray_on "0"
*Script exec !varsaveall replace
*Script exec !recycle
*Script ~bang
but there, litestep dowsn't know, where he should replace the variable..
Where are the Documents to Learn. First time trying. hope i dont give up!
Schwarzer Ritter: Just appending your question to a random thread won't really help to get many answers. Try C:\Litestep\Modules\Docs.
sorry for the pushpost, but my problem is still alive..
why are you working so hard with mzscript? just use a simple bang with textedit:
!execute [!systrayshow][!shortcutgrouphide (number of group with show button)][!shortcutgroupshow (number of group with hide button)][!textreplace @$ConfigDir$flags.rc@ @^tray_on@ @tray_on 0@]
else if systray is hidden:
!execute [!systrayhide][!shortcutgrouphide (number buttonnumber of group with hide button)][!shortcutgroupshow (number of group with show )][!textreplace @$ConfigDir$flags.rc@ @^tray_on@ @tray_on 1@]
Much more easier and you need no recycle. The var will be saved that it be shown if you recycle.....
that was not my theme^^.. and the creator has made it so and i thoght, thats would be alright^^
but, i don't know why, the textreplace bang doesn't work..
The file, where i want to replace is here: themes\simplicity\config and it is named test.rc . (i changed it in your bang)
In this rc file is only one line. tray
And this should be replaced with may or something else^^
I tried it so:
*Shortcut "" 1024 -63 systray_right.bmp systray_righta.bmp .none #19 !textreplace @$ConfigDir$test.rc@ @tray@ @may@
but i doesn't work..
that couldn't work
the textreplace sting is like:
!textreplace @path_and_file/to_search.rc@ @^string_to_search@ @string_to_relpace value@
it's much more easier to replace only a value then to change the whole string, cause if you want to change it again, you've write it complete new.
example:
;test.rc
tray = 0
;theme.rc
If tray = 0
*NetLoadModule vtray-1.x
EndIf
*Shortcut "" 1024 -63 systray_right.bmp systray_righta.bmp .none #19 !execute [!textreplace @$ConfigDir$test.rc@ @^tray@ @tray 1@][!shortcutgrouphide 19][!shortcutgroupshow 20]
*Shortcut "" 1024 -63 systray_right.bmp systray_righta.bmp .none #20H !execute [!textreplace @$ConfigDir$test.rc@ @^tray@ @tray 0@][!shortcutgrouphide 20][!shortcutgroupshow 19]
now you can see that if you've tray = 1, the group 20 will be hidden on start, you can so you can use also new If loops with the $tray$ var, like:
If tray = 0
*Shortcut "" 1024 -63 systray_right.bmp systray_righta.bmp .none #19 !execute [!textreplace @$ConfigDir$test.rc@ @^tray@ @tray 0@][!shortcutgrouphide 19][!shortcutgroupshow 20]
*Shortcut "" 1024 -63 systray_right.bmp systray_righta.bmp .none #20H !execute [!textreplace @$ConfigDir$test.rc@ @^tray@ @tray 1@][!shortcutgrouphide 20][!shortcutgroupshow 19]
ElseIf tray = 1
*Shortcut "" 1024 -63 systray_right.bmp systray_righta.bmp .none #19H !execute [!textreplace @$ConfigDir$test.rc@ @^tray@ @tray 1@][!shortcutgrouphide 19][!shortcutgroupshow 20]
*Shortcut "" 1024 -63 systray_right.bmp systray_righta.bmp .none #20 !execute [!textreplace @$ConfigDir$test.rc@ @^tray@ @tray 0@][!shortcutgrouphide 20][!shortcutgroupshow 19]
EndIf
mhm.. slowly i think, that my pc make a joke on me..
everything worked, except the textreplace..
perhaps the mistake is somewhere else..
In the test.rc i tried " tray 0 " and "tray = 0". Is this wrong? is there a number of space (the space key's) that must beetween the value and the variable?
Or something else?
right syntax in test.rc "tray 0" ... also textedit is case sensitive.
the only idea now is.... do you have textedit loaded?
jo..
in loaded moduls stands "Textedit 2.1" is there a newer version out?
how can i update it?
also wrong syntax ;)
*NetLoadModule textedit-2.52
right syntax :)
ps: the tray var has to be at the beginning of the line, not indendet.