Professional Web Applications Themes

Program / API to put monitor to sleep - Mac Applications & Software

In article <t4n7fv8th9t409m49c2i9sjl4ksqlh7u1f4ax.com>, Brian Medley <nonexistantverizon.net> wrote: >> * SetDimSuspendState() > >The above funcction seems to be most >promising for what I want todo. However, I created a small program >that used it, but it did not seem to do anything. I don't know, maybe you need to call DimmingControl(true) first or something. Did you manage to find any actual doentation for those calls?...

  1. #1

    Default Re: Program / API to put monitor to sleep

    In article <t4n7fv8th9t409m49c2i9sjl4ksqlh7u1f4ax.com>,
    Brian Medley <nonexistantverizon.net> wrote:
    >> * SetDimSuspendState()
    >
    >The above funcction seems to be most
    >promising for what I want todo. However, I created a small program
    >that used it, but it did not seem to do anything.
    I don't know, maybe you need to call DimmingControl(true) first or
    something. Did you manage to find any actual doentation for those
    calls?
    Lawrence D'Oliveiro Guest

  2. #2

    Default Re: Program / API to put monitor to sleep

    On Tue, 24 Jun 2003 21:22:26 +1200, Lawrence D'Oliveiro
    <ldogeek-central.gen.new_zealand> wrote:
    > I don't know, maybe you need to call DimmingControl(true) first or
    > something. Did you manage to find any actual doentation for those
    > calls?
    I guess I should have looked first:

    *** begin doc ***
    [url]http://developer.apple.com/doentation/Carbon/Reference/Power_Manager/01powermanager/function_group_7.html#//apple_ref/c/func/SetDimSuspendState[/url]

    Availability

    Supported in Carbon. Available in CarbonLib 1.0 and later when
    PowerMgr 1.1 or later is present. Available in Mac OS X 10.0 and
    later.

    Header: Power.h

    Carbon Porting Notes

    Calling this function on Mac OS X does nothing. Although available
    through Carbon on Mac OS X, SetDimSuspendState is unimplemented.
    *** end doc ***

    The part about being unimplemented in OS X seems significant...:{

    Brian Medley Guest

Similar Threads

  1. Can't put Pismo to sleep
    By David Smith in forum Mac Portable
    Replies: 1
    Last Post: August 14th, 06:01 PM
  2. WScript.Sleep in ASP
    By Tom B in forum ASP
    Replies: 6
    Last Post: August 14th, 02:53 PM
  3. Unexpected Sleep
    By Bill Jefferys in forum Mac Applications & Software
    Replies: 0
    Last Post: July 6th, 02:12 PM
  4. Sleep asynchronous?
    By JW in forum PHP Development
    Replies: 2
    Last Post: July 4th, 05:12 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139