Jump to content

orestes72

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by orestes72

  1. Greenhorn, that was my original implementation. Unfortunately when I use that function, autoit ignores any wpf windows that are on the screen. Drove me crazy! Thanks for all of your help though! Your first post helped solve a problem that was nagging in the back of my mind for months.
  2. Wow, thanks. I actually read that entry, but only got as far as "Full path and extension of the bitmap file to be saved" before I decided it couldn't help me. I've got to read more thoroughly.
  3. I've been working on something similar. Is there a way to save the clipboard data directly to a .jpg?
  4. Hello, I am trying to log screenshots of an application that is written in WPF. When I take a screenshot, I only see the main application, any popup windows within the app are hidden. Here is the code segment where I take the cap. I'm assuming I'm doing something wrong , but maybe there is a problem with WPF. $screenShot = _ScreenCapture_Capture("", 0, 0, 2559, 1023) _ScreenCapture_SaveImage("./Logs/JPG/" & $fName, $screenShot) Thanks!
  5. Works great, thanks! (It was the first one)
  6. This udf seems to work perfectly for what I'm trying to do, but I'm very new to working with serial ports and I'm having a problem. I'm sending commands to a hardware device to toggle generator lines through a serial port instead of wired switches. So far I'm just writing a quick test to make sure I can get it to work. Here is what I have: #include "CommMG.au3" $error = "" _CommSetPort(1, $error, 38400, 8, 0, 1, 1) _CommSendString("setinp 8e", 1) _CommCloseport() I've tested to make sure I'm connecting to the port properly, I've just removed all of the unimportant code. When I send the command in hyperterminal, I immediately see the input LEDs on the hardware light up. When I send the same command using AutoIt, the lights remain unlit until I connect to hyperterminal and press the enter key. I've tried adding {ENTER} at the end of my input string, but that's not the problem. What is hyperterminal doing that my script is not?
×
×
  • Create New...