In your mouseUp handler, try to add :shawnblc wrote: Tue Apr 16, 2019 1:44 am Yes. Even if the app is compiled and the exe is run as administrator the same thing happens (console flashes). You can also do runas Administrator in lc scripting. The bat file just can't be run from the Program Files directory.
Code: Select all
put quote & tfile & quote into tfile
get shell(tfile)You should also change all "/" with "\" in tfile before get shell(tfile)
so it should look something like this :
Code: Select all
--launch document tfile
put quote & tfile & quote into tfile
replace "/" with "\" in tfile
get shell(tfile)