Page 1 of 20 12311 ... LastLast
Results 1 to 10 of 193

Thread: MarcelUtilsDriver

  1. #1
    Join Date
    Jan 2004
    Location
    The Netherlands
    Posts
    2,140

    Default MarcelUtilsDriver

    the latest MarcelUtilsDriver (NR >=2.0.0.74 ) is here :

    see MarcelUtilsDriver.zip via the link in my signature.

    it returns wifi signal strength for PPC+WIN32
    it return memory usage for PPC+WIN32
    it returns Operating System description (type+version+service pack) for PPC+WIN32
    it returns computer name for PPC+WIN32
    it returns local ip address for PPC+WIN32

    it has a bar chart linked to a NR variable for PPC+WIN32
    it has a pie chart linked to a NR variable for PPC+WIN32
    it has a dial chart linked to a NR variable for PPC+WIN32 (on win32 GDI+ is used and needle is anti-aliased)

    these can be used as a signal strength meter, battery level indicator, disk space indicator , temperature indicator etc. etc. etc.

    Improved anti-aliased labels for WIN32+PPC using any font, font size, angle and dropshadow.
    On WIN32, gdi+ is used and transparency, smoothing and outline can also be selected.
    It is also possible to draw the label on top of the normal button images.

    battery level for WIN32 (NR already has this for the PPC, but not for WIN32)
    CPU utilization for WIN32
    mouse scroll wheel support for WIN32
    mouse move and click support for WIN32
    Mouse Drag Position support for WIN32 (used for drag/drop)

    line chart for WIN32
    lua functions are only a thin wrapper around :
    http://www.codeproject.com/miscctrl/xgraph.asp
    No documentation for the chart yet, but a sample app. is included. (see above url for functions)
    Also not much error checking for the line chart lua functions, so if you set up the wrong lua functions in the wrong order, NR will probably crash...
    I Will make this more robust in the future, but not in the short term...

    on WM2003SE it can rotate the screen

    notes :

    * ppc wifi stuff only works if you broadcast your SSID and ONLY FOR CERTAIN WIFI CHIPSETS. Most modern PPC's don't work.

    * gdi+ is built into xp, for older os's copy the included gdiplus.dll to the windows\system32 directory

    * on win32, these microsoft dll's are required :
    mfc71u.dll
    msvcr71.dll
    msvcp71.dll <--- this one could be missing, it is not installed by NR ?

    *wlanapi is required (is included in vista)
    For XP, you need to install this :

    http://www.microsoft.com/downloads/d...displaylang=en

    note that WLANAPI doesn't seem to work, if the wireless driver has it's own dialogs for access point selection etc. (my Intel wireless drivers on XP do that...) but in that case (on XP) the driver falls back to WMI....


    Marcel
    Last edited by mhwlng; September 20th, 2007 at 03:30 AM.

  2. #2
    Join Date
    Dec 2001
    Posts
    11,560

    Default

    The bitwise operators are custom to Girder. We should duplicate them in NR.

  3. #3
    Join Date
    Jan 2004
    Location
    The Netherlands
    Posts
    2,140

    Default

    exactly

    adding the battery stuff for win32 would also be good

    Marcel

  4. #4
    Join Date
    Dec 2001
    Posts
    11,560

    Default

    Do you have code to check battery levels?

  5. #5
    Join Date
    Jan 2004
    Location
    The Netherlands
    Posts
    2,140

    Default

    download above zip file and you've got it !

    Marcel

  6. #6
    Join Date
    Jan 2004
    Location
    The Netherlands
    Posts
    2,140

    Default

    I updated the plugin to also show WIFI signal strength and CPU utilisation on WIN32

    both use WMI, so it only works in XP (and maybe/probably W2K)

    WMI opens up a lot more possibilities (are you listening mike c ?)

    I don't know if this WIFI stuff also needs a broadcasting access point (like the PPC stuff) try it and let me know...

    source is included


    Marcel

  7. #7
    Join Date
    Jan 2004
    Location
    The Netherlands
    Posts
    2,140

    Default

    the above plugin has been updated

    • * I found a couple of resource leaks in the pocketwarrior PPC wifi code.. Hopefully that is fixed now
      * I changed the naming convention : Marcel.WiFiSignalStrength is now Marcel.WiFi.SignalStrength etc.
      * I added memory usage variables (PPC and WIN32)

    Marcel

  8. #8
    Join Date
    Jan 2004
    Location
    The Netherlands
    Posts
    2,140

    Default

    I made some progress adding a read-only rtf edit box to the plugin

    but I did find some limitations :

    Top picture shows the win32 version. you can set the background colour and I sort-of got transparency working without scrolling...

    Bottom picture shows the ppc version (same rtf file) :
    * I haven't been able to change the background colour(or get transparency working)
    * the line spacing seems to be fixed. If I make the font size smaller, the lines don't get closer together...

    Anybody know how to fix above with the PPC rich ink control ?

    Marcel
    Attached Images Attached Images

  9. #9
    Join Date
    Jul 2004
    Location
    London UK
    Posts
    1,249

    Default

    Another reason I'm glad I steered clear of rich text support

  10. #10
    Join Date
    Jan 2004
    Location
    The Netherlands
    Posts
    2,140

    Default

    If Ben could add a function with which I can fill a lua string with html code and then use that string to display in the NR embedded web browser (so without using a file or web server) then I'd be the first to get rid of this rtf business...

    a multi-line edit box is just too limited....


    Marcel

Page 1 of 20 12311 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •