Index
2010-08-03 00:53Sytze de Boer : VFP - Time functions
2010-08-03 00:57Vincent Teachout : Re: VFP - Time functions
2010-08-03 01:00Vincent Teachout : Re: VFP - Time functions
2010-08-03 01:11Sytze de Boer : Re: VFP - Time functions
2010-08-03 01:22Joel N. Fischoff : Re: VFP - Time functions
2010-08-03 01:27Sytze de Boer : Re: VFP - Time functions
2010-08-03 09:22Vincent Teachout : Re: VFP - Time functions
2010-08-03 13:54Paul Hill : Re: VFP - Time functions
2010-08-03 22:18Lew Schwartz : Re: VFP - Time functions
Back to top
VFP - Time functions

Author: Sytze de Boer

Posted: 2010-08-03 00:53:34   Link

What's the best method to determine if NOW is between 6 am and 6 pm ?

--

Regards

Sytze de Boer

Kiss Systems

Hamilton, NZ

Ph: 64-7-8391670, Mob:64 21 937611

URL: www.kiss.co.nz

--- StripMime Report -- processed MIME parts ---

multipart/alternative

text/plain (text body -- kept)

text/html

---

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/AANLkTi=Ajy37q5nqpWOXrGHBoP2xgZBpZPxd1LRDBp2L@mail.gmail.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2010 Sytze de Boer
Back to top
Re: VFP - Time functions

Author: Vincent Teachout

Posted: 2010-08-03 00:57:35   Link

Sytze de Boer wrote:

> What's the best method to determine if NOW is between 6 am and 6 pm ?

>

.T.

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/4C57A1BF.5080309@taconic.net

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2010 Vincent Teachout
Back to top
Re: VFP - Time functions

Author: Vincent Teachout

Posted: 2010-08-03 01:00:21   Link

Sytze de Boer wrote:

> What's the best method to determine if NOW is between 6 am and 6 pm ?

Sorry, couldn't resist.

Off the top of my head, tweak as needed:

BETWEEN(HOUR(datetime()), 6, 18)

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/4C57A265.8090403@taconic.net

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2010 Vincent Teachout
Back to top
Re: VFP - Time functions

Author: Sytze de Boer

Posted: 2010-08-03 01:11:05   Link

Vince, you're running hot

Now please give me a routine that I can use to AUTO MOVE the mouse a few

notches

i.e.

If !between 6 am and 6pm

move the mouse a bit

endif

S

On Tue, Aug 3, 2010 at 5:00 PM, Vincent Teachout <teachv@taconic.net> wrote:

> Sytze de Boer wrote:

> > What's the best method to determine if NOW is between 6 am and 6 pm ?

>

> Sorry, couldn't resist.

>

> Off the top of my head, tweak as needed:

>

> BETWEEN(HOUR(datetime()), 6, 18)

>

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/AANLkTimPotLUOk4dfzGWdCt4HuShXpP-TZtRsnBOSD55@mail.gmail.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2010 Sytze de Boer
Back to top
Re: VFP - Time functions

Author: Joel N. Fischoff

Posted: 2010-08-03 01:22:50   Link

> If !between 6 am and 6pm

> move the mouse a bit

> endif

Er, well, I've never had to do that myself, but why not just use the MOUSE

command?

Granted that you didn't say HOW you wanted to move the mouse, you can do

something like this:

If !BETWEEN(HOUR(datetime()), 6, 18)

Mouse At mrow(), mcol()+10

Endif

Or something like that. Also see:

http://msdn.microsoft.com/en-us/library/hks4ccc0%28VS.80%29.aspx

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/DC75C2FDC64443908F2B929B7E52E334@ASUS1

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2010 Joel N. Fischoff
Back to top
Re: VFP - Time functions

Author: Sytze de Boer

Posted: 2010-08-03 01:27:04   Link

Thank you all

S

On Tue, Aug 3, 2010 at 5:22 PM, Joel N. Fischoff <petrukio@rcn.com> wrote:

> > If !between 6 am and 6pm

> > move the mouse a bit

> > endif

>

> Er, well, I've never had to do that myself, but why not just use the MOUSE

> command?

>

> Granted that you didn't say HOW you wanted to move the mouse, you can do

> something like this:

>

> If !BETWEEN(HOUR(datetime()), 6, 18)

> Mouse At mrow(), mcol()+10

> Endif

>

> Or something like that. Also see:

>

> http://msdn.microsoft.com/en-us/library/hks4ccc0%28VS.80%29.aspx

>

>

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/AANLkTikh6shUT4+Lq0a3gCqGdTh28YJQT_YMNr8jcZjG@mail.gmail.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2010 Sytze de Boer
Back to top
Re: VFP - Time functions

Author: Vincent Teachout

Posted: 2010-08-03 09:22:03   Link

Sytze de Boer wrote:

> Vince, you're running hot

> Now please give me a routine that I can use to AUTO MOVE the mouse a few

> notches

> i.e.

> If !between 6 am and 6pm

> move the mouse a bit

> endif

Hmmm. Someone mentioned the mouse command, but maybe this is a good

time to ask what you're trying to accomplish?

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/4C5817FB.2020501@taconic.net

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2010 Vincent Teachout
Back to top
Re: VFP - Time functions

Author: Paul Hill

Posted: 2010-08-03 13:54:09   Link

On Tue, Aug 3, 2010 at 2:22 PM, Vincent Teachout <teachv@taconic.net> wrote:

> Sytze de Boer wrote:

>> Vince, you're running hot

>> Now please give me a routine that I can use to AUTO MOVE the mouse a few

>> notches

>> i.e.

>> If !between 6 am and 6pm

>>    move the mouse a bit

>> endif

>

> Hmmm.  Someone mentioned the mouse command, but maybe this is a good

> time to ask what you're trying to accomplish?

I'm guessing Sytze wants to disable the screen saver during work hours!

--

Paul

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/AANLkTimfAhya6kaKd6thoEQptJ6c=MQbvTSUJSjBy6k_@mail.gmail.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2010 Paul Hill
Back to top
Re: VFP - Time functions

Author: Lew Schwartz

Posted: 2010-08-03 22:18:58   Link

The day after I got my first pc - a Leading Edge - I was reading through the

manual trying to understand everything, how to copy, make directories, del,

etc... I came across a section on move, but couldn't find the entry in the

docs, so I actually made a long distance phone call to complain & find out

how to, etc... Turned out it was a two-handed command performed with one on

each side of the computer.

--- StripMime Report -- processed MIME parts ---

multipart/alternative

text/plain (text body -- kept)

text/html

---

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/AANLkTikxEDRQo4nJNRu1oxRYrJ9jy73CNWcPiGwVh2-k@mail.gmail.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2010 Lew Schwartz