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

Terry's API Corner - Lock computer (Win 2k only)

 [1/3] from: depotcity:telus at: 15-Jun-2001 20:53

Lock up your workstation from a view button... windows 2000 only. REBOL [] a: %/c/winnt/system32/user32.dll b: load/library a c: "LockWorkStation" R: make routine! [] b c view layout [ button "Lock Computer" [R] ]

 [2/3] from: ptretter:charter at: 16-Jun-2001 6:58

Wow Terry, this stuff would make excellent contribution to the REBOL/Zine columns. I am particularly interested in these recent emails as I use /Pro myself. More importantly, one of the companies I support has a custom built application that they built and have extensive problems with and were approached about REBOL but it failed the evaluation as soon as they discovered it couldnt print. The company wants the end-user to be able to direct print jobs to any available printer installed on the win based machine. Any idea how to print to printer via the /library method? Paul Tretter

 [3/3] from: jeff::rebol::net at: 16-Jun-2001 9:25

Howdy, Paul, Terry:
> Wow Terry, this stuff would make excellent contribution to > the REBOL/Zine columns.
Exactly! Terry started posting these on the list minutes before the presses rolled. I was tempted to grab them real quick but time was short. :-( But this is a great example! You find a tip or trick, something nifty that you don't think is widely known. Certainly we want to share these with the community and the mailing list is good at doing that. But of course, it will be easier for people to find these kinds of tips and tricks in the Zine because that's what the Zine's all about, and a nifty trick can get buried in the rest of the list traffic and many who come later may never see it. But they may very well flip to page 4 of REBOL/Zine issue 9 Volume 6 and see your tip. :-) Send your guru stuff to both places if you like-- The nice thing about sending it into the Zine as well is that gives implicit permission to print it. ( Of course, I think it's fun to have a few tricks that people haven't already seen on the list show up in the zine too! (-: ) -jeff