home *** CD-ROM | disk | FTP | other *** search
/ Wacky Windows Stuff... / WACKY.iso / toolbook / altkey1.tbk (.txt) < prev    next >
Asymetrix ToolBook File  |  1991-02-24  |  9KB  |  47 lines

  1. System
  2. X"user"
  3. PostMessage(WORD, 
  4. DWORD)
  5. , 260, 18, 536870913)
  6. , 261, 18, 536870913)
  7. , 262, 
  8. , 536870913)
  9. buttonUp
  10. buttonUp
  11. PostMessage
  12. PostMessage
  13. PostMessage
  14. PostMessage
  15. sendaltf
  16. Send Alt-F
  17. Renu:
  18. The button script contains a link into the USER dll provided with windows.  The script is rather opaque, but I hope the comments help. You can use the ANSI values for the various keys to pass them instead of F.  You can find the ANSI values on page 372 of "Using OpenScript". To send just the ALT key, simply send 0(integer zero) instead of keyF.
  19. =Eric
  20. sendaltf
  21. X"user" --the standard windows dll
  22. PostMessage(WORD, 
  23. DWORD)--posts a message 
  24. --The integers 260, 261, 
  25. 262 are understood 
  26. , respectively. Integer 18 
  27. defined on 
  28. "Using OpenScript" 
  29. %being something called '
  30. '(Your guess 
  31. %good 
  32. %mine).
  33.  know about 
  34. course. Bon 'appetit! 
  35. -- =Eric 
  36. , 260, 18, 536870913)
  37. , 261, 18, 536870913)
  38. , 262, 
  39. , 536870913)
  40. buttonUp
  41. buttonUp
  42. PostMessage
  43. PostMessage
  44. PostMessage
  45. PostMessage
  46. Send Alt-F
  47.