5,598,542 Members 45,761 Now Online
XDA Developers Android and Mobile Development Forum

[WM6.5] [Programs] JML.... tools (02-Nov-2010)

Tip us?
 
JMHL
Old
(Last edited by JMHL; 19th March 2011 at 10:10 PM.) Reason: JMLToday V5.90 released
#1  
Recognized Developer - OP
Thanks Meter 83
Posts: 650
Join Date: Apr 2006
Location: Bordeaux

 
DONATE TO ME
Default [WM6.5] [Programs] JML.... tools (02-Nov-2010)

Programs Used in JMLToday <= 5.92



Post#2 : Programs Informations


JMLPicture.exe See Post#3
Build a picture from multiple images/texts

JMLMenu.exe
Displays a context popup menu.

JMLComm.exe
Phone on/flight-mode, Wifi on/off, BT on/off/discoverable, Data on/off

JMLCalendar.exe
Saves the next appointments in registry

JMLSms.exe
Saves SMS in registry

JMLContacts.exe
Saves the next birthdays/anniversaries AND Favorites contacts in registry

JMLMeteo.exe
Saves the MSN or ACCU or GOOGLE weather informations in registry

JMLTasks.exe
Saves the next tasks in registry
If you like my work, thank you for offering me a beer. All donations are appreciated !
-> *Donate* <-
Contributions to XDA : JMLToday, JMLPanex, JMLStocks, JMLLauncher, JML...Tools, JMLPicture, JMLMenuSense etc...
If you use one of these programs in your developments/skins that have donations, thanks for a small donation.
 
JMHL
Old
(Last edited by JMHL; 5th November 2010 at 08:44 AM.)
#2  
Recognized Developer - OP
Thanks Meter 83
Posts: 650
Join Date: Apr 2006
Location: Bordeaux

 
DONATE TO ME
Programs Informations



JMLMenu v1.80
The menu is configurable via a .mnu file :
- The main menu is [Menu]
- One element per line of menu : label= program;parameters
- One section per submenu : use [] -> label=[mysubmenu]
- External submenu (.mnu file) : use {} -> label={filesubmenu.mnu}
- Separator : sepX=SEPARATOR (X=unique number)

Parameters :
Code:
-execute if menu as once choice, it execute it immediately (menu not show)
-x:X = X coordinate (X clic per default)
-y:Y  = Y coordinate (Y clic per default)
-timeout:N = timeout in seconds to hide menu (10s per default)
Example : JMLAction.mnu
Code:
[Menu] 
Restart Titanium=%JMLTODAY%\JMLToday.exe;-refresh 
Update=%JMLTODAY%\JMLToday.exe;-update 
Weather=%JMLTODAY%\JMLMeteo.exe;-jmltoday 
Configuration=[Config] 
Parameters={JMLParameters.mnu}  

[Config]
Clock=%WINDOWS%\ctlpnl.exe;cplmain.cpl,16,0 
Skin=%JMLTODAY%\JMLTodaySkins.mscr 
City=%JMLTODAY%\JMLTodayVille.mscr 
Language=%JMLTODAY%\JMLLang.mscr
To Launch :
- in a .pnx file : %JMLTODAY%\JMLMenu.exe;JMLAction.mnu
- in a .mscr script : Run(instPath&"\JMLMenu.exe","JMLAction.mnu")

---------------------------------------------------------------------------------

JMLComm v1.98

Parameters :
Code:
-vibrate:duration = make a vibration (duration=25ms per default)

-volume = toggle vibrate/mute/normal mode
-volume:mode = volume mode : vibrate,mute, normal
-volume:level = volume level : silent,verylow,low,medium,high,loud

-backlight = toggle auto/manual mode
-backlight:mode = backlight mode : auto,manual
-backlight:level = backlight level : mini,low,medium,high,maxi

-gps:timeout = store latitude/longitude in HKCU\\Software\\JML\\Comm (timeout=60s per defaut)

-status = store some informations in HKCU\\Software\\JML\\Comm 

-data  = toggle on/off data-connection
-data:on = switch ON data-connection
-data:off = switch OFF data-connection

-phone = toggle on/off phone
-phone:on = switch ON phone
-phone:off = switch OFF phone

-flight  =  toggle on/off flight-mode
-flight:on =  switch OFF phone, wifi, bluetooth
-flight:off = switch ON phone

-bt = toggle 3 states bluetooth
-bt:on = switch ON bluetooth
-bt:discoverable = switch ON with discoverable mode bluetooth
-bt:off  = switch OFF bluetooth

-bt2 = toggle on/off bluetooth
-bt2:on = switch ON bluetooth
-bt2:off  = switch OFF bluetooth

-wifi = toggle on/off wifi
-wifi:on = switch ON wifi
-wifi:off = switch OFF wifi
Example : turn OFF bluetooth
Code:
instPath = SystemPath( "ScriptPath" )
RunWait(instPath&"\JMLComm.exe", "-bt:off")
exit
---------------------------------------------------------------------------------

JMLCalendar v2.45

Registry structure:
Code:
[HKEY_CURRENT_USER\Software\JML\Calendar] 
"total" = dword: number of appointments found 

[HKEY_CURRENT_USER Software\JML\Calendar\CalN] 
"oid" = oid item in poom database
"allday" = 0=FALSE, 1=TRUE
"categories" = list of categories

...

"subject" = subject
Parameters for searching :
Code:
-max:N = maximum number wanted (5 per default)
-days:N = number of days involved (5 per default)
-reg:key =  registry key to store ("Calendar" per default)
Parameters for appointment :
Code:
-dateview:N = open poutlook.exe to view the appointment number N
-deleteall:end = delete all ended appointments (except reccurring appointments)
-deleteoid:oid =  delete an appointment identified by his oid
-notifyoid:oid =  show an appointment identified by his oid
---------------------------------------------------------------------------------

JMLSms v1.80

Registry structure:
Code:
[HKEY_CURRENT_USER\Software\JML\Sms] 
"total" = dword: number of SMS found 

[HKEY_CURRENT_USER Software\JML\Sms\SmsN] 
"oid" =  oid item in SMS in database
"unread"   = 1 if unread SMS, 0 otherwise

...

"subject"= subject
Parameters for searching :
Code:
-max:N = maximum number wanted (5 per default)
-read:all = last all type SMS (last unread per default)
-reg:key  = registry key to store ("Sms" per default)
Parameters for sms :
Code:
-phone:phone-number =  Call a phone number

-reply:N =  Send a response SMS
-reply:N =  -text:"my text" = Send a pre-defined text response SMS

-mark:N  = Mark as read the SMS
-mark:all  = Mark as read all SMS
-markid:oid  = Mark as read the SMS identified by his oid

-delete:N = Delete the SMS
-delete:all = Delete all SMS
-delete:unread  = Delete all Unread SMS
-deleteid:oid  = Delete the SMS identified by his oid

-call:N = Call in response to SMS (in order if exist : sender, mobilePhone, homePhone)

-notify:N = show the SMS
-notifyid:oid = show the SMS identified by his oid

-sms:phone-number =  Send a response SMS
-sms:phone-number =  -text:"my text" = Send a pre-defined text response SMS
---------------------------------------------------------------------------------

JMLContacts v1.95

Registry structure :
Code:
[HKEY_CURRENT_USER\Software\JML\Contacts\Anniversaries] 
"total" = dword: number of contacts found

[HKEY_CURRENT_USER Software\JML\Contacts\AnniversaryN] 
"oid" = oid of Contact in database

...

"picture"= full path of picture file name (in \My Documents\My Pictures...)
Idem for Favorites : in [HKEY_CURRENT_USER\Software\JML\Contacts\Favorites]

Parameters for searching :
Code:
-max:N = maximum number wanted (5 per default)
-days:N = number of days involved (30 per default)
-reg:key  = registry key to store ("Contacts" per default)
-anniversaries = search in 'Anniversary' field of contact 
-birthdays = search in 'Birthday' field of contact
-anniversaries -birthdays are per default

Parameters for contact :
Code:
-call:N = Call a contact

-email:address -account:account = Send a email from an account-name (Outlook per default)

-addfavorite:N = Add a new favorite contact
-removefavorite:N = Remove a favorite contact
-callfavorite:N = Call a favorite contact

-phone:phone-number  = Call phone number
-sms:phone-number = Send SMS to phone number
-smsoid:oid = Send SMS to phone number to contact identified by his oid
---------------------------------------------------------------------------------

JMLMeteo v2.55

Registry structure:
Code:
[HKEY_CURRENT_USER\Software\JML\Meteo] 
"total" = dword: number of days found
...


[HKEY_CURRENT_USER Software\JML\Meteo\Current] 
...

[HKEY_CURRENT_USER Software\JML\Meteo\DayN] 
...
Parameters :
Code:
-gps : acquire gps location (as JMLComm.exe)

-msn:code = city code (ex. : FRXX0016)
-lang:ll-ll =  language (en-en per default)
-degree:C = C or F (C per default)
-map:m = number of map to download

-accu:code = city code (ex. : EUR|FR|FR002|BORDEAUX)
-metric: = 1 or 0 (1 per default)

-google:code = city code (ex. : Bordeaux)
-lang:ll =  language (en per default)
-degree:C = C or F (C per default)
GPS location with built-in jmlPosition:
Code:
-gps
-accu:jmlPosition
-metric: = 1 or 0 (1 per default)
OR Acquire GPS-location with JMLComm.exe and next call JMLMeteo with :
Code:
-accu:jmlPosition
-metric: = 1 or 0 (1 per default)

GPS location with Sleuth's myLocation Service :
- first, install http://forum.xda-developers.com/showthread.php?t=607102
- use it to update Latitude/Longitude coordinates
- next, call JMLMeteo.exe with these parameters :
Code:
-accu:myLocation
-metric: = 1 or 0 (1 per default)
GPS location with Google Latitude:
- first, copy your googleLatitude account in google.ID file.
- next, call JMLMeteo.exe with these parameters :
Code:
-accu:googleLatitude
-metric: = 1 or 0 (1 per default)
---------------------------------------------------------------------------------

JMLTasks v1.40

Registry structure:
Code:
[HKEY_CURRENT_USER\Software\JML\Tasks] 
"total" = dword: number of tasks found 

[HKEY_CURRENT_USER Software\JML\Tasks\TaskN] 
"oid" = oid item in poom database
"categories" = list of categories
...
"subject" = subject
Parameters for searching :
Code:
-max:N = maximum number wanted (5 per default)
-days:N = number of days involved (5 per default)
-reg:key =  registry key to store ("Tasks]" per default)
-withCompleted = show all tasks
-sort:due = sort by due tasks 
-sort:start = sort by date (per default)
manila = store all tasks in HKEY_LOCAL_MACHINE\Software\HTC\\Manila

Parameters for task :
Code:
-view:N = open poutlook.exe to view the task number N
-delete:N = delete the task number N
-complete:N = complete the task number N

-deleteall:due = delete all due tasks
-deleteall:completed = delete all completed tasks

-deleteoid:oid = delete the task identified by his oid
-completeoid:oid = complete the task identified by his oid
---------------------------------------------------------------------------------

JMLFavorites v1.00 (SOON)

Registry structure :
Code:
[HKEY_CURRENT_USER\Software\JML\Favorites] 

[HKEY_CURRENT_USER Software\JML\Favorites\FavoriteN] 
"type" = type of favorite : 'contact' or 'program'
"picture"= full path of picture file name 
"label"= fistname for contact, filename for program 

...
Parameters for favorite :
Code:
-call:N = CALL a contact or RUN a program
-add:N = Add a new favorite (contact per default)
-type:contact = with -add parameter, add a 'contact' 
-type:program = with -add parameter, add a 'program'
-remove:N = Remove a favorite
---------------------------------------------------------------------------------
 
JMHL
Old
(Last edited by JMHL; 2nd November 2010 at 11:48 AM.)
#3  
Recognized Developer - OP
Thanks Meter 83
Posts: 650
Join Date: Apr 2006
Location: Bordeaux

 
DONATE TO ME
JMLPicture Thank you for offering me a beer. All donations (3€, 5$, +) are appreciated !

Build a picture from multiple images/texts (see picture below).

<Picture...> Parameters :
Code:
Width result picture with
Height result picture height
Bkg initial background color (RGB format)
Transparent set one color of result picture as transparent (RGB format)
Target png file name of result picture
Source png file name of background picture
<Image...> Parameters :
Code:
Left left-coordinate
Top top-coordinate
Width with of displaying picture (with of picture per default)
Height height of displaying picture (heigh of picture per default)
ScaleStyle 
Alignment 
ID JMLToday ID ITEM (Page is required)
Page JMLToday Page ITEM (ID is required)
<Text...> Parameters :
Code:
Left left-coordinate
Top top-coordinate
Width with of displaying text
Height height of displaying text
Value text value
FontFamily font name
FontSize font size
FontStyle font style : 'italic', 'bold'
Color text color (RGB format)
Alignment 'center', 'right' or 'left' (per default)
ID JMLToday ID ITEM (Page is required)
Page JMLToday Page ITEM (ID is required)
Example : ClockText.xml
Code:
<Picture Width="400" Height="200" Bkg="192,192,192" Target="%APPDIR%/ClockText.png">    
	<Image Left="0"   Top="0"  ID="BGAMPMALARM" Page="Page1" />    
	<Image Left="20"  Top="40" ID="H1" Page="Page1" />    
	<Image Left="100" Top="40" ID="H2" Page="Page1" />    
	<Image Left="225" Top="40" ID="M1" Page="Page1" />    
	<Image Left="305" Top="40" ID="M2" Page="Page1" />
        <Text  Left="15"  Top="140" Value="AM" Color="128,0,0" FontFamily="Tahoma" FontSize="8" FontStyle="Bold,Italic" />
        <Text  Left="15"  Top="160" ID="City" Page="Page1" FontFamily="Tahoma" FontSize="6" FontStyle="Italic" />
</Picture>
Attached Thumbnails
Click image for larger version

Name:	JMLPicture.png
Views:	561
Size:	55.4 KB
ID:	408224  
If you like my work, thank you for offering me a beer. All donations are appreciated !
-> *Donate* <-
Contributions to XDA : JMLToday, JMLPanex, JMLStocks, JMLLauncher, JML...Tools, JMLPicture, JMLMenuSense etc...
If you use one of these programs in your developments/skins that have donations, thanks for a small donation.
 
JMHL
Old
#4  
Recognized Developer - OP
Thanks Meter 83
Posts: 650
Join Date: Apr 2006
Location: Bordeaux

 
DONATE TO ME
@all : add some program informations ..... in Post#2

A++
 
howdykeith
Old
(Last edited by howdykeith; 9th February 2010 at 01:23 AM.)
#5  
Senior Member
Thanks Meter 2
Posts: 876
Join Date: Oct 2009
Location: East Greenwich, RI
Hi.

I sure do love command-line tools! I added them to the Mortscript Source Compendium's list.

And to facilitate my testing them to see if magically they will work with wm5 smartphones, I added a Command-Line tester to The Mortifier. So we can browse to the exe and enter our command line parameters. Keeps the old exe and parameters in memory so you can re-test them easily.

Thanks for these.
 
howdykeith
Old
#6  
Senior Member
Thanks Meter 2
Posts: 876
Join Date: Oct 2009
Location: East Greenwich, RI
Hi.

So i was using Message2reg.exe. It seems with wm653 m2reg gives an error.

I am trying to use jmlsms.exe to see if that can work.

Code:
RunWait(SystemPath("ScriptPath") \ "\Utility\JMLSms.exe","-read:all")

			MsgSender = RegRead(HKCU, "\Software\JML\Sms\Sms1", "sender")
			MsgBody = RegRead( HKCU,"\Software\JML\Sms\Sms1", "subject")
Think that looks good?
 
JMHL
Old
#7  
Recognized Developer - OP
Thanks Meter 83
Posts: 650
Join Date: Apr 2006
Location: Bordeaux

 
DONATE TO ME
@howdykeith : Yes I think it should work.
 
howdykeith
Old
#8  
Senior Member
Thanks Meter 2
Posts: 876
Join Date: Oct 2009
Location: East Greenwich, RI
Default StatusTicker and JML...

Hi,

So i incorporated JMLsms.exe and JMLcomm.exe into the StatusTicker.

Works super great!

In future version I will include more of you apps infos... I also will make sure to include the URL to your apps as well.

Thanks much!
 
dagosjt
Old
#9  
Senior Member
Thanks Meter 7
Posts: 229
Join Date: Dec 2006
Location: Roma
Hello,
I'm trying to use JMLContacts.exe to have birthdays on my WAD2 Skin.

I've installed JMLToday and everything worked fine and registry was filled by next 5 birthdays information.

Now I'm trying to update information outside of Titanium/JMLToday and to do it I'm using a mortscript.

Inside script I wrote the following line:

RunWait("\Storage Card\Program Files\UtilsExe\JML\JMLContacts.exe", "-max:3")

Unfortunately it seems not working, at least registry values are not updated. I double checked path and it appears absolutely correct.
More I tried to simply launching JMLContacts.exe directly from TCMD, and I expected it worked with all default values, but of course it didn't... Is my supposition a wrong one?

Meanwhile, thanks a lot to let available for us those little but great tools
Samsung Galaxy Note II N7100
X-Note

Samsung Galaxy Tab P1000
CyanogenMod 10.1 by Humberos/Alroger

Samsung Galaxy Ace S5830
CyanogenMod 10.1 RC4

Past smartphones: HTC Universal, HTC Touch HD
 
JMHL
Old
#10  
Recognized Developer - OP
Thanks Meter 83
Posts: 650
Join Date: Apr 2006
Location: Bordeaux

 
DONATE TO ME
@dagosjt :
you must use also -days (0 per default), -birthdays (and /or -anniversaries) parameters

example :

-max:3 -days:365 -birthdays

Ok ? thanks for feedback.

A++

PS : i think i 'll change the default parameters values in a next version...

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


TRENDING IN THEMER...