Apagar y encender Monitor

Aplicaciones de código fuente abierto para descargar

Apagar y encender Monitor

Notapor PowerDeath » Mar Abr 01, 2014 2:59 pm

Encontré un código echo en Au3 para apagar el monitor y encenderlo, Lo traduci a pauscal y quedo así:

Código: Seleccionar todo
Importar "PscVentanas.prp" ' Libreria de manejo de ventanas.

Proc SendMessage(hWnd,Msg,wParam:Entero,lParam:EnteroSig):Entero, "User32.dll" "SendMessageW" ' Api SendMessage

Var Ventana:PscVentanas ' Declara que "Ventana" Es el objeto de la clase "PscVentanas"
Crear Ventana ' Crea el objeto
Eval Ventana
.BuscarVentana("Program Manager","Progman") ' Busca el escritorio de windows.
SendMessage(.HWND,274,61808,2) ' Envía un mensaje para apagar.
Sleep(1000) ' Pausar
SendMessage(.HWND,274,61808,-1) ' Envía otro mensaje para encender.

Lo probé y ando de 10, Saludos!
Mensajes: 160
Registrado: Sab Ago 11, 2012 5:29 am


Re: Apagar y encender Monitor

Notapor ErikH » Mié Abr 02, 2014 4:20 am

Necesitaré "PscVentanas" para poder usarlo.

Por cierto, ¿En que versión de Windows lo probaste?
ImagenEntrá a la wiki en OpenShift
Mensajes: 151
Registrado: Jue Nov 29, 2007 11:24 pm
Ubicación: Algún lugar de México

Re: Apagar y encender Monitor

Notapor PowerDeath » Mié Abr 02, 2014 9:04 am

Lo probé en Windows 7 Ultimate, Service Pack 1
Mensajes: 160
Registrado: Sab Ago 11, 2012 5:29 am

cheap chian jerseys 0-25-0-25-242833 wholesale jerseys china

Notapor eOWw4ArvBq » Lun Abr 30, 2018 10:54 am

If you hate religion so much, which I do not but I just saying to all you fundamentalist nu atheists, then solve it with brining people out of poverty and providing education.. In 1987 they all moved in together.. And it was one of the best hot dogs I had ever tasted.

What happens if you get sick / a bus runs you over / you get a breakdown due to stress? And that is true even if everything was running smoothly, never mind now that stuff breaks down.. I don think DOTA can rely on a strong percentage of it population ignoring other opinion of how to spend their time just because they spend $3 this month on hats.

wholesale football jerseys Even more suffered brain damage to such a degree that they never lived independently again. Overpowered interactions with super armor/frontal guards/blocks where he can actually crown control people through them, when normally you would be unable to.. wholesale football jerseys

cheapjerseys Very much this. The porcelain should be very fine and thin, with a translucent look. It might just be the brand I chose, though). Originally the order information in the Google Store estimated that the package would arrive on the 23rd or 24th. You had all these multiples [throwing out food] and then you walk down the street and there be a sign for raising money for [the charity] St Vincent de Paul. cheapjerseys

The only reason users matter if for the $/user value. Rogers ("Won't You Be My Neighbor," June 8) and Pope Francis (May 18).. Reporter: But Harding says actress Allison Janney's portrayal of her mother is spot on. Why? There was nothing in front of him and no opportunity to make a turn.

cheapjerseys I have been longboarding for 10 years here and it always was better to stick to trails (like the Burke Gilman trail), walking paths, and sidewalks because generally our streets are super hilly + filled with traffic + terrible condition (potholes, cracks, generally non fresh pavement).If you bring your board, I suggest avoiding the streets unless you in a non downtown residential area with very little traffic which is hard to find. cheapjerseys

YOU WILL NEVER UNDERSTAND OUR LIFESTYLE. You always just leasing it and turning it in to get into another lease. My flavor of Lux support uses this rune page and builds Eye of the Watchers, Athene Ardent Censor, Redemption, Sorc Boots. Although "only" seventh in all time victories, the excellence of this program spans the last fifty years and UCLA's impact on the game is second to none.

cheap jerseys wholesale It is also used to relieve suppressed menstruation problems in women, as well as in the regulation of abnormal flow. Granberry, sat her students around a big communal table where we could all see one another and be supervised. The rules lean heavily on safety protocols, grouping children of similar age and size to reduce the risk of injury. cheap jerseys china

cheap jerseys china In a rational age, karma is a popular and fairly legitimatized form of superstition, unlike its closely related partner, reincarnation.. It helps if you a top tier team with a big budget of course. This was for an event with 65 people. So slowly over time your spotify app balloons up to several gigs, you low on storage, and the only way to free it is to delete the app and re install.. cheap jerseys china

cheap football jerseys Now, when my grown children and sons in law ride motorcycles, I nag them to wear motorcycle helmets. Going supersonic over populated areas results in sonic booms for those beneath and behind, which can be unsettling, unpleasant, and potentially damaging. cheapjerseys

They saw him for who he was, a lonely and harmless old man who was eccentric. I don't why can't. Closed cycle engines are more complex than open cycle (Like the Merlin). Good for you. He found the following.. I ran. It's speculated that some religions banned certain foods and had strict eating practices to keep members from eating with people of different religions.

cheap football jerseys They light the darkness with a warmth that banishes reality and invites the mind to meander through the realm of dreams. This match will likely decide which team gets relegated. Thank you so much. My son and I have read his dog eared copy of Llama Llama Mad At Mama so often now that he waits with eager anticipation to recite the familiar phrases in the story cheap football jerseys.
Mensajes: 593
Registrado: Jue Abr 26, 2018 11:36 pm

Re: Apagar y encender Monitor

Notapor verlene » Lun Jun 24, 2019 11:16 am

Mensajes: 27031
Registrado: Sab Abr 20, 2019 2:35 am

Volver a Código Abierto

¿Quién está conectado?

Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 2 invitados