Difference between revisions of "Lua:shellExecute"

From Cheat Engine
Jump to navigation Jump to search
(Created page with ''''function''' shellExecute(''command'') Executes a specific commandline command. The commands are the same you can type in the "run..." command and in the file header of an exp…')
 
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
[[Category:Lua]]
 
'''function''' shellExecute(''command'')
 
'''function''' shellExecute(''command'')
  
Line 4: Line 5:
  
 
Example:
 
Example:
   http://cheatengine.org
+
   shellExecute("<nowiki>http://cheatengine.org</nowiki>")
   calc
+
   shellExecute("calc")
   c:\
+
   shellExecute("c:\")
   regedit
+
   shellExecute("regedit")
  
  
Line 22: Line 23:
  
  
== See also ==
+
{{LuaSeeAlso}}
* [[keyUp]]
 
* [[keyDown]]
 
* [[Virtual-Key Code]]
 
* [[Lua]]
 

Latest revision as of 00:17, 25 January 2018

function shellExecute(command)

Executes a specific commandline command. The commands are the same you can type in the "run..." command and in the file header of an explorer window.

Example:

 shellExecute("http://cheatengine.org")
 shellExecute("calc")
 shellExecute("c:\")
 shellExecute("regedit")


Function Parameters[edit]

Parameter Type Description
command string The command to execute


See also[edit]