Guest guest Posted July 10, 2007 Report Share Posted July 10, 2007 Dear Friends, The discussion groups does not permit sending JHD, Jagannatha Hora Data, files as attachments. Hence, the chart is sometimes pasted as text in the email. We need to again manually enter all the data to create the JHD file. To avoid this pain, I created a small utility program in Java (also available in perl) to recreate the JHD file from the text contents in the email. The utility program can be downloaded from the following link textToJHD.class <http://sanjaychettiar.googlepages.com/textToJHD.class>. If any user is interested in having source code it can be downloaded from this link textToJHD.java <http://sanjaychettiar.googlepages.com/textToJHD.java>. Normal users can download only the textToJHD.class<http://sanjaychettiar.googlepages.com/textToJHD.class>file to desired folder. Let's assume your desired folder to save is in C:\JyotishTools, The complete reference to the saved file would be at C:\JyotishTools\textToJHD.class. *Note:, To run/execute the program you should have Java installed on you machine and be available on the path settings. Normally most machines will have this. If you have perl installed on your machine you can download the perl version of the same utility createJHD.pl <http://sanjaychettiar.googlepages.com/createJHD.pl>* Now, The procedure to use this program is very simple. Lets assume the text given at the end of this document appears in an email. Then - select using the drag motion of your mouse cursor all lines marked in *Blue, *i.e from 'Date:'... to ... Place: line '10 " '. - Press *Control-C, *To copy the select lines into clipboard. - In, *Start;Run Menu, *Type *CMD *Press OK A command prompt will appear, (Can be something like (C:\Documents and Settings\LoginName>), Now assuming you saved you the textToJHD.class file in C:\JyotishTools, - Type *C: *Press Enter (Or any other drive on which you saved) - Type* CD C:\JyotishTools *(Or any other folder where you saved the class file), Press Enter - Type *Java textToJHD.class *If everything is right then the lines you copied in to clipboard will be taken as data to create a temp.JHDfile and it may open up. *Warm Regards* *Sanjay P* *http://sanjaychettiar.googlepages.com/ * *-------------------------- * sanjay Natal Chart * July 19, 1971 Time: 9:20:30 Time Zone: 5:30:00 (East of GMT) Place: 78 E 05' 10 " , 10 N 57' 10 " --, --* Altitude: 400.00 meters Lunar Yr-Mo: Virodha-krit - Ashadha Tithi: Krishna Dwadasi (Me) (27.62% left) Vedic Weekday: Monday (Mo) Nakshatra: Rohini (Mo) (1.98% left) Yoga: Vriddhi (Me) (9.10% left) Karana: Taitula (Me) (55.23% left) Hora Lord: Mars (5 min sign: Aq) Mahakala Hora: Mars (5 min sign: Sc) Kaala Lord: Sun (Mahakala: Sun) Sunrise: 6:03:07 Sunset: 18:44:09 Janma Ghatis: 8.2243 Ayanamsa: 23-27-46.69 Sidereal Time: 4:48:02 Quote Link to comment Share on other sites More sharing options...
Guest guest Posted July 10, 2007 Report Share Posted July 10, 2007  ||Namah Shivaya||Dear Sanjay P, Thanks for this excellent, much wanted, utility. The programme Jhora hangs and doesnt open the file with this command. text to JHD.CLASS (without spaces) ' Java textToJHD.class' doesnt work. Regards Sharat - Sanjay Prabhakaran sohamsa ; vedic astrology Tuesday, July 10, 2007 9:12 AM Create JHD File from textDear Friends,The discussion groups does not permit sending JHD, Jagannatha Hora Data, files as attachments. Hence, the chart is sometimes pasted as text in the email. We need to again manually enter all the data to create the JHD file. To avoid this pain, I created a small utility program in Java (also available in perl) to recreate the JHD file from the text contents in the email. The utility program can be downloaded from the following link textToJHD.class. If any user is interested in having source code it can be downloaded from this link textToJHD.java. Normal users can download only the textToJHD.class file to desired folder. Let's assume your desired folder to save is in C:\JyotishTools, The complete reference to the saved file would be at C:\JyotishTools\textToJHD.class. Note:, To run/execute the program you should have Java installed on you machine and be available on the path settings. Normally most machines will have this. If you have perl installed on your machine you can download the perl version of the same utility createJHD.plNow, The procedure to use this program is very simple. Lets assume the text given at the end of this document appears in an email. Then select using the drag motion of your mouse cursor all lines marked in Blue, i.e from 'Date:'... to ... Place: line '10"'. Press Control-C, To copy the select lines into clipboard. In, Start;Run Menu, Type CMD Press OKA command prompt will appear, (Can be something like (C:\Documents and Settings\LoginName>), Now assuming you saved you the textToJHD.class file in C:\JyotishTools, Type C: Press Enter (Or any other drive on which you saved)Type CD C:\JyotishTools (Or any other folder where you saved the class file), Press EnterType Java textToJHD.class If everything is right then the lines you copied in to clipboard will be taken as data to create a temp.JHD file and it may open up.Warm RegardsSanjay Phttp://sanjaychettiar.googlepages.com/-------------------------- sanjayNatal Chart July 19, 1971Time: 9:20:30Time Zone: 5:30:00 (East of GMT)Place: 78 E 05' 10", 10 N 57' 10" --, --Altitude: 400.00 metersLunar Yr-Mo: Virodha-krit - AshadhaTithi: Krishna Dwadasi (Me) (27.62% left)Vedic Weekday: Monday (Mo)Nakshatra: Rohini (Mo) ( 1.98% left)Yoga: Vriddhi (Me) (9.10% left)Karana: Taitula (Me) (55.23% left)Hora Lord: Mars (5 min sign: Aq)Mahakala Hora: Mars (5 min sign: Sc)Kaala Lord: Sun (Mahakala: Sun)Sunrise: 6:03:07Sunset: 18:44:09Janma Ghatis: 8.2243Ayanamsa: 23-27-46.69Sidereal Time: 4:48:02 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.