Screensaver
Author |
Message |
gohan
|
Posted: Thu Apr 21, 2005 9:18 am Post subject: Screensaver |
|
|
ok....my project simple asks to make a screensaver, but you can not press the run button to start it. It has too start by itself, and i have NO CLUE on how to get it to start itself. Let alone end it as well.
And here another problem.... the screensaver should not stop until you enter a password.
So. Plzzzz...someone help.
I Would be greatly appreciated |
|
|
|
|
|
Sponsor Sponsor
|
|
|
TheEvilOne
|
Posted: Thu Apr 21, 2005 9:26 am Post subject: (No subject) |
|
|
Well.. the running on its own, im not so sure of...
but, I know im going to get flamed for this, but you can fork a process.
You could fork a process, then run the screensaver animation in that process. In your main process you could have a getch, or input.pause or something that waits for user input. When they hit a button, you could make a Window.Open command that asks for a password, and compare it, if the password is right, exit the fork.
Once again, ill probably get flamed for proposing such blasphemy =X |
|
|
|
|
|
gohan
|
Posted: Thu Apr 21, 2005 11:21 am Post subject: (No subject) |
|
|
thnx for the info on the password part...but that is only half the problem...can anyone else tell me how to get a program to start by itself without pressing the RUN button, or F1.
Plzzz...and thnx |
|
|
|
|
|
jamonathin
|
Posted: Thu Apr 21, 2005 11:49 am Post subject: (No subject) |
|
|
code: | put Sys.Exec("program name.exe") |
you'll have to compile it first obviously.
or if you mean just run by itself, no turing, just compile it, and I'm sure you can have your computer run it on a timer, or when your computer boots up have it run the compiled program. |
|
|
|
|
|
[Gandalf]
|
Posted: Thu Apr 21, 2005 3:32 pm Post subject: (No subject) |
|
|
Put it in the "startup" folder or just use a macro or something...
You can't just have the program run by doing nothing... You need some sort of input.
Also, I dont see the point of
put Sys.Exec("program name.exe")
Why have that if you're already running the program? |
|
|
|
|
|
Cervantes
|
Posted: Thu Apr 21, 2005 4:02 pm Post subject: (No subject) |
|
|
http://www.wischik.com/scr/howtoscr.html
You need to make an executable of your code and rename it as a .scr. You'll also have to do some extra stuff, as detailed in there (I think. I haven't read much of it. ) |
|
|
|
|
|
gohan
|
Posted: Fri Apr 22, 2005 8:32 am Post subject: (No subject) |
|
|
Yesss...i got the password part of the screensaver....but now..I,m working on the open the window part of it.
I think i may still need to get help with it...
I don't the part of
put Sys.Exec("program name.exe")
I think i would still need to start a program for it to begin.
Wow...this a difficult project...but it is fun cause I'm really really enjoying turning....
Can't wait for the FINAL Project.......HA HA HA
Thnx for the updates so far pplz....
I still need help...lol.... |
|
|
|
|
|
balldragger
|
Posted: Fri Apr 22, 2005 5:03 pm Post subject: (No subject) |
|
|
just go to run then Generate stand-alone program and then it will save it as an exe file and should execute when u open it
i dont know if that would solve your problem but its a sugestion |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Lazarus
|
Posted: Sat Apr 23, 2005 5:02 pm Post subject: (No subject) |
|
|
Generate a stand-alone, it will be compiled as an executable, rename the extension to ".scr" and try to open it that way, if it works, open display settings, go to screensaver and click on browse, locate your file (the scr one) then click on settings, it gives you a password option etc. |
|
|
|
|
|
jamonathin
|
Posted: Sat Apr 23, 2005 5:02 pm Post subject: (No subject) |
|
|
[Gandalf] wrote:
Also, I dont see the point of
put Sys.Exec("program name.exe")
Why have that if you're already running the program?
That's why i suggested this.
I wrote:
or if you mean just run by itself, no turing, just compile it, and I'm sure you can have your computer run it on a timer, or when your computer boots up have it run the compiled program.
|
|
|
|
|
|
|
|