This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [Delphi/Pascal] Looking for help to setup a keybinding.  (Read 3059 times)

Timoxa636

  • Registred Member
  • MWCS Enthusiast
  • *****
  • Posts: 1
    • View Profile
[Delphi/Pascal] Looking for help to setup a keybinding.
« on: April 07, 2014, 02:37:40 pm »
Good day, guys, I apologize for my English, just himself from Russia ...
please tell me how to bind a button to run the program as an administrator,
I was given the string "winexec ('denwer   SwitchOff.exe', SW_SHOWNORMAL);" but it does not work ...
please help ...
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Skarn

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 807
    • View Profile
    • http://skarn-project.net
Re: delphi, pascal
« Reply #1 on: April 07, 2014, 07:17:51 pm »
Объясни на русском, что ты хочешь. Я тебя не понимаю.

Please, explain it in Russian. I don't understand.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Valkryst

  • Moderators
  • Model Change Addict
  • *****
  • Posts: 224
    • View Profile
    • http://valkryst.com/blog/
Re: [Delphi/Pascal] Looking for help to setup a keybinding.
« Reply #2 on: August 21, 2015, 09:53:50 pm »
I've updated your post title to better show what you're looking for.

------

@Skarn

He seems to be asking how to set up a keybinding in Delphi or Pascal. The keybinding should run the specified program as an administrator, so it's definitely being done on a Windows machine.

That's what I got from his post at-least.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
MY BLOG IS NOW HERE.