These 3 functions will grant you access to a windows control in any app
running:
IF (chkfunc('FindWindow')) = 0 THEN
STDCALL function 'FindWindowA' alias 'FindWindow' (ptr text , ptr text ) :
integer
ENDIF
IF (chkfunc('FindWindowEx')) = 0 THEN
STDCALL function 'FindWindowExA' alias 'FindWindowEx' +
(ptr text , ptr text, integer, integer) : integer
ENDIF
IF (chkfunc('SendMessage')) = 0 THEN
STDCALL function 'SendMessageA' alias 'SendMessage' +
(ptr text, integer, integer, integer) : integer
ENDIF
----- Original Message -----
From: "Dan Goldberg" <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Wednesday, September 19, 2012 9:43 AM
Subject: [RBASE-L] - Re: Send character to screen
:I have tried a couple of them but have not been successful yet on
: control-characters.
:
: I will post my results when I got it working.
:
: Dan
:
: -----Original Message-----
: From: Mike Byerley
: Sent: Wednesday, September 19, 2012 6:36 AM
: To: RBASE-L Mailing List
: Subject: [RBASE-L] - Re: Send character to screen
:
: Did you try it? If it works for you, then use it. My way would be a 100%
: RBase solution as Armin Thoma implemented in his app a few weeks back. If
: you are unable to get satisfactory results, let me know. I would work it
: out with you off list and then you could report back here a How To for
: everyone.
:
:
:
:
: ----- Original Message -----
: From: "Dan Goldberg" <[email protected]>
: To: "RBASE-L Mailing List" <[email protected]>
: Sent: Tuesday, September 18, 2012 11:09 PM
: Subject: [RBASE-L] - Re: Send character to screen
:
:
: Sorry, got pulled onto something else.
:
: I started looking at it, googling it, and it is not making sense yet. I
did
: find something called sendkey. It seems pretty straight forward on sending
a
: keystroke. What do you think?
:
: Dan
:
: -----Original Message-----
: From: Mike Byerley
: Sent: 9/18/2012 7:27 PM
: To: [email protected] (RBASE-L Mailing List)
: Subject: [RBASE-L] - Re: Send character to screen
:
: Dan,
: Did you NOT want to make this work for you?
:
:
: ----- Original Message -----
: From: "Dan Goldberg" <[email protected]>
: To: "RBASE-L Mailing List" <[email protected]>
: Sent: Monday, September 17, 2012 10:11 AM
: Subject: [RBASE-L] - Re: Send character to screen
:
:
::I have a form that has a button and a memo field.
::
:: What I need to do is copy the text to the clipboard and press control-z
to
:: for the other program that is running to do it's thing.
::
:: I found property to copy the text to the clipboard but need to find a way
: to
:: have Rbase press control-z for me.
::
:: Dan
::
:: -----Original Message-----
:: From: Mike Byerley
:: Sent: Monday, September 17, 2012 7:00 AM
:: To: RBASE-L Mailing List
:: Subject: [RBASE-L] - Re: Send character to screen
::
:: In VB there is SendKey.. In RBase there is none.
::
:: If you supply a little more detail, the answer might be a little more
: clear
:: cut as to whether there is a workaround.
::
::
:: ----- Original Message -----
:: From: "Dan Goldberg" <[email protected]>
:: To: "RBASE-L Mailing List" <[email protected]>
:: Sent: Monday, September 17, 2012 9:17 AM
:: Subject: [RBASE-L] - Send character to screen
::
::
:: I need to put a button on a form that sends a Ctrl-Z to screen that runs
:: another program.
::
:: I think I have read on how to do this but it has been a long time.
::
:: Does anyone know the command to send a character to the screen?
::
:: TIA
::
:: Dan Goldberg
::
:: --- RBASE-L
:: ================================================
:: TO POST A MESSAGE TO ALL MEMBERS:
:: Send a plain text email to [email protected]
::
:: (Don't use any of these words as your Subject:
:: INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
:: REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
:: ================================================
:: TO SEE MESSAGE POSTING GUIDELINES:
:: Send a plain text email to [email protected]
:: In the message SUBJECT, put just one word: INTRO
:: ================================================
:: TO UNSUBSCRIBE:
:: Send a plain text email to [email protected]
:: In the message SUBJECT, put just one word: UNSUBSCRIBE
:: ================================================
:: TO SEARCH ARCHIVES:
:: Send a plain text email to [email protected]
:: In the message SUBJECT, put just one word: SEARCH-n
:: (where n is the number of days). In the message body,
:: place any
:: text to search for.
:: ================================================
::
::
:
: --- RBASE-L
: ================================================
: TO POST A MESSAGE TO ALL MEMBERS:
: Send a plain text email to [email protected]
:
: (Don't use any of these words as your Subject:
: INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
: REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
: ================================================
: TO SEE MESSAGE POSTING GUIDELINES:
: Send a plain text email to [email protected]
: In the message SUBJECT, put just one word: INTRO
: ================================================
: TO UNSUBSCRIBE:
: Send a plain text email to [email protected]
: In the message SUBJECT, put just one word: UNSUBSCRIBE
: ================================================
: TO SEARCH ARCHIVES:
: Send a plain text email to [email protected]
: In the message SUBJECT, put just one word: SEARCH-n
: (where n is the number of days). In the message body,
: place any
: text to search for.
: ================================================
:
: