| View previous topic :: View next topic |
| Author |
Message |
Oxijen Expert Cheater
Reputation: 0
Joined: 07 May 2020 Posts: 163 Location: On The Moon
|
Posted: Wed Jun 03, 2020 11:54 am Post subject: Open |
|
|
I have a file that when you open it gives an error and when you run as admin
it opens normally as it should.
Is there a way to open the file by a button on click??
I mean run as admin.
Note :
I don't have any file like this I'm just trying to figure out some stuff you can do in Lua or CE
_________________
I can see you Hitler
Especially When I am On the Moon!!
You are Right now in cheat engine forum  |
|
| Back to top |
|
 |
exohaxor Expert Cheater
Reputation: 1
Joined: 02 Sep 2018 Posts: 101
|
Posted: Sat Jun 06, 2020 9:32 am Post subject: |
|
|
you mean shellExecute or os.execute()?
_________________
hi |
|
| Back to top |
|
 |
Oxijen Expert Cheater
Reputation: 0
Joined: 07 May 2020 Posts: 163 Location: On The Moon
|
Posted: Sat Jun 06, 2020 9:35 am Post subject: |
|
|
would that run as admin??
I know that it can run a file, but running as admin...
_________________
I can see you Hitler
Especially When I am On the Moon!!
You are Right now in cheat engine forum  |
|
| Back to top |
|
 |
exohaxor Expert Cheater
Reputation: 1
Joined: 02 Sep 2018 Posts: 101
|
Posted: Sat Jun 06, 2020 11:01 am Post subject: |
|
|
cheat engine runs as admin anyways
should work
why you dont try?
_________________
hi |
|
| Back to top |
|
 |
Oxijen Expert Cheater
Reputation: 0
Joined: 07 May 2020 Posts: 163 Location: On The Moon
|
Posted: Sat Jun 06, 2020 11:11 am Post subject: |
|
|
I will, but later, cuz I am just gathering some information about lua,CE. THX!!
_________________
I can see you Hitler
Especially When I am On the Moon!!
You are Right now in cheat engine forum  |
|
| Back to top |
|
 |
Corroder Grandmaster Cheater Supreme
Reputation: 75
Joined: 10 Apr 2015 Posts: 1668
|
Posted: Sat Jun 06, 2020 6:31 pm Post subject: |
|
|
Use execute command line via os.execute.
| Code: |
cm = [[runas /user:domainname\username program]]
os,execute(cm)
|
Note: you need to find your computer name, user name and password for administrator account.
_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL |
|
| Back to top |
|
 |
|