logo elektroda
logo elektroda
X
logo elektroda

Creating a Phone App Shortcut for Remote Computer Shutdown via Bluetooth

boreka 65573 7
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 5470203
    boreka
    Level 10  
    Hello, I decided to make a phone program to use it to control the computer (via bluetooth). Everything would be fine if it wasn't for one problem, namely I want to assign the phone key the appropriate shortcut (key combinations on the keyboard) that would turn off the computer. If someone knows such an abbreviation, I am asking for help :) Win + L is out, alt + f4 is also out because at most it closes the applications on the computer but will not shut down the system. I know you can make a shortcut on the desktop and assign it the properties "shutdown -s ..." and then assign a key combination to that shortcut, but it would be impractical if someone else used this program on their computer. So I am asking for a hint,
    if anyone wants, I can send this program to him when it is ready.
  • ADVERTISEMENT
  • #2 5470217
    Anonymous
    Anonymous  
  • ADVERTISEMENT
  • #3 5470234
    boreka
    Level 10  
    System Windows XP.
  • #4 5470244
    Anonymous
    Anonymous  
  • ADVERTISEMENT
  • #5 5471261
    beo
    Level 37  
    I'm not sure if I understood correctly, but almost every keyboard is equipped with a Power button to turn off the computer, and almost every bios to operate this key.
  • #6 5481172
    LED5W
    Level 34  
    I press Win K W. Just not to be confused with Win + K ... ;)
  • ADVERTISEMENT
  • #7 5481341
    Anonymous
    Anonymous  
  • #8 7087642
    tabaka1988
    Level 11  
    Method 1
    Go to the WindowsSystem32 folder and search for shutdown.exe. Make it a desktop shortcut, place it on the quick launch bar and you're done - one click and the computer shuts down.
    The same should be done if you want to log off from the system with one click - make a shortcut to logoff.exe in WindowsSystem32.
    Way 2
    Instead of an icon, you can use any key or combination of keys. For example, you want to turn off your computer with
    CTRL + F1 keys - execute:
    1.Right click on the desktop and select NEW-> SHORTCUT
    2. in the "enter location" window enter: shutdown -s -t 0 (options: -s turns off the computer, but by replacing it with -r you will restart the computer, and -t means the time of the command execution - in this case immediately, because you entered 0, but you can enter any number that will represent the delay in seconds to time
    performing the steps)
    3.Click "next" and "finish"
    4. shortly click the right mouse button and select "properties"
    5. on the tab
    "shortcut" find "shortcut key" and enter CTRL + F1
    6. confirm the changes made

    By pressing CTRL + F1 the computer will turn off. If you want a shortcut to restart, do the same thing with shutdown -r -t 0 as the command and assign it a different key combination.

    These are basically the only methods ... there are other but difficult to do because you have to play around with the power options ... ;)

Topic summary

The discussion revolves around creating a phone app that can remotely shut down a computer via Bluetooth. The user seeks a keyboard shortcut for shutdown, noting that common shortcuts like Win + L and Alt + F4 are ineffective. Responses suggest various methods, including creating a desktop shortcut for the shutdown command using "shutdown -s -t 0" and assigning it a key combination. Additionally, users mention utilizing the power button on keyboards or configuring BIOS settings to facilitate shutdown. The operating system in use is Windows XP, and suggestions include using the Windows System32 folder to access shutdown.exe for quick access.
Summary generated by the language model.
ADVERTISEMENT