Jump to content
Sign in to follow this  
Krentenbol78

Help with a script...

Recommended Posts

Hi

I am making a script for a friend this is what it must do.

It must turn off his monitor/show a black screen but another windows must be the

active window.

+ some other things

The other things are going wel but I can't find a way to disable the monitor + in the same time make another window the active window.

Can somebody help me ?

Thanks alot :)

Edited by Krentenbol78

Share this post


Link to post
Share on other sites

When I opened this topic it prompted me to install a certificate. I clicked cancel but it doesn't do this for other topics. I think someone in here has some bad code in their signature.

EDIT: Hatcheda, it has something to do with the image for your avatar...it does it in this topic as well http://www.autoitscript.com/forum/index.ph...15&start=15

Just a heads up.

Edited by weaponx

Share this post


Link to post
Share on other sites

lol I don't have any code yet :)

Because it isn't very usefull to make something that you can't finish.

It's to let it look like that you're pc is turned off ( for example if you're parent's come in).

But I can't find any code here for.

Share this post


Link to post
Share on other sites

Ok, I have your code written and working. -works on all three of my monitors at once :) just hit esc to toggle back and forth.

'isn't very useful to make something you can't finish'

-but it helps those that help you to help you!

It's to let it look like that you're pc is turned off ( for example if you're parent's come in).

-so they dont see . . .

Now I'm gonna shut down my pc and drive home. If by the time I get there you post an effort, I may help you. if not, you can bet no one else will

Cheers!

Share this post


Link to post
Share on other sites

When I opened this topic it prompted me to install a certificate. I clicked cancel but it doesn't do this for other topics. I think someone in here has some bad code in their signature.

EDIT: Hatcheda, it has something to do with the image for your avatar...it does it in this topic as well http://www.autoitscript.com/forum/index.ph...15&start=15

Just a heads up.

I thought I was going nuts! I got that too.

Share this post


Link to post
Share on other sites

ok bud, its an hour and 20 later. thanks for my new application :) - I had thought about building one of these in the past few days anyway since I work in an open space and dont want others to see . . .

Share this post


Link to post
Share on other sites

-so they dont see . . .

The porn obviously. Or maybe the kid is grounded from the PC and has to sneak on.

Anyway it's unfortunate the guy didn't reply to his own thread, however a truly generous soul would probably point him to the key functions you used... unless you just think he doesn't know what he's doing at all and is just trying to steal code.

In any event, sounds like a useful app.

Share this post


Link to post
Share on other sites

There are plenty of functions for this around the forum.

A few for masking the screen with a black window, and others for turning screen into sleep state.


UDF:Crypter a file encrypt / decrypt tool with no need to remember a password again. Based on Caesar cipher using entire ASCII Table.Script's: PixelSearch Helper, quick and simple way to create a PixelSeach.Chatserver - simplified, not so complicated multi-socket server.AutoIT - Firewall, simple example on howto create a firewall with AutoIt.

Share this post


Link to post
Share on other sites

Stop bragging and rubbing it in his/her face.

you're very rude -nobody is bragging here. only offering to help someone that shows a hint of trying to help themselves. as I stated before, he he tries and needs help, I will help. you on the otherhand only seem to complain

Share this post


Link to post
Share on other sites

Honestly, how would I have a conversation in my head and that magically appears on the Autoit Script Forums. Hinting about how you made the application and telling people to PM you if you want it. (S)He is just a newbie.

Edited by JustinReno

Share this post


Link to post
Share on other sites

first, I never 'stated' pm me. I said let me know since he expressed interest. second, 'every post' was only 2

1. I told him I had it if he wanted it but he needed to try so show some effort first.

2. an hour and 20 minutes later he had not even mentioned he wanted it or had even returned. -still true.

there were no more. I am so glad that out of every post '5' I hinted at it.

the only other mention of it was a direct statement to someone else that expressed interest about it in this thread.

Again, you waste more time then the help you provide (if in fact you do provide help).

Share this post


Link to post
Share on other sites

Am I rubbing off on you or are you just not tired yet?

Bragging:

Ok, I have your code written and working. -works on all three of my monitors at once just hit esc to toggle back and forth.

Now I'm gonna shut down my pc and drive home. If by the time I get there you post an effort, I may help you. if not, you can bet no one else will

Cheers!

ok bud, its an hour and 20 later. thanks for my new application

@txm -if you want it let me know

Again, how am I wasting your time?

And as you have joined a day earlier than me, you should keep up to date with the General Help and Support, I've provided plenty of help to plenty of people.

Edit: And, the first part of the quote, why give instructions on how to close it when you have provided no script?

Edited by JustinReno

Share this post


Link to post
Share on other sites

Hehe there where a lot of reply's.

The reason why I didn't replied is it was night in my country ^_^ So I was sleeping ....

You totally get it wrong :)

I don't whant to steel you're source or something but I came up with the idea

and had no idea how to turn off the monitor so it wasn't very usefull for me to write

a programm for 75% and then just stop with it because I don't know how to turn

off the monitor... That's why I asked it here before I got started.

I will try to write some code :)

PS: Stop flaming eachother please ;)

EDIT:

Here's some code I but together quick.

#NoTrayIcon


HotKeySet("!d", "hide") 
HotKeySet("{esc}", "exitt") 
$hide=0


Func hide()

If $hide=0 Then
    $hide=1
    Call ("enable")
ElseIf $hide=1 Then
    $hide=0
    Call("disable")
    
EndIf

EndFunc



Func exitt()
    Exit
EndFunc


Func enable()
    
;Here the code to enable the hiding 
    MsgBox(0,"","You're screen is turned off")
    
    
EndFunc




Func disable()
    
;Here the code to disable the hiding 
        MsgBox(0,"","You're screen is turned on")
    
EndFunc

While 1
    
    Sleep(100)
    
WEnd
Edited by Krentenbol78

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...