Good Times Old Times

Collapse

Welcome Guest, SPJ Bulletin - Good Times Old Times,(AKA SPJ Junkie, TEAM HTC) is a well established general discussion forum that originally opened to the public wayback in 2004! We provide a laid back atmosphere and our members and staff are down to earth. We have a ton of content and fresh stuff is constantly being added. We cover all sorts of topics, so there's bound to be something inside to excite your interest. We welcome anyone and everyone to register & become a member of our awesome community.
You're currently viewing the forum community as a Guest. You'll have access to thousands of Archived post,from our long time helpful and dedicated staffs and members.Please Keep in mind the forum is for archived information only Any attachments in a post are no longer available. It's been PRUNED !!!!

Registration is open but limited

[WM65] [Titanium program] JMLPanex v099 (29-Aug-2009)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jr5416
    Member
    • May 12
    • 3135

    [UPDATES] [WM65] [Titanium program] JMLPanex v099 (29-Aug-2009)

    All credit goes to JMHL over at XDA thanks for this great program

    Developed on HTC Diamond (VGA 480 × 640) with standard Titanium (no WM7.. Project, etc....

    JMLPanex program (JML Panel Execute) allows multiple hotspots on a plugin (-> Association picture/program).


    new search algorithm :
    1 - When clicked on panel, a plugin launch (via [ACTIONURL]) JMLPanex.exe passing as parameter the name of the plugin and page number (eg. "JMLToday PageN")
    2 - JMLPanex :
    --- get the coordinates of the click (x,y)
    --- get the .CPR file corresponding to the content of "Software\\Microsoft\\CHome\\CPRFile" and actual resolution (eg. "Titanium" + 480 + 640 for Diamond VGA)
    --- search in .CPR file, the Layer of the plugin (eg JMLTodayExpanded)
    --- for each <Image ...> of Layer
    ------- verify if (x,y) is in image rectangle and get ID
    ------- verify if ID is in good Page (-> "Software\\Microsoft\\CHome\\plugin_name\\PageN\\I D" and it's value is not NULL (nothing or "" or "...null.png")
    ------- verify if ID is in PNX file in the good [PageN] section

    --- if OK : run associate program
    --- if KO :
    ------- get "default" program in PNX file in the [PageN] section
    ------- if "default" does not exist : get "Software\\Microsoft\\CHome\\plugin_name\\PageN\\A CTIONURLPNX"
    ------- run program



    Changelog Version 0.99 :

    - new search algorithm
    - set a register key in plugin to specified the actual Page : "Software\\Microsoft\\CHome\\plugin_name\\JMLPanex Page" (= "Page2" for example)
    - when clic, suppress InvertRect, changed to border of a pushbutton


    Changelog Version 0.98 :

    - corrected bug : freeze if file parameter .pnx not exist
    - corrected bug : work only for Page1


    Installation instructions :
    - First
    If not yet, install MortScript v4.2
    - Second
    Install CAB file
    - Third
    Launch JMLPanexForPlugin.mscr to associate JMLPanex to a plugin.


    Have Fun!

    Original LInk:
    Code:
    http://forum.xda-developers.com/showthread.php?t=552373
    Attached Files
    sigpic

    If i helped hit that THANKS button
  • jr5416
    Member
    • May 12
    • 3135

    #2
    Re: [WM65] [Titanium program] JMLPanex v099 (29-Aug-2009)

    Configuration/Parameter Informations


    Parameter file .pnx
    - File in JMLPanex folder
    - One file per plugin
    - One section per page of plugin
    - One line per association picture=program

    Example JMLToday.pnx for JMLToday plugin :
    Code:

    [Page1]
    default=%PROGRAMFILES%\JMLToday\JMLAction.exe
    AlarmPNG=%WINDOWS%\ctlpnl.exe;cplmain.cpl,16,1
    BG=%WINDOWS%\ctlpnl.exe|cplmain.cpl,16,0
    EmailPNG=%WINDOWS%\tmail.exe;-service "ActiveSync"
    SmsPNG=%WINDOWS%\tmail.exe;-service "SMS"
    TelPNG=%PROGRAMFILES%\JMLToday\CallHistory.exe
    BattPNG=%WINDOWS%\ctlpnl.exe;cplmain.cpl,3

    [Page2]
    default=%PROGRAMFILES%\JMLToday\JMLMeteo.mscr

    NB. : default is the default program when you click out of a picture.


    Constantes File-Path
    You can use these constantes in your file-path name :

    %PROGRAMFILES%
    %WINDOWS%
    %MYVIDEO%
    %MYPICTURES%
    %MYMUSIC%



    Program/parameters separator
    You can use | or ; in your file-path name to separate parameter to program-name :

    Example :
    ...=%WINDOWS%\ctlpnl.exe|cplmain.cpl,3
    or
    ...=%WINDOWS%\ctlpnl.exe;cplmain.cpl,3



    ACTIONURL - ACTIONURLPNX
    When you associate JMLPanex to a plugin, JMLPanexForPlugin.mscr store the old ACTIONURL value in ACTIONURLPNX
    sigpic

    If i helped hit that THANKS button

    Comment

    Working...