Lua 5.3/5.2/5.1 Scripts (for PtokaX 0.4.0.0 and newer) > HOW-TO's

Shut down computer using lua computer

(1/2) > >>

satya:
Is it possible to shut down the pc using lua scripting?

?StIfFLEr??:
Nice thought.
But i thought Lua scripts are made for working of Ptokax. Not for PC.
You can have better shut down softwares than making a script for it.
It would have been better if the script would have been such that it would stop ptokax at a desired time and resume it back on a desired time. and addition to it will be saving config when it shut downs or say hibernates.

TTB:
You can create (DOS) batch files and put them into the Task Schedular of Windows.

Just a tip.

satya:
thanks guys for the help
wat i wanted to do is!

wen we have users less than 3 hub shud stop n PC shud shut down!


neways i got the point dat stifler bro said

--- Quote ---Lua scripts are made for working of Ptokax. Not for PC.
--- End quote ---

so m sorry for such a silly Ques ;D

thanks for reply once again :)

?StIfFLEr??:
Well thanks for that but i got negative karma for no reason....

Navigation

[0] Message Index

[#] Next page

Go to full version