Jump to content

Manko

Active Members
  • Posts

    196
  • Joined

  • Last visited

About Manko

  • Birthday 12/20/1972

Profile Information

  • Location
    Polar Ice Regions

Recent Profile Visitors

1,178 profile views

Manko's Achievements

Prodigy

Prodigy (4/7)

4

Reputation

  1. That is not a quote btw... XD
  2. Copy+replace 'TRUE' with 'NOT FALSE' ? (Dunno if that works, but it should? ...or something similar...)
  3. If you really found some examples that can do this, please point the way, because I have not found anything like that.
  4. Yah, I was lazy... I used: line number compiled error I found: It was maybe the 10th hit and the 4th thing I looked at... hmm... Warning! You have to read on a bit before you find the solution... /Manko
  5. @water: I was about to say that... But since you did. Let me be the devils advocate. What searchterms will yield the results, if you havn't read those threads? not that easy?! ...or am I too lazy today...?
  6. Check out "WTSEnumerateProcesses" API-call on MSDN. (First hit if you google it.) You'll have to edit the function... Dunno if it's any good remotely... seems like it uses netbios... /Manko
  7. This is a frequently asked question on the net. And the answer is always no. It is not possible to destinguish between shutdown and restart. It is crazy, but that is the way it is. (Atleast not in any straightforward way... Maybe hook shutdown-API... or other things...) /Manko
  8. This is not a userprivilege-exploit scheme... If you want to start a service, it should be a service. if you want to run any normal application with elevated privileges there are other scripts for that... If I misunderstand, just ignore... /Manko
  9. $STANDARD_RIGHTS_REQUIRED That variable constant has probably been moved to another include than when the UDF was written. Just search for it in the include-directory! for me it resides in SecurityConstants.au3, but I don't have the newest version and certainly not the beta... /Manko
  10. Great! Looking forward to it! /Manko
  11. This is the other thread: He got it working the way he wanted. The interesting thing I thought you should have a look at is the options he sets in the beginning of the code. ...there is an option to disable the autopause which happens when you interact with the tray... ? The trayoneventmode was also interesting... Might solve things!? check it out! /Manko
  12. Andrew, you should report status of your progress since others are reading your thread in search of answers. Your thread just got refered to as a "NO-Success", and I believe that might NOT be true...
  13. Did you read through it? He succeded. (Just not under certain specific circumstances... he might, he has not reported back.) Besides the tip below, read through his thread carefully and see if your problems actually match... To your problem... Are you using this? _WinAPI_SetProcessShutdownParameters(0x03FF) (Don't forget includes.) Might be your program is not receiving message since it is too late in queue? I have XP-SP3 and it's working flawlessly... (Tested my own code though... will test yours...) /Manko
  14. I would guess there is some problem with how autoit handles messages or there is some problems with your script being tied to handle one thing when you would rather handle something else... ? The quick and dirty fix, (Not so dirty, but not the elegant "wisdom-enhancing" solution.) is to make a separate program for just dealing with stopping shutdown or similar, and do everything else in first program, communicating between them or starting/stopping as needed. We would like no visible GUI and NO trayicon: #NoTrayIcon /Manko
  15. ...or rather register these messages BEFORE you create any GUI and see what happens.
×
×
  • Create New...