史萊姆論壇

返回   史萊姆論壇 > 專業主討論區 > 一般電腦疑難討論區
忘記密碼?
論壇說明

歡迎您來到『史萊姆論壇』 ^___^

您目前正以訪客的身份瀏覽本論壇,訪客所擁有的權限將受到限制,您可以瀏覽本論壇大部份的版區與文章,但您將無法參與任何討論或是使用私人訊息與其他會員交流。若您希望擁有完整的使用權限,請註冊成為我們的一份子,註冊的程序十分簡單、快速,而且最重要的是--註冊是完全免費的!

請點擊這裡:『註冊成為我們的一份子!』

Google 提供的廣告


發文 回覆
 
主題工具 顯示模式
舊 2006-01-17, 04:32 AM   #1
NiGHTsC
長老會員
 
NiGHTsC 的頭像
榮譽勳章
UID - 913
在線等級: 級別:286 | 在線時長:83507小時 | 升級還需:10小時級別:286 | 在線時長:83507小時 | 升級還需:10小時級別:286 | 在線時長:83507小時 | 升級還需:10小時級別:286 | 在線時長:83507小時 | 升級還需:10小時級別:286 | 在線時長:83507小時 | 升級還需:10小時級別:286 | 在線時長:83507小時 | 升級還需:10小時級別:286 | 在線時長:83507小時 | 升級還需:10小時級別:286 | 在線時長:83507小時 | 升級還需:10小時級別:286 | 在線時長:83507小時 | 升級還需:10小時級別:286 | 在線時長:83507小時 | 升級還需:10小時級別:286 | 在線時長:83507小時 | 升級還需:10小時
註冊日期: 2002-12-06
住址: 加拿大-魁北克(Canada-Quebec) -- 故鄉-高雄
文章: 5587
現金: 5951 金幣
資產: 193833733 金幣
Talking 可以用程式關螢幕嗎?

就是可以用程式來關螢幕,而不用按螢幕上的 POWER 按鈕才能關掉,
可以嗎?
之前有看過一個叫 MNTKEY,不過,網路的連結都不能下載了…><
謝謝各位了…
__________________
貴在中和,不爭之爭
http://i.imgur.com/QnVA4.jpg
2011-中華民國建國百年跨年慶典(精研完整版)
臺灣 我們的母親
臺灣 我們居住的家園
臺灣 我們心目中永遠的第一
相聚在這塊土地上,珍惜這裡的一切
NiGHTsC 目前線上  
送花文章: 13208, 收花文章: 1782 篇, 收花: 4044 次
回覆時引用此帖
舊 2006-01-17, 10:09 AM   #2 (permalink)
管理員
 
a471 的頭像
榮譽勳章
UID - 236673
在線等級: 級別:70 | 在線時長:5319小時 | 升級還需:6小時級別:70 | 在線時長:5319小時 | 升級還需:6小時級別:70 | 在線時長:5319小時 | 升級還需:6小時級別:70 | 在線時長:5319小時 | 升級還需:6小時級別:70 | 在線時長:5319小時 | 升級還需:6小時級別:70 | 在線時長:5319小時 | 升級還需:6小時級別:70 | 在線時長:5319小時 | 升級還需:6小時級別:70 | 在線時長:5319小時 | 升級還需:6小時級別:70 | 在線時長:5319小時 | 升級還需:6小時級別:70 | 在線時長:5319小時 | 升級還需:6小時
註冊日期: 2002-12-06
住址: 打狗
文章: 53339
精華: 0
現金: 271 金幣
資產: 41767713 金幣
預設

拜託....別這麼懶麻....用手就可以直接關掉了...程式最多
是把訊號關掉也不可能幫你把電源關閉阿....
__________________
http://i.imgur.com/PIIFymM.gif

我是史版A大,錢的數量決定電腦的力量

我是給女孩修電腦長大的,經驗豐富技術過硬,就沒有我修不好的電腦
a471 目前離線  
送花文章: 79355, 收花文章: 22260 篇, 收花: 80308 次
回覆時引用此帖
舊 2006-01-17, 10:43 AM   #3 (permalink)
長老會員
 
leowang 的頭像
榮譽勳章
UID - 2461
在線等級: 級別:111 | 在線時長:12773小時 | 升級還需:219小時級別:111 | 在線時長:12773小時 | 升級還需:219小時級別:111 | 在線時長:12773小時 | 升級還需:219小時級別:111 | 在線時長:12773小時 | 升級還需:219小時級別:111 | 在線時長:12773小時 | 升級還需:219小時級別:111 | 在線時長:12773小時 | 升級還需:219小時
註冊日期: 2002-12-06
文章: 4729
精華: 0
現金: 101679 金幣
資產: 668410953 金幣
預設

微軟內建的電源管理就可以囉.....他只能關閉訊號源
不能關掉電源
__________________
https://lh3.googleusercontent.com/RuWvUdY-gxGU8oiOD6DIEoKZhLD-Hn-ITKj1LgD3QY6MehzkoddZNew3f3AFLA8dbxbnK-uiFipPzO3GpT5iL4VTIKCiYhgfnQiP5DROmn_5YIpA9zrseGljottMSbiTsw=w1280

金錢的數量,決定馬子的漂亮
硬碟的容量,決定男人的力量

製作Mail Logo按這裡
leowang 目前離線  
送花文章: 257, 收花文章: 1161 篇, 收花: 4928 次
回覆時引用此帖
舊 2006-01-17, 12:39 PM   #4 (permalink)
長老會員
 
NiGHTsC 的頭像
榮譽勳章
UID - 913
在線等級: 級別:286 | 在線時長:83507小時 | 升級還需:10小時級別:286 | 在線時長:83507小時 | 升級還需:10小時級別:286 | 在線時長:83507小時 | 升級還需:10小時級別:286 | 在線時長:83507小時 | 升級還需:10小時級別:286 | 在線時長:83507小時 | 升級還需:10小時級別:286 | 在線時長:83507小時 | 升級還需:10小時級別:286 | 在線時長:83507小時 | 升級還需:10小時級別:286 | 在線時長:83507小時 | 升級還需:10小時級別:286 | 在線時長:83507小時 | 升級還需:10小時級別:286 | 在線時長:83507小時 | 升級還需:10小時級別:286 | 在線時長:83507小時 | 升級還需:10小時
註冊日期: 2002-12-06
住址: 加拿大-魁北克(Canada-Quebec) -- 故鄉-高雄
文章: 5587
現金: 5951 金幣
資產: 193833733 金幣
預設

是哦,真可惜…><!!
其實是因為最近我都用 MSN 遠端控制我哥的電腦,
要控制速度,而且他住地下室,所以用遠端就不用跑來跑去了。
可是因為我控制他的電腦,就好像有人真的在用的樣子,
一動滑鼠或者鍵盤,就會切斷螢幕保護程式,所以電源管理也沒用,
一定要關掉電源。
謝謝 A 大和 leowang 大的幫忙,至少得到一個確定的答案了…
NiGHTsC 目前線上  
送花文章: 13208, 收花文章: 1782 篇, 收花: 4044 次
回覆時引用此帖
舊 2006-01-17, 04:58 PM   #5 (permalink)
榮譽會員
 
psac 的頭像
榮譽勳章
UID - 3662
在線等級: 級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時
註冊日期: 2002-12-07
住址: 木柵市立動物園
文章: 17381
現金: 5253 金幣
資產: 33853 金幣
預設

立即關閉顯示器的小工具

--------------------------------------------------------------------------------
也許你使用筆記型電腦就想要這麼一個功能,那怎麼讓顯示器再亮起來? 按兩次POWER嗎??
動滑鼠或鍵盤就行。
API, 用程式編彙編寫了一個。

在2003/XP 英文版及CRT 和LCD下測試通過。

下面是readme.txt

Close Monitor
立即將你的顯示器轉換到節能狀態

你可以雙按執行,也可以在桌面上
建立一個建立捷逕,然後設定一個
熱鍵,用熱鍵來執行。

壓縮包內文件:

三個文件,使用任何一個都可以。

CloseMonitor_m.exe
沒有圖標,沒有版權資訊,
難看,可是文件體積最小。

CloseMonitor.exe
有圖標,有版權資訊
圖標只有32×32,體積適中。

CloseMonitor_b.exe
有圖標,有版權資訊
包含任何顯示方式下的圖標
程序只有1.5K,
圖標30K。


程序其實非常簡單,下面是主要程式碼。

程序代碼:
start:

invoke Sleep, 0FFh
invoke SendMessage, HWND_BROADCAST, WM_SYSCOMMAND, SC_MONITORPOWER, 2
invoke ExitProcess,0

end start
如你自己寫程式或程序,其實可以用 Runndll32.exe 來實現同樣的目地,寫個bat 3行指令就可以了,就是要把這些API的常數值都查出來,
Rundll32.exe User32.dll,SendMessage 65535 274 61808 2


http://rapidshare.de/files/11208917/...nitor.rar.html
__________________
http://bbsimg.qianlong.com/upload/01/08/29/68/1082968_1136014649812.gif
psac 目前離線  
送花文章: 3, 收花文章: 1631 篇, 收花: 3205 次
回覆時引用此帖
舊 2006-01-17, 05:09 PM   #6 (permalink)
榮譽會員
 
psac 的頭像
榮譽勳章
UID - 3662
在線等級: 級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時
註冊日期: 2002-12-07
住址: 木柵市立動物園
文章: 17381
現金: 5253 金幣
資產: 33853 金幣
預設

nircmd 命令式的程式
http://www.nirsoft.net/utils/nircmd.zip
說明 :
Description
NirCmd is a small command-line utility that allows you to do some useful tasks without displaying any user interface. By running NirCmd with simple command-line option, you can write and delete values and keys in the Registry, write values into INI file, dial to your internet account or connect to a VPN network, restart windows or shut down the computer, create shortcut to a file, change the created/modified date of a file, change your display settings, turn off your monitor, open the door of your CD-ROM drive, and more...
擁有全部的功能....
Examples of what you can do with NirCmd
Open the door of J: CD-ROM drive nircmd.exe cdrom open j:
Close the door of Y: CD-ROM drive nircmd.exe cdrom close y:
Increase the system volume by 2000 units (out of 65535) nircmd.exe changesysvolume 2000
Decrease the system volume by 5000 units (out of 65535) nircmd.exe changesysvolume -5000
Set the volume to the highest value nircmd.exe setsysvolume 65535
Mute the system volume nircmd.exe mutesysvolume 1
Unmute the system volume nircmd.exe mutesysvolume 0
Switch the system volume between the mute and normal state. nircmd.exe mutesysvolume 2
Create a shortcut on your desktop that switch the system volume between the mute and normal state. nircmd.exe cmdshortcut "~$folder.desktop$" "Switch Volume" mutesysvolume 2
Turn off the monitor nircmd.exe monitor off
Start the default screen saver nircmd.exe screensaver
Put your computer in 'standby' mode nircmd.exe standby
log off the current user nircmd.exe exitwin logoff
Ask if you want to reboot, and if you answer 'Yes', reboot the computer. nircmd.exe qboxcom "Do you want to reboot ?" "question" exitwin reboot
Turn off your computer nircmd.exe exitwin poweroff
Turn off all computers specified in computers.txt ! multiremote copy "c:\temp\computers.txt" exitwin poweroff force
Dial to "My Internet" connection nircmd.exe rasdial "My Internet"
Disconnect the "My Internet" connection nircmd.exe rashangup "My Internet"
Make your Internet Explorer windows 75% transparent ! (192 / 256) nircmd.exe win trans ititle "internet explorer" 192
Minimize all your Internet Explorer windows nircmd.exe win min class "IEFrame"
Close all your Internet Explorer windows nircmd.exe win close class "IEFrame"
Close all your Explorer windows (My Computer, folders, and so on) nircmd.exe win close class "CabinetWClass"
Hide all your Internet Explorer windows nircmd.exe win hide class "IEFrame"
Show all your Internet Explorer windows (after you made them hidden with previous example) nircmd.exe win show class "IEFrame"
Center all top-level windows nircmd.exe win center alltop
Remove the title bar of My Computer window. nircmd.exe win -style title "my computer" 0x00C00000
Return the title bar of My Computer window that we removed in the previous example. nircmd.exe win +style title "my computer" 0x00C00000
Set the My Computer window to right-to-left order (For hebrew and arabic languages) nircmd win +exstyle title "my computer" 0x00400000
Set all child windows of My Computer window to right-to-left order (For hebrew and arabic languages) nircmd win child title "my computer" +exstyle all 0x00400000
Create a shortcut on your desktop that closes all your Internet Explorer windows nircmd.exe cmdshortcut " "~$folder.desktop$ "Close All IE" win close class "IEFrame"
Create a shortcut on your desktop that hides all your Internet Explorer windows nircmd.exe cmdshortcut " "~$folder.desktop$ "Hide All IE" win hide class "IEFrame"
Create a shortcut on your desktop that shows back all your Internet Explorer windows nircmd.exe cmdshortcut " "~$folder.desktop$ "Show All IE" win show class "IEFrame"
Set the Windows Calculator as top-most window (above all other windows) nircmd.exe win settopmost title "Calculator" 1
Set the Windows Calculator back to regular window (non top-most window) nircmd.exe win settopmost title "Calculator" 0
Create a shortcut to Windows calculator under Start Menu->Programs->Calculators nircmd.exe shortcut "f:\winnt\system32\calc.exe" "~$folder.programs$\Calculators" "Windows Calculator"
Hide the desktop window nircmd.exe win hide class progman
Show the desktop window (After hiding it in previous example) nircmd.exe win show class progman
Hide the start button on the system tray nircmd.exe win child class "Shell_TrayWnd" hide class "button"
Show the start button on the system tray nircmd.exe win child class "Shell_TrayWnd" show class "button"
Hide the clock on the system tray nircmd.exe win child class "Shell_TrayWnd" hide class "TrayClockWClass"
Show the clock on the system tray nircmd.exe win child class "Shell_TrayWnd" show class "TrayClockWClass"
Kill (terminate) all instance of Internet Explorer processes nircmd.exe killprocess iexplore.exe
Create a shortcut on your desktop that opens the door of K: CDROM drive when you run it. nircmd.exe cmdshortcut "~$folder.desktop$" "Open CDROM" cdrom open k:
Create a shortcut to NirSoft Web site on your desktop nircmd.exe urlshortcut "http://www.nirsoft.net" "~$folder.desktop$" "NirSoft"
Add NirSoft Web site to your Favorities under Links folder. nircmd.exe urlshortcut "http://www.nirsoft.net" "~$folder.favorites$\Links" "NirSoft"
Create a shortcut to NirSoft Web site on the desktop of all computers listed in computers.txt nircmd.exe multiremote copy "c:\temp\computers.txt" urlshortcut "http://www.nirsoft.net" "~$folder.common_desktop$" "NirSoft"
Set the display mode to 800x600x24bit colors nircmd.exe setdisplay 800 600 24
Create a shortcut on the desktop that set the display mode to 800x600x24bit colors nircmd.exe cmdshortcut "~$folder.desktop$" "800x600x24" setdisplay 800 600 24
Copy all shortcuts on your desktop to another folder (f:\temp\desktop). nircmd.exe execmd copy "~$folder.desktop$\*.lnk" f:\temp\desktop
Restart your Apache server (under Windows NT/2000/XP/2003) nircmd.exe service restart apache
Create a shortcut on your desktop that restarts the Apache server nircmd.exe cmdshortcut "~$folder.desktop$" "Restart Apache" service restart apache
Restart your IIS nircmd.exe service restart w3svc
Restart MySql nircmd.exe service restart MySql
Open the desired Registry key/value in RegEdit nircmd.exe regedit "HKLM\Software\Microsoft\Windows\CurrentVersion" "CommonFilesDir"
Open the Registry key that you copied to the clipboard in RegEdit. nircmd regedit "~$clipboard$"
Disable the screen saver nircmd.exe regsetval sz "HKCU\control panel\desktop" "ScreenSaveActive" 0
Enable the screen saver nircmd.exe regsetval sz "HKCU\control panel\desktop" "ScreenSaveActive" 1
Change the date/time of the specified filename (creation time and modified time) nircmd.exe setfiletime "c:\temp\myfile.txt" "24-06-2003 17:57:11" "22-11-2005 10:21:56"
Copy your desktop folder path to the clipboard nircmd.exe clipboard set ~$folder.desktop$
Copy your start menu folder path to the clipboard nircmd.exe clipboard set ~$folder.start_menu$
Copy the content of info1.txt (simple text file) to the clipboard nircmd.exe clipboard readfile "c:\My Files\info1.txt"
Add the text content of clipboard to info1.txt nircmd.exe clipboard addfile "c:\My Files\info1.txt"
Clear the clipboard nircmd.exe clipboard clear
Create all folders specified in "c:\temp\folders.txt". The folder path names are separated by CRLF characters. nircmd.exe paramsfile "c:\temp\folders.txt" "" "" execmd md ~$fparam.1$
Install the specified .NET assembly in the global assembly cache (like gacutil) nircmd.exe gac install "C:\temp\MyAssembly\bin\MyAssembly.dll"
Empty the recycle bin in all drives. nircmd.exe emptybin
psac 目前離線  
送花文章: 3, 收花文章: 1631 篇, 收花: 3205 次
回覆時引用此帖
舊 2006-01-18, 01:33 AM   #7 (permalink)
長老會員
 
NiGHTsC 的頭像
榮譽勳章
UID - 913
在線等級: 級別:286 | 在線時長:83507小時 | 升級還需:10小時級別:286 | 在線時長:83507小時 | 升級還需:10小時級別:286 | 在線時長:83507小時 | 升級還需:10小時級別:286 | 在線時長:83507小時 | 升級還需:10小時級別:286 | 在線時長:83507小時 | 升級還需:10小時級別:286 | 在線時長:83507小時 | 升級還需:10小時級別:286 | 在線時長:83507小時 | 升級還需:10小時級別:286 | 在線時長:83507小時 | 升級還需:10小時級別:286 | 在線時長:83507小時 | 升級還需:10小時級別:286 | 在線時長:83507小時 | 升級還需:10小時級別:286 | 在線時長:83507小時 | 升級還需:10小時
註冊日期: 2002-12-06
住址: 加拿大-魁北克(Canada-Quebec) -- 故鄉-高雄
文章: 5587
現金: 5951 金幣
資產: 193833733 金幣
預設

psac 大,這兩個程式就像 leowang 大說的,只能切斷訊號源,
而沒辦法切斷電源,如果一動滑鼠或鍵盤的話,
還是會立刻打開螢幕。
NiGHTsC 目前線上  
送花文章: 13208, 收花文章: 1782 篇, 收花: 4044 次
回覆時引用此帖
舊 2006-01-18, 02:31 AM   #8 (permalink)
榮譽會員
 
psac 的頭像
榮譽勳章
UID - 3662
在線等級: 級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時
註冊日期: 2002-12-07
住址: 木柵市立動物園
文章: 17381
現金: 5253 金幣
資產: 33853 金幣
預設

引用:
作者: NiGHTsC
psac 大,這兩個程式就像 leowang 大說的,只能切斷訊號源,
而沒辦法切斷電源,如果一動滑鼠或鍵盤的話,
還是會立刻打開螢幕。
以前 dos下有這種軟體...windows 沒有!要硬體關閉螢幕,要考濾螢幕直接現都自接電源...連接線 內(vga dvi) 也沒此送信號線制,還有考慮一但要恢復顯示(足夠的電壓突波)...所以電子產品常有一紅燈或綠燈備妥讓你在暫停之後,能很快的恢復過來....(也是有吃電),為什麼它們不完全切斷電源...主機板為什麼需有備妥電...就是如此原因!不是!設計不出來...問題在用途.
.....怎可能切斷關閉電源.?用途?
或許賣營幕的廠商可能會在ms xp 的分類, msce 煤体中心版實現這功能.......
psac 目前離線  
送花文章: 3, 收花文章: 1631 篇, 收花: 3205 次
回覆時引用此帖
舊 2006-01-18, 03:16 AM   #9 (permalink)
長老會員
 
NiGHTsC 的頭像
榮譽勳章
UID - 913
在線等級: 級別:286 | 在線時長:83507小時 | 升級還需:10小時級別:286 | 在線時長:83507小時 | 升級還需:10小時級別:286 | 在線時長:83507小時 | 升級還需:10小時級別:286 | 在線時長:83507小時 | 升級還需:10小時級別:286 | 在線時長:83507小時 | 升級還需:10小時級別:286 | 在線時長:83507小時 | 升級還需:10小時級別:286 | 在線時長:83507小時 | 升級還需:10小時級別:286 | 在線時長:83507小時 | 升級還需:10小時級別:286 | 在線時長:83507小時 | 升級還需:10小時級別:286 | 在線時長:83507小時 | 升級還需:10小時級別:286 | 在線時長:83507小時 | 升級還需:10小時
註冊日期: 2002-12-06
住址: 加拿大-魁北克(Canada-Quebec) -- 故鄉-高雄
文章: 5587
現金: 5951 金幣
資產: 193833733 金幣
預設

感謝 psac 的大力幫忙,雖然還是沒辦法,
不過還是謝謝你提供那麼多資料和解釋,謝謝你…
NiGHTsC 目前線上  
送花文章: 13208, 收花文章: 1782 篇, 收花: 4044 次
回覆時引用此帖
發文 回覆



發表規則
不可以發文
不可以回覆主題
不可以上傳附加檔案
不可以編輯您的文章

論壇啟用 BB 語法
論壇啟用 表情符號
論壇啟用 [IMG] 語法
論壇禁用 HTML 語法
Trackbacks are 禁用
Pingbacks are 禁用
Refbacks are 禁用


所有時間均為台北時間。現在的時間是 01:48 PM


Powered by vBulletin® 版本 3.6.8
版權所有 ©2000 - 2024, Jelsoft Enterprises Ltd.


SEO by vBSEO 3.6.1