sharpharp
Active Members-
Posts
42 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
sharpharp's Achievements
Seeker (1/7)
0
Reputation
-
Hi there, Before anyone asks, this is for a genuine reason, I have a logout timer which runs as a compiled autoit exe on the screen on our limited time use workstations, I don't want our users to close this timer down by shutting it down in task manager. I had this working perfectly in Windows 7 32-bit and was able to hide the process using a dll called hyde.dll, however when I use the hyde64.dll version (now that all our workstations are 64-bit windows) the exe file is showing up in the task manager. Can anyone help me to hide the exe (a compiled autoit script) in 64-it windows from task manager please? If not appropriate to post, happy to receive any info via PM Thanks
-
Use Internal PC Speaker to play a basic tune???
sharpharp replied to sharpharp's topic in AutoIt General Help and Support
And what was that? -a link to using Search which i have already tried and tested and said only works under XP? Are you his buddy or something? Cos the pair of you come across just as dumb and dumber... -
Use Internal PC Speaker to play a basic tune???
sharpharp replied to sharpharp's topic in AutoIt General Help and Support
Were you just born stupid, or did AutoIT turn you this way trannyexx? I have searched and if you can listen for a minute rather than being such a bolshy idiot, you will see I tried the solutions and YES they work in XP but not windows 7. So there is no solution from any of the replies (other than the hard drive clicker) which I don't want to wreck my HDs with. So next time you post a reply, say something constructive other than "Use Search" to up your post count.... -
Use Internal PC Speaker to play a basic tune???
sharpharp replied to sharpharp's topic in AutoIt General Help and Support
Thanks for all your replies, and i'll searched the examples scripts on this forum and yes they do work, BUT ONLY in older Windows XP machines. Now that the majority of the kit I use is based on Windows 7, the scripts do not work because Windows 7 was written to bypass the Internal Speaker... Is there a different programming way to access the Internal Speaker (but still under Windows 7)???? Can't understand why MS would disable the speaker from within Windows... -
Use Internal PC Speaker to play a basic tune???
sharpharp replied to sharpharp's topic in AutoIt General Help and Support
I already have a visual logo which flashes up, but i was hoping for an audio alert as well because not everyone notices the screen when logging off... -
Use Internal PC Speaker to play a basic tune???
sharpharp replied to sharpharp's topic in AutoIt General Help and Support
I don't want to disable the soundcard as I want users to be able to use headphones to listen to general music etc (external speakers are removed) But I need to run a script on logoff, which uses the internal onboard speaker to beep a tune on logoff to grab there attention. Hope that makes sense, so yes the script will need to run from within windows 7 but use the onboard internal speaker. But from what you said above, windows 7 is a big no no with Beep :-( Thanks for your help so far... -
Hi all, I want to play a basic tune using the Internal PC Motherboard Speaker, not via the soundcard etc. I have played with the piano.au3 examples and they are great, but sound output is via the soundcard, is there anyway of using AutoIT to create a tune to play via the Internal speaker? Beep is very basic, but I couldn't figure out how to alter frequency etc, and I don't want to go down the method of dynawrap because you have to register dlls. Just need something I can wrap into an exe file to play on any PC to run a few sounds via internal speaker. Any help would be appreciated.
-
Managed to figure out that you have to put the tune within the code to work. However, the tune only plays through my Soundcard speakers and not the internal PC speaker. Can anyone tell me how to get it to work through the internal speaker please?
-
Hi all, I just can't get my head round how this works, can someone please help. I have saved the original script as piano.au3. Then used the samples and added #Include <C:\piano.au3> When running the sample i get errors: C:\piano.au3 (93) : ==> Variable used without being declared.: $Octave = GUICtrlCreateInput("1", 368, 123, 35, 21, BitOR($ES_AUTOHSCROLL,$ES_READONLY,$ES_NUMBER)) $Octave = GUICtrlCreateInput("1", 368, 123, 35, 21, BitOR(^ ERROR Any ideas, I would love to get this working with the mario tune via the internal pc speaker. Thanks,
-
Hi all, Can anyone help, i'm trying to do an autoIT script to map 2 Shared windows printers and set one of them as default. I can do this with Vbscript, but the printers are slow to map when using Windows 7 in a domain environment, so I was thinking about mapping them using autoit (by creating the autoit and then building an exe and running it through GPO as a logon script. Anyone able to help?
-
Hi all, Wondering if anyone can help. I have an Autoit script which is meant to "log off" the current user, and i'm using the function Shutdown(16) to achieve this. The script works very well when logging of a user and they are using something like a web browser. The problem occurs when a user has a Microsoft Application open and is unsaved, such as MS Word/Excel. AutoIT tried to log off the user, but then a dialogue box pops up in word and says "Do you want to save your work" YES NO or CANCEL. If they hit cancel, the logoff cancels and the user can continue using the PC. I thought a forced logoff would stop all processes, even if a document was unsaved, but it doesn't seem to work. I really must have a surefire script to logoff the current user despite whichever application is open... Can anyone please help? Thanks in advance, Sharpy
-
How to remove App from Task Manager and Task bar
sharpharp replied to sharpharp's topic in AutoIt General Help and Support
Not possible, there is no generic account on the PC. Users login with their own Active Directory Account. I run my display timer script via the Group Policy Logon script, so the user gets it when they login. They simply see the name of the file in the Taskbar, then hit CTRL ALT DEL and bingo, they kill the exe there and then. So that is the whole premis behind this. Dunno why the doubters still making excuses to bash me. Just came here for some help is all :-( -
How to remove App from Task Manager and Task bar
sharpharp replied to sharpharp's topic in AutoIt General Help and Support
It is a public access pc, so i wish to limit timed usage per user, and no the pc does not belong to them!!! It is not logical to you that i want to provide a service which limits time allowed on a pc? So security aspect is to prevent the user from closing my program. If there was another way I would have done it, but i've spent a long time developing the code for the display timer in AutoIT, so naturally I would want to use the same code to secure my program... -
How to remove App from Task Manager and Task bar
sharpharp replied to sharpharp's topic in AutoIt General Help and Support
Why are you being so nasty? I have clearly explained what i intend to do. To prove it is nothing untoward I have said I am happy to show the user the display window and keep the program visible on the Taskbar, I simply want to prevent them from seeing it in the Task Manager to stop it. I can't have to two autoit programs watching for each and then restart, because that would reset my timer back to the initial count. Yes I am aware it is a sensitive subject, but I like AutoIt and I was delighted to even manage to get a timer display which stays on top (thanks to all the members on here), so all I ask for is a bit more help just to help secure my little Timer program from being stopped by my users. Doubters can check my posts, all completely honourable, all mostly for help with timer and how to secure my program. If nobody wants to post code on here, thats perfectly fine, but just thought i'd explain myself to all the doubters. If anyone could even just PM or email the code, that would be well appreciated. Regards, Sharpy -
How to remove App from Task Manager and Task bar
sharpharp replied to sharpharp's topic in AutoIt General Help and Support
Thanks for your replies, I understand what you are saying, but this is a genuine request. I added some code to remove the program using $WS_EX_TOOLWINDOW which works, but also hides my display timer window as well :-) So I don't mind having the window and the taskbar visible, but I would need to hide the exe from the Task Manager, is anyone able to please help to do this with AutoIT? If nobody wants to publish the code, they can just PM me. Thanks in advance