Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  [SOLVED] %LB tag, what is it exactly for ?
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] %LB tag, what is it exactly for ?  (Read 1682 times)

Offline steak

  • Member
  • *
  • Posts: 104
[SOLVED] %LB tag, what is it exactly for ?
« on: January 01, 2013, 06:21:26 PM »
I found this "%LB" tag in a sbs file and used it to try to write mine.

It seems to display the browsing path while in File browser menu but I am not sure about that, I mean it does, but it may do other things...

It's not described in the manual. Or I did not find it, that kind of thing happens to me sometimes  ::)

I suppose it will be in later and hope some dev guy will tell us in the meantime.

Regards
« Last Edit: January 03, 2013, 07:33:56 AM by steak »
Logged
>>ports: >Cowon D2, Sansa Clip+ & Clip Zip, >Android: Samsung Galaxy SII & Motorola Defy MB525 (both ok with build 4aa32fb-131023)
>>(Previous) Android: Samsung Galaxy SI (rb worked well)
>>Misc: Archos XS202, iRiver imp550 & imp350, Sony MZ-RH1, Shure SE530

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: %LB tag, what is it exactly for ?
« Reply #1 on: January 01, 2013, 06:49:42 PM »
You're correct about it not being in the manual, ...like many tags, and this is an oversight.

It has nothing to do with the current path, however.

From memory, the %LB tag (can be used as a conditional) is used to display the scroll bar in skinned lists (or, as a conditional, check if a scroll bar is required). A good rule of thumb, if you can't find it in the manual, check here.


[Saint]
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline steak

  • Member
  • *
  • Posts: 104
Re: %LB tag, what is it exactly for ?
« Reply #2 on: January 02, 2013, 02:00:52 PM »
Quote from: [Saint] on January 01, 2013, 06:49:42 PM
It has nothing to do with the current path, however.
Thanks for the tip although I realised that already. Thanks for the link as well. Unfortunately I think I need a teacher rather than wiki pages. I seem to lack the basics and spend too much time fiddling with syntax which looks straightforward at first glance but then never work no matter how I use it

For instance, I've tried to use %and and %or in a code line like :

%?if(%and(%cH>=6,%cM<=8)<%cH:%cM%, no hurry...|F..k it's %cH:%cM% !>

It did not work, neither without %?if nor with any other change I made... Not really important, it just made me mad since it's probably simple with a bit of basics.
Logged
>>ports: >Cowon D2, Sansa Clip+ & Clip Zip, >Android: Samsung Galaxy SII & Motorola Defy MB525 (both ok with build 4aa32fb-131023)
>>(Previous) Android: Samsung Galaxy SI (rb worked well)
>>Misc: Archos XS202, iRiver imp550 & imp350, Sony MZ-RH1, Shure SE530

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: %LB tag, what is it exactly for ?
« Reply #3 on: January 02, 2013, 07:31:35 PM »
%?and(%if(%cH, >=, 6), %if(%cM, <=, 8))<yes|no> I think will work
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline steak

  • Member
  • *
  • Posts: 104
Re: %LB tag, what is it exactly for ?
« Reply #4 on: January 03, 2013, 05:01:22 AM »
Quote from: JdGordon on January 02, 2013, 07:31:35 PM
%?and(%if(%cH, >=, 6), %if(%cM, <=, 8))<yes|no> I think will work
I tried :
Code: [Select]
%?and(%?if(%cH, >=, 6), %?if(%cM, <=, 8))<blah blah|yeah right>
did not work

then :
Code: [Select]
%?%?and(%?if(%cH, >=, 6), %?if(%cM, <=, 8))<blah blah|yeah right>
neither.
Logged
>>ports: >Cowon D2, Sansa Clip+ & Clip Zip, >Android: Samsung Galaxy SII & Motorola Defy MB525 (both ok with build 4aa32fb-131023)
>>(Previous) Android: Samsung Galaxy SI (rb worked well)
>>Misc: Archos XS202, iRiver imp550 & imp350, Sony MZ-RH1, Shure SE530

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: %LB tag, what is it exactly for ?
« Reply #5 on: January 03, 2013, 05:52:22 AM »
get rid of the ?'s on the inside %if's
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline steak

  • Member
  • *
  • Posts: 104
Re: %LB tag, what is it exactly for ?
« Reply #6 on: January 03, 2013, 07:32:35 AM »
Quote from: JdGordon on January 03, 2013, 05:52:22 AM
get rid of the ?'s on the inside %if's

Tried it, no way. I would have been surprised, %?if syntax is clear in the manual and I've used it without problem. Then of course, %if could be a different tag.

Thanks for suggestions. I am closing the subject in order to focus on actual work  :(
Logged
>>ports: >Cowon D2, Sansa Clip+ & Clip Zip, >Android: Samsung Galaxy SII & Motorola Defy MB525 (both ok with build 4aa32fb-131023)
>>(Previous) Android: Samsung Galaxy SI (rb worked well)
>>Misc: Archos XS202, iRiver imp550 & imp350, Sony MZ-RH1, Shure SE530

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  [SOLVED] %LB tag, what is it exactly for ?
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.074 seconds with 15 queries.