Jump to content

sabrina000

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by sabrina000

  1. thanks jinxter! it works! but now I have/had another prob: the application needs that I'm logon as a special user . I tried this with RunAsSet("username", @computername, "password") but I get an error message (from autoit) that the application could not execute. then I tried to execute notepad in this way and even notepad didn't work. It seems as the autoit script not really reconized the runasset when I run it as an service, because the next thing I tried was to run the autoit script manuelly with a user who didn't exist and and yes, I get an error message that something with my user is wrong but the same script as a service again told me only the first error message(unable to execute) and this is strange... We solved this special prob, because we found parameters from the application to press the button, but I'm generally interessted in my problem and would prefere to find a solution with autoit (the next script will come)
  2. Hej, I worte a script to open an application and to press a button. <-- no problem, it works fine. When I run my compiled autoit script as a service, it runs the application, but only in the background, the window of the application pops not up like before running manuelly(why???). Normally no problem but it doesnt press the button. I tried it with the controlclick command and with controlsend (in addition with Opt(WinDetectHiddenText, 1) ), I dont know what I could do. It will be great if somebody knows the solution(probably it is very easy)! Thank you.
×
×
  • Create New...