![]() |
[WM65] [Titanium program] JMLPanex v099 (29-Aug-2009)
1 Attachment(s)
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 |
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 |
| All times are GMT -4. The time now is 10:36 AM. |
Powered by vBulletin® Version 3.8.14
Copyright ©2000 - 2026, vBulletin Solutions Inc.
POWERED BY PHILLYFINESTSERVERSTAT FOR WCKEDIDEN|- NEXTELELITE| - PPCTHEME| - IDENINSIDER