|
Post a new topic
|
Startmenu Help
|
I'm trying to code a litestep theme and I can't get the startmenu (like the ones in SONA and AMANA) to work. It functions, but I can't get it to toggle with the start button.
***** Update, after much experimentation, i ended up at the script.rc file.... I'm messing around with it to try and figure out what everything means, but I am at a loss...
Any help would be greatly appreciated =)
Thanks
03:52 pm, Monday, August 04, 2008 (3 months ago)
|
|
this are a bunch of labels, not a real startmenu
04:19 pm (3 months ago)
|
|
right, but with the script.rc, I've been looking at the coding for SONA and AMANA, and I've gotten the idea that the
*Script Bang !StartMenuToggle
defines the command (!StartMenuToggle) that you wish to define, and that the
*Script Exec !VarsaveStartMenuOn
underneath it states that if the !StartMenuToggle is activated, that the variable StartMenuOn is activated. What I don't get, though, is what this stuff does:
*Script exec !If ["%{startMenuOn}" = "true"] [!LabelMoveBy startMenu 189 0 25 10] [!LabelMoveBy startMenu -189 0 25 10]
I thought it defined that if the variable StartMenuOn is activated, then the xLabel StartMenu should be moved from a certain location to another location. But when I try this in my theme, it doesn't seem to work... btw the scripts i'm learning from are the (you guessed it) SONA and AMANA themes, so much thanks to Naalo + Imrik for their submissions.
09:11 pm (3 months ago)
|
|
What that line does is check whether the startMenuOn variable is true or false, if true it moves it to the right, if false to the left.
05:28 am (3 months ago)
|
|
so you press the button and it doesnt popup?
11:44 pm (3 months ago)
|
|
@ naalo ah i see. thank you =) @ fuzzace well the menu shows up, but i cant get it to hide when i click on it again. right now i'm using a second bang command to hide it with a right-click on the button
10:31 am (3 months ago)
|
Reply to this topic
You must register and become a member to post a reply.
|