Re: an annual calendar somewhere? (done)

2010-03-02 Thread Andre.Bisseret
Bonjour, Thanks a lot to Robert, Zrypt, Richard, Bernd who provided very helpful material and the others who chimed in helping to push along :-) I have now an annual calendar with 12 lines, one for each month. The days of weeks are in a separate field at the top of the display (not repeated

Re: an annual calendar somewhere?

2010-03-01 Thread Andre.Bisseret
Le 1 mars 10 à 12:06, BNig a écrit : André, I haven't tried to select a range of dates, yet. I tried but seems not possible in a table field (?) in the property inspector for the field of stack "calendar lines" go to tables, unselect crevTable, than in the basic properties make shure lo

Re: an annual calendar somewhere?

2010-03-01 Thread BNig
André, >I haven't tried to select a range of dates, yet. >I tried but seems not possible in a table field (?) in the property inspector for the field of stack "calendar lines" go to tables, unselect crevTable, than in the basic properties make shure lock text is true and traversal on is checked.

Re: an annual calendar somewhere?

2010-03-01 Thread Andre.Bisseret
Bonjour Robert, Le 28 févr. 10 à 23:26, Robert Cole a écrit : André: I continue to have fun with your calendar question. Am very glad to hear that :-) I just uploaded another stack called "Calendar Lines" that produces a one-line-per-month format. I downloaded it; really nice look :-) It al

Re: an annual calendar somewhere?

2010-03-01 Thread Andre.Bisseret
Bonjour Zryip, Le 27 févr. 10 à 20:21, zryip theSlug a écrit : … … To fix this bug, replace the pad part by this new portion: -- Pad beginning with empty days: put createDate(tYear,tMonthNumber,1) into tStartDay convert tStartDay to dateitems get last item of tStartDay if (pFirstDayW

Re: an annual calendar somewhere?

2010-02-28 Thread Robert Cole
André: I continue to have fun with your calendar question. I just uploaded another stack called "Calendar Lines" that produces a one-line-per-month format. It also allows you to transpose the calendar into a one-column-per- month. I wrote a transpose function that uses the split command and the

Re: an annual calendar somewhere?

2010-02-27 Thread zryip theSlug
2010/2/27 Andre.Bisseret : > Bonjour Zryip, > > Starting from your very nice script, I am modifying it so that I obtain one > month per line. > I managed to get the days of weeks repeated five times separated by tab in > the first line of the field (with tab stops in it) >  I suppressed carriage re

Re: an annual calendar somewhere?

2010-02-27 Thread Andre.Bisseret
Bonjour Zryip, Starting from your very nice script, I am modifying it so that I obtain one month per line. I managed to get the days of weeks repeated five times separated by tab in the first line of the field (with tab stops in it) I suppressed carriage returns and I added "tab" between we

Re: an annual calendar somewhere?

2010-02-27 Thread Andre.Bisseret
Bonjour, 2010/2/26 Richard Gaskin : FWIW, here's a a function I pulled out of my archives which is a sort of variant of Cal in native RevTalk, making a single month from a date passed to it. I'll leave it as an exercise to the user to make a year out of it if needed. One of the nice thin

Re: an annual calendar somewhere?

2010-02-26 Thread zryip theSlug
2010/2/26 Andre.Bisseret : > Thank you much Bob for this nice calendar. > Also, thanks to the others who added comments, results of trials and > elaborated. > I was not waiting for such a "rush" on this topic ;-)) > > However, my problem is not solved with this kind of layout. Mostly I need > that

Re: an annual calendar somewhere?

2010-02-26 Thread zryip theSlug
2010/2/26 Richard Gaskin : > FWIW, here's a a function I pulled out of my archives which is a sort of > variant of Cal in native RevTalk, making a single month from a date passed > to it.  I'll leave it as an exercise to the user to make a year out of it if > needed. > > One of the nice things abou

Re: an annual calendar somewhere?

2010-02-26 Thread zryip theSlug
2010/2/26 Brian Yennie : > According to the ncal docs, the country code has nothing to do with language, > just Gregorian dates: > >    -s country_code >            Assume the switch from Julian to Gregorian Calendar at the date >            associated with the country_code.  If not specified, nca

Re: an annual calendar somewhere?

2010-02-26 Thread Richard Gaskin
FWIW, here's a a function I pulled out of my archives which is a sort of variant of Cal in native RevTalk, making a single month from a date passed to it. I'll leave it as an exercise to the user to make a year out of it if needed. One of the nice things about RevTalk is that the weekDayNames

Re: an annual calendar somewhere?

2010-02-26 Thread Andre.Bisseret
Thank you much Bob for this nice calendar. Also, thanks to the others who added comments, results of trials and elaborated. I was not waiting for such a "rush" on this topic ;-)) However, my problem is not solved with this kind of layout. Mostly I need that the user be able to highlight peri

Re: an annual calendar somewhere? - French Version

2010-02-26 Thread Francis Nugent Dixon
Hi from Beautiful Brittany, I played with "zryip theSlug's" code for all of 30 seconds, replace ncal command by "cal 2010", corrected the line ending errors, corrected the month of August, and it all works fine for me. I'm on 10.5.8. Merci Monsieur "zryip theSlug" Francis on mouseUp local t

Re: an annual calendar somewhere?

2010-02-25 Thread Yves COPPE
Le 25-févr.-10 à 23:05, zryip theSlug a écrit : put shell("ncal -s FR 2010") into tTheCal error : /bin/sh: line 1: ncal: command not found Greetings. Yves COPPE yvesco...@skynet.be Maybe you are in 10.4? Re, no, 10.5.7 Greetings. Yves COPPE yvesco...@skynet.be ___

Re: an annual calendar somewhere?

2010-02-25 Thread Robert Cole
I created a small stack to show how I use a monthly calendar (using the shell command) and the mouseText function to pick a date. I just uploaded "Calendar Picker" to RevOnLine where it is now available for download. Please feel free to use this stack and refine the visual appearance. It can b

Re: an annual calendar somewhere?

2010-02-25 Thread Brian Yennie
According to the ncal docs, the country code has nothing to do with language, just Gregorian dates: -s country_code Assume the switch from Julian to Gregorian Calendar at the date associated with the country_code. If not specified, ncal tries to guess the

Re: an annual calendar somewhere?

2010-02-25 Thread zryip theSlug
2010/2/25 J. Landman Gay : > zryip theSlug wrote: >> >> Maybe you are in 10.4? >> >> > > It does seem to be OS-related. On my Snow Leopard machine, ncal is > supported. On my plain Leopard Mac, it is not. But even on Snow Leopard I > don't see French, the calendar is returned in English. Thanks, i

Re: an annual calendar somewhere?

2010-02-25 Thread J. Landman Gay
zryip theSlug wrote: Maybe you are in 10.4? It does seem to be OS-related. On my Snow Leopard machine, ncal is supported. On my plain Leopard Mac, it is not. But even on Snow Leopard I don't see French, the calendar is returned in English. -- Jacqueline Landman Gay | jac...@h

Re: an annual calendar somewhere?

2010-02-25 Thread zryip theSlug
2010/2/25 zryip theSlug : > 2010/2/25 Yves COPPE : >> >> Le 25-févr.-10 à 22:37, zryip theSlug a écrit : >>> >>> Okay, okay. >>> >>> on mouseUp >>>  local tTheCal, tTheMonth, tTheFrenchMonth, tTheDay, tTheFrenchDay >>> >>>  put >>> "January,February,March,April,May,June,July,August,September,O

Re: an annual calendar somewhere?

2010-02-25 Thread zryip theSlug
2010/2/25 Yves COPPE : > > Le 25-févr.-10 à 22:37, zryip theSlug a écrit : >>> >> >> Okay, okay. >> >> on mouseUp >>  local tTheCal, tTheMonth, tTheFrenchMonth, tTheDay, tTheFrenchDay >> >>  put >> "January,February,March,April,May,June,July,August,September,October,November,December" >> into tTheM

Re: an annual calendar somewhere?

2010-02-25 Thread Yves COPPE
Le 25-févr.-10 à 22:51, zryip theSlug a écrit : I'm on OS X too, and it seems that the ncal and cal commands are linked. When you type: put shell("man ncal") into fld "Calendar Field" What do you get? re, I get this : No manual entry for ncal Greetings. Yves COPPE yvesco...@skynet.be

Re: an annual calendar somewhere?

2010-02-25 Thread Yves COPPE
Le 25-févr.-10 à 22:37, zryip theSlug a écrit : Okay, okay. on mouseUp local tTheCal, tTheMonth, tTheFrenchMonth, tTheDay, tTheFrenchDay put "January ,February ,March,April,May,June,July,August,September,October,November,December" into tTheMonth put "Janvier ,Février ,Mars,Av

Re: an annual calendar somewhere?

2010-02-25 Thread zryip theSlug
2010/2/25 J. Landman Gay : > zryip theSlug wrote: > >> >>   put tTheCal into fld "Calendar Field" >> >> end mouseUp >> >> And now? >> >> > > When I tried to use "ncal" on OS X, the command wasn't found. It seems it is > unsupported there. > > -- > Jacqueline Landman Gay         |     jac...@hyperac

Re: an annual calendar somewhere?

2010-02-25 Thread J. Landman Gay
zryip theSlug wrote: put tTheCal into fld "Calendar Field" end mouseUp And now? When I tried to use "ncal" on OS X, the command wasn't found. It seems it is unsupported there. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http:

Re: an annual calendar somewhere?

2010-02-25 Thread zryip theSlug
2010/2/25 Yves COPPE : > > Le 25-févr.-10 à 21:56, zryip theSlug a écrit : > >> 2010/2/25 Yves COPPE : >> >>> one question : is it possible to get the calendar in the chosen language >>> in >>> the preferences system (in my case : french) ? >>> >> >> Not sure that the calendar is stored in differen

Re: an annual calendar somewhere?

2010-02-25 Thread Richmond Mathewson
For an understanding of the parameters of the calendar do this: put shell ("call -500") into fld "Calendar Field" that will generate an error (hard luck Herodotus!) and details of all the parameters . . . ___ use-revolution mailing list use-revolution@

Re: an annual calendar somewhere?

2010-02-25 Thread Yves COPPE
Le 25-févr.-10 à 21:56, zryip theSlug a écrit : 2010/2/25 Yves COPPE : one question : is it possible to get the calendar in the chosen language in the preferences system (in my case : french) ? Not sure that the calendar is stored in different languages. For french, try this: put shell

Re: an annual calendar somewhere?

2010-02-25 Thread Richmond Mathewson
AND . . . it works on Linux as well . . . :) Presumably this is because of the common UNIXy base of both Mac OS X and Linux. So, to get hold of a Julian calendar would involve mucking around with the data that arrived in the display field. And an Islamic, Jewish, Buddhist or Hindu (there are l

Re: an annual calendar somewhere?

2010-02-25 Thread zryip theSlug
2010/2/25 Yves COPPE : > Re, > > ye ! > > one question : is it possible to get the calendar in the chosen language in > the preferences system (in my case : french) ? > > > Greetings. > > Yves COPPE > yvesco...@skynet.be > Yves, Not sure that the calendar is stored in different languages. F

Re: an annual calendar somewhere?

2010-02-25 Thread Yves COPPE
Le 25-févr.-10 à 20:45, Robert Cole a écrit : André: On Mac OS X, I use a simple shell command to put the calendar into a field . put shell("cal 2010") into field "Calendar Field" Be sure to use a monospace font like Courier in the field Bob - - - - - - - Re, ye ! one question

Re: an annual calendar somewhere?

2010-02-25 Thread zryip theSlug
2010/2/25 Robert Cole : > André: > On Mac OS X, I use a simple shell command to put the calendar into a field . >     put shell("cal 2010") into field "Calendar Field" > Be sure to use a monospace font like Courier in the field > Bob Thanks for the tip, Bob ;) More infos for using the cal shell

Re: an annual calendar somewhere?

2010-02-25 Thread J. Landman Gay
Robert Cole wrote: André: On Mac OS X, I use a simple shell command to put the calendar into a field . put shell("cal 2010") into field "Calendar Field" Be sure to use a monospace font like Courier in the field !!! Had no idea. That is too cool. -- Jacqueline Landman Gay | j

RE: an annual calendar somewhere?

2010-02-25 Thread Robert Cole
André: On Mac OS X, I use a simple shell command to put the calendar into a field . put shell("cal 2010") into field "Calendar Field" Be sure to use a monospace font like Courier in the field Bob - - - - - - - Bonjour, I need an annual calendar, one which could be display entirely on one c