Jump to content

BrewManNH

MVPs
  • Posts

    14,148
  • Joined

  • Last visited

  • Days Won

    67

Everything posted by BrewManNH

  1. Use the handle of the instance of Notepad you want, and not its title.
  2. If you use #RequireAdmin in your script, and SciTE wasn't started with the same level of access, i.e. using Run As Administrator, then when you run your script, the #RequireAdmin will be seen and the script will end, and then restart itself with administrator permissions. This is why you don't see anything in SciTE, start it as an administrator, and then run your script, should work fine.
  3. In this example, you're evaluating -1 * -1, that's what the exponent is telling you to do. Two negative numbers multiplied together always yields a positive number. I'm not sure what the precedence is in algebra because I did terribly in it, but I do know that the exponent is just telling you how many times to multiply a number by itself. If you had used -1^3, the answer would be negative.
  4. My guess, going from the error message, is that the _StringBetween isn't returning an array on occasion. That error message means you're trying to access a simple variable as if it were an array and it isn't an array.
  5. Selec () ; <<<<<<<<<<<<<<<<<<<<<<<<< Func Selec ()         while 1 Your Selec function never gets called due to it being called after the endless loop before it.
  6. Try ShellExecute, that link you posted is a shortcut and not the executable.
  7. You should use the full path and file name of the service.cmd file when you use the Run command.
  8. With the Run command, don't use BitOr, just use + between the variable names, you need to add them together instead of Oring them.
  9. I'd suggest using a GUI and an input control created with GUICtrlCreateInput, then you can specify that it would only accept numbers with the style $ES_NUMBER set.
  10. Are the folder names different, depending on the language, for the Signature folder in the appdata\roaming location?
  11. You should probably be using a Message Handler rather than an OnEvent message.
  12. What type of automation are you doing? Are you using Send instead of ControlSend, MouseClick instead of ControlClick? https://www.autoitscript.com/wiki/FAQ#Why_doesn.27t_my_script_work_on_a_locked_workstation.3F
  13. Are you running the script on the remote machine, or your local machine?
  14. Post your script that is having the problem, or a runnable example script that shows the issue for you and we will be able to help you with it.
  15. Was this an answer to my question? Because seeing the screen has nothing to do with what I asked you.
  16. What is your display scale set to? If it's over 100% then you're probably reading the wrong location.
  17. Just curious, if you know the code you want, why does it have to be in hex format?
  18. I'm not sure what you're saying here, what's writing the file and what's firing that file, and what does that file eventually do?
  19. I couldn't tell you, I don't push stones up hill all day when bored.
  20. There is no way to use a variable in a fileinstall as the source file except as noted in the help file. Any other method that requires the script to interpret the variable will fail every single time. There is NO way for the compiler to know what the variable contains at compile time, it's not running the script it's just compiling. You should stop trying to figure out a way to circumvent this because every effort will fail and you'll be wasting your time. Unless you're bored and need to try and hack the compiler in your free time.
  21. Why not just alter the registry and forget about manipulating the GUI, all the GUI does is shortcut the registry entries.
  22. Yeah, you're right, was thinking backwards.
  23. I'd use BitOr to find out which bits are set.
  24. https://autoit.de/thread/26550-bass-dll-udf-version-10-download/
×
×
  • Create New...