Chome edit yourself
Let's start with the simple -
CHome Editor v1.3 beta application page on the xda-devThis program allows you to add new items and pages chome menu.
Adding a new panel
- Menu - Add Panel
- We enter the new name of the toolbar (HaaliReader)
- Click Create New Panel
- Everything)
Add a new page to the panel and fill in the following fields in the attributes page
- ACTIONURL - path to the program (/ Program Files / HaaliReader / Reader.exe)
- PICTURES - The path to the program icons (/ Program Files / HaaliReader / Reader.png)
- SK2 Text - Text on the right soft key (Start)
- SK2URL - path to the program (/ Program Files / HaaliReader / Reader.exe)
- TEXT1 - The first line (Haali Reader)
- TEXT2 - The second line (E-Book reader)
Do not forget to click Save Item for each field
Restart chome and enjoy the new menu item)): rolleyes:
If that's not enough - you can try to do everything by hand (This method has a great advantage - more flexible settings)
About how to do this very well written Alexx ~ here
here Now write something worthwhile ...
First you need to install
MortScript, Maybe we will write it
CorePlayer control CHome
First thing disable the interface (set-to-day elements remove the checkbox with windows default)
Obtain from the folder windows Titanium_240x320.cpr (well or Titanium_320x240.cpr for landscape mode)
and add the following code to the last tag</ Form>:
<-! CorePlayer layout templates ->
<-! Large icon in upper right ->
<-! Image ID = "Image1" must match the name in the registry for Page1 ->
Image>
Text>
Text>
Layer>
Layer>
<-! Condensed Line 1 ->
Text>
Layer>
Layer>
add the following registry value:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE \ Software \ Microsoft \ CHome \ CorePlayer]
"Pages" = "Page1; Page2;"
"Updated" = dword: 00000000
"LocName" = "CorePlayer"
"Layout" = "CorePlayer"
"GUID" = "{F0A1B246-6E64-40cd-8E15-347D29FF6F18}"
"DataSource" = "Software \\ Microsoft \\ CHome \\ CorePlayer"
[HKEY_LOCAL_MACHINE \ Software \ Microsoft \ CHome \ CorePlayer \ Page2]
"SK2URL" = "/ Program Files / TitanScript / CloseCore.mscr"
"TEXT2" = "Close CorePlayer"
"TEXT1" = "CorePlayer"
"SK2Text" = "Close"
"ACTIONURL" = "/ Program Files / TitanScript / CloseCore.mscr"
"PICTURES" = ""
"Image1" = "/ Program Files / TitanScript / cl.png"
[HKEY_LOCAL_MACHINE \ Software \ Microsoft \ CHome \ CorePlayer \ Page1]
"SK2URL" = "/ Program Files / TitanScript / ShowCore.mscr"
"Image1" = "/ Program Files / TitanScript / cpp.png"
"SK2Text" = "Show"
"TEXT2" = "Play / Pause"
"TEXT1" = "CorePlayer"
"ACTIONURL" = "/ Program Files / TitanScript / Core.mscr"
[HKEY_LOCAL_MACHINE \ Software \ Microsoft \ CHome \ CorePlayer \ CondensedPage]
"PluginLabel" = "CorePlayer"
in a branch [HKEY_LOCAL_MACHINE \ Software \ Microsoft \ CHome]
find keys "Plugins" and "ExtensibilityXML" and added to each "CorePlayer;"
"Plugins" = "CEmail;
Coreplayer ; CClock; CPhone; CText "
"ExtensibilityXML" = "<Plugins Order = \ "CEmail;
CorePlayer; CClock; CPhone; CText "CPRFileName = \" Titanium \ "Displaystyle = \" Titanium \ "/>"
copy in the Program Files (in the main memory) TitanScript folder from the enclosure
CorePlayer must be installed in main memory, or have something to edit
includes an interface (set-to-day elements put the check with the windows default)
and enjoy the new menu item
First page:
- When you click in the area of ​​plug-in will begin playback of the track or stop if it has already been started
- When you press the right button - opens CorePlayer
Second page:
- When you click in the area of ​​plug-in or the right soft key will be closed CorePlayer
Now rassmonrim TitanScript contents of folders
I think 2 icon will not cause problems
play_start.exe - the program which starts CorePlayer so that he continued to play after the screen is turned off
CorePlayer.lnk - shortcut to launch CorePlayer through play_start
open his notebook:
200 # "\ Program Files \ TitanScript \ play_start.exe" "\ program files \ CorePlayer \ player.exe"? \ Program files \ CorePlayer \ player.exe, 0
if CorePlayer on a flash drive Replace the code for the next
200 # "\ Program Files \ TitanScript \ play_start.exe" "\ Storage Card \ program files \ CorePlayer \ player.exe"? \ Storage Card \ program files \ CorePlayer \ player.exe, 0
Core.mscr - CorePlayer starts, if it is closed and starts / stops playback when running CorePlayer
If (NOT (WndExists ( "CorePlayer")))
Run ( "\ Program Files \ TitanScript \ CorePlayer.lnk")
sleep (5000)
Endif
If (WndExists ( "CorePlayer"))
Minimize ( "CorePlayer")
SendCommand ( "CorePlayer", 1103)
Endif
If you do not want to use play_start replace the \ Program Files \ TitanScript \ CorePlayer.lnk on the way to CorePlayer (\ program files \ CorePlayer \ player.exe)
ShowCore - opens (deploys) CorePlayer starts or if it is closed
CloseCore - closes CorePlayer (no folds and closes completely)
Consider their code will not, maybe it is elementary
According to this principle can make the management of any program with CHome
Attached files
TitanScript.zip(22.99 Kb)
CHome_Editor_v1.3_Beta.cab(136,07 KB)
Post has been editedromanmaks - 12.11.09, 18:50Reason for editing: + from Sv32