
Manko
Active Members-
Posts
196 -
Joined
-
Last visited
Everything posted by Manko
-
Lock CD Tray - Disable Eject Button - Prevent Media Removal
Manko replied to dabigfish's topic in AutoIt Example Scripts
That is not a quote btw... XD -
$boolean = -1, If $boolean Then ... True? wtf?
Manko replied to Flaky's topic in AutoIt General Help and Support
Copy+replace 'TRUE' with 'NOT FALSE' ? (Dunno if that works, but it should? ...or something similar...) -
[Closed] Detect type of windows shut down
Manko replied to IanN1990's topic in AutoIt General Help and Support
If you really found some examples that can do this, please point the way, because I have not found anything like that. -
How to find error in the script after compiled?
Manko replied to Belini's topic in AutoIt General Help and Support
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 -
How to find error in the script after compiled?
Manko replied to Belini's topic in AutoIt General Help and Support
@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...? -
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
-
[Closed] Detect type of windows shut down
Manko replied to IanN1990's topic in AutoIt General Help and Support
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 -
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
-
$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
-
Great! Looking forward to it! /Manko
-
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
-
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...
-
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
-
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
-
...or rather register these messages BEFORE you create any GUI and see what happens.
-
Make a gui, you dont show to user, so it wont be minimized, and let it receive shutdown request. If you need, you can have other guis for other stuff...
-
Microsoft security essentials - is also free...
-
Well... Why don't you tell us what it is then? /Manko
-
You should always be weary when a firstposter asks for shady things, nomater how good his reasons/arguments/stories are... /Manko [EDIT: is plural are...]
-
Basic Uninstall assistance [SOLVED]
Manko replied to engjcowi's topic in AutoIt General Help and Support
@chimaera: Yes, ofcourse. I think you could do it. I believe in you! @boththose: Also I found case like 7-zip. "µTorrent" is in regpath in script, but isn't displayed... or was 7-zip just a sorting thing? [EDIT: below...] The problem with 7-zip and "µTorrent" is in the arraysort-call, the $aSoftwareInfo[0] that contains number of items is sorted too. Sollution: Change this: Return _ArraySort($aSoftwareInfo) into this: Return _ArraySort($aSoftwareInfo,0,1) ; sort from $aSoftwareInfo[1] /Manko -
Basic Uninstall assistance [SOLVED]
Manko replied to engjcowi's topic in AutoIt General Help and Support
As I'm at work, I could not fully reproduce the omissions... But I found one. And the explanation is that you need to also scan the same path under HKEY_CURRENT_USER. This might have been the explanation for all the omissions at home too... will check tonight. Perhaps one should scan under all users, but the above is minimum... /Manko -
Basic Uninstall assistance [SOLVED]
Manko replied to engjcowi's topic in AutoIt General Help and Support
@boththose: Ha! Sorry, never followed that link... well, I just ran the script on my win7 x32 laptop, and it doesnt show all installed software... (Not SO many since win7 was quite recently installed so I could test in win7...) Haven't looked into it. Just wanted to give a headsup about it... /Manko -
Basic Uninstall assistance [SOLVED]
Manko replied to engjcowi's topic in AutoIt General Help and Support
If I try to uninstall the orbicam... I get this: RunDll32 C:\Program\DELADE~1\INSTAL~1\PROFES~1\RunTime\09\01\Intel32\Ctor.dll,LaunchSetup "C:\Program\InstallShield Installation Information\{76AC1AEB-1167-4ABC-8861-4E58392A5B7F}\setup.exe" -l0x1d It doesn't work... I looked at _Uninstall() function it uses ShellExecuteWait which wants "parameters" separate... this causes problems... I tried runwait and uninstall worked for all cases i tried. no problem with space after /x or "" around strings... -
Basic Uninstall assistance [SOLVED]
Manko replied to engjcowi's topic in AutoIt General Help and Support
Did you test that before and after with a relevant install? Whatever, I'll post my try, and have egg in my face if yours was enough... @engjcowi I just took a stab at the ask toolbar i apparently had on this puter... not mine. and this ---> MsiExec.exe /X{86D4B82A-ABED-442A-BE86-96357B70F4FE} didnt work. putting a space after the x, did... though windows installer asked me if I was sure, without showing me what I was uninstalling... Some switch should be added and the question be put by the script instead, or notatall... -
Cool and useful script! perhaps needs tweaking... I get this on my orbicam: (Have forcefully disabled a driver... (...or something. While ago...) don't want cam on...) - "Cannot install the device because cannot access the Networked drive." But my devicemanager says: - "A driver (service) for this device has been disabled. An alternate driver may be providing this functionality. (Code 32)" Osversion difference? something else? /Manko