Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Dialects - Bane or Blessing? (was: Teaching Rebol)

From: gerardcote:sympatico:ca at: 28-Sep-2002 10:51

Hi Gregg, regarding some dialects of your own, ---------------------------- You wrote: ------------------------------------
> I have a few I've done as well, and let's not forget about make-doc and it's > relatives! Here are some examples of a few of mine. > > ===Send-keys (for sending keystrokes to other applications): > > win-send-keys compose [ > "Gregg" return tab F5 > alt #"f" #"o" wait 0:0:0.1 alt "n" wait .5 escape > {^/This is some more text (with a "quote")... > no less. } > divide return > shift ["i" shift-up "rwin"] return > shift "i" "rwin" return > "Irwin" return > "0" 10 return > (s: copy "" repeat i 10 [append s form i]) return > (do func [/local s] [s: copy "" repeat i 10 [append s to char! add i 64] > s]) return > ctrl "s" wait .5 escape return > ] >
----------------------------------------------------------------------------------------- Sometime ago I asked myself how I could emulate the VB Send-Key function using REBOL since I will need it soon. I planned to use the Windows API but this requires the /View PRO that I can't afford yet - other short term priorities appeared here recently !!! Probably I'll get it in december instead of mid-september as originally planned :-) So my question is : Do you also use the Windows API under the hood of your Win-send-keys DIALECT ? When I will have done my own it is possible that I recontact you about your Dialect since this looks an easier way to do things than I originally planned to do them myself - do you agree ? Thanks in advance, Gerard