Jump to content

etn

Members
  • Posts

    17
  • Joined

  • Last visited

Everything posted by etn

  1. I haven't tried using yours just yet, but I was just starting to write something like this, so you've saved me some trouble. I have an electron microscope which displays a preview window of the sample on screen, and you adjust contrast/brightness/etc. using analog controls on the instrument. Then you do a slow scan image capture (30 to 60 seconds) for higher quality images and pull the image into Photoshop and adjust the levels. This will allow me to use the analog controls to produce an image which has the best use of the available gamut, so I do not have to stretch the levels so much in Photoshop. Thanks. P.S. I may just write my own for fun anyway, but this lets me get something that at least works much quicker.
  2. Thanks for the tip CS, that GhostIt has potential.
  3. I would like to draw shapes/lines/things directly on the users screen, in response to buttons/commands which the user (me) gives to an AutoIt GUI window. Is this possible? I want to overlay the objects I draw on another programs window (a grid), so I can use the visual guide of the grid to work in the main window. I tried a few things using a transparent GUI window, but couldn't get some things (long thin buttons=lines) to show up with the main window set to transparent. Is this beyond the scope of AutoIt? I know it's supposedly a just a scripting language, but I see many people writing whole applications in it...so it would save me learning something new since I enjoy using AutoIt already. Thanks, Ed
  4. $file is being set to just the filename without the path. if you use the full path for the FileGetTime function it should work (worked for me). $t = FileGetTime( "d:\pics\" & $file ) EDIT: I took too long to type. Sorry for the dupe.
  5. I'll also be a traitor. Er, I mean, you can use this program to check your work when debugging your program. WinMerge It's open source, hosted on SourceForge.
  6. I was having this same problem the other day, but found it only is a problem some of the time. I made a simple form with just a few buttons, and it worked. Then I added a combo and it still worked. But then I added an edit box, which messed it up. If the buttons have the initial focus, then it seems to work fine, but as soon as I tab down into the edit box (or click in it with the mouse), it wont accept any more button input via keyboard (alt-s, etc). Nor can I use tab to move from the edit box to another control. I haven't worked it out beyond that.
  7. Thank you, I didn't know. I had basically given up on this and worked around it by just parsing the text output of the exe version of the program, rather than accessing the library functions directly. I'll still look forward to this feature, because I imagine direct access is cleaner/nicer/faster/more reliable/etc.
  8. I'd also recommend ImageMagick. It has command line tools to do everything you can imagine. It makes them easy to add to scripts. ImageMagick Homepage
  9. I'm new to using Autoit-gui, so please bear with me. I noticed that some of the example files used functions mostly starting with GUI ( like GUICreate, and these are in the help file). In other examples, and in some of the codes posted in this thread, many of the function start with Au3 (like Au3GUIForm). Is this a shift to a new way of doing things, so I would be wasting my time getting to know the old way (which is the old way?)? And are these Au3 prefixed functions explained anywhere? Thanks, Ed
  10. Newer blat version on SourceForge.
  11. AutoIt3ScriptWriter by Larry This might help (I think). 3rd post down.
  12. I think this is cool. A while back I was looking for a spell check anything program, and found a few on the web, but didn't really like any of them. So I built one using AutoIt built around Aspell (GPL spell checker). It's spell checking window is not as pretty as MS Word's (runs in a dos-type box), but it gets the job done. The reasons I don't like MS Word's is 1) slower to load, especially on my older hardware 2) if you put in a hard return, it thinks the next word should be capitalized 3) not everyone has Word Maybe I'll put mine up after I clean up the code. Yours is more polished than mine (like minimizing window, tray tips). (Spell checked with Aspell/AutoIt)
  13. Is it possible to use/call functions from dll's in AutoIt?
  14. Syntax looks fine as far as I can tell.
  15. Are you sure that the destination directory exists? You could check using FileExists and use DirCreate if it doesn't. In your post there isn't a space between ICA and Client in the destination, but there is in the source. Is a typo causing you to refer to the wrong directory?
  16. I first came across AutoIt when I was looking for a solution involving scripting some programs and placing the extracted data into Excel (kinda opposite to what you are doing, if I read you correctly). After much trial and error I found it was easier to just do everything in VBA, since as it was said, it isn't easy to get at MS products from the outside. So I worked from the inside out. It supports all the file i/o, sending keystrokes to other programs, etc. you could probably want, with the bonus of being able to access worksheet elements natively. The syntax is similar, and the help file is adequate. Lots of help by recording your own macros and looking at them. I feel like I should apologize for not having an AutoIt solution, maybe a hybrid solution? I guess it depends if the bulk of your work needs to be done in Excel or not.
×
×
  • Create New...