Jump to content

esfalk

Active Members
  • Posts

    58
  • Joined

  • Last visited

About esfalk

  • Birthday 07/26/1983

Profile Information

  • Location
    United States
  • WWW
    http://web.ics.purdue.edu/~efalk

esfalk's Achievements

Wayfarer

Wayfarer (2/7)

0

Reputation

  1. I appreciate your response, SlimShady... but this is something I've found to be true on my own, hence the thread in the forums. Are there plans to incorporate Java interactivit-ibility into AutoIT? Is there a similiar, "opensource BASIC-like scripting language designed for automating" java? Thanks
  2. ...it's quiet... too quiet... This isn't exactly critical by any stretch of the imagination, but I am curious; so if anyone has any insight into this subject it'd be most appreciated. Thanks.
  3. Just wanted to tap this back up to the top 'o the list... If AutoIT can't and won't ever be able to interact with Java powered GUI windows, does anyone know another (free) utility that can? Many thanks.
  4. Is there anyway to establish the variable as a 'Long'. If I remember back to my good 'old C programming days... you could set variables to some sort of long-thingy and it'd be able to hold mucho-numberos.
  5. Question: On the first line of text containing numbers, how are they delimited? (Separated). Clarification: There is one line of numbers 1-999 (randomized?), you want to take a number (say, 372) and plug it into a spot (designated by what?) in another file (always same file?). Then you want just that number (372) removed from the origional file? Is there anything else in the origional file?
  6. I'm worried the answer will be no, but can AutoIT in it's current form interact with Java applications? I realize that AutoIT can always blindly click and type, following a pre-set path, but the 'Last Control Under Mouse' portion of the AU3_Spy while in a java application is blank. If this is something that AutoIT cannot do, does anyone know of a similiar scripting-based application that can interact with java based applications and windows? Perhaps this is something AutoIT can incorporate at a later date??
  7. You can't expect someone to help you, and tell them not to use any knowledge that you don't already have... how are they going to help you if they can't use what they know and you don't?
  8. Alright, here's a little function that I threw together that seems to work great for waiting while the processor works, things load, and for a given window entitled $WINDOW to become active... ; Function to check CPU activity and mouse icon for use Func _Busy( $WINDOW ) Do Do TrayTip ( "", "Waiting for " & $WINDOW, 1 ) Sleep ( 100 ) $CPU = StatusbarGetText ( "Windows Task Manager","",2 ) $CPU = StringTrimRight ( $CPU, 1) ; remove the % $CPU = StringRight ( $CPU, 3 ) ; get the possible 3 digits $CPU = Int ( StringReplace ( $CPU,":","" ) ) ; remove colon and convert to int. TrayTip ( "CLEAR", "", 0 ) Until $CPU < 15 Do TrayTip ( "", "Waiting for " & $WINDOW, 1 ) Sleep ( 100 ) TrayTip ( "CLEAR", "", 0 ) Until MouseGetCursor ( ) <> 15 WinActivate ( $WINDOW ) TrayTip ( "", "Waiting for " & $WINDOW, 1 ) $STATE = WinGetState ( $WINDOW ) TrayTip ( "CLEAR", "", 0 ) Until ( BitAND ( $STATE, 15 ) = 15 or BitAND ( $STATE, 13 ) = 13 or BitAND ( $STATE, 47 ) = 47 ) EndFunc ; --> _Busy
  9. Well, the file I'd like to access is on a mapped drive of another server. In this case, would $a="U:/folder/Book1.xls" ?
  10. Sometimes the Excel executable file is located in different locations on different machines, and this causes potential problems for my Run () function. Is there a way to read the registry, or access some other information on the machine to know where the EXCEL.exe file is prior to attempting to run it? Suggested code? Many, many thanks!
  11. Correction: Moral of the story is: We woudl like AutoIT to have a set of commands similiar to CommandControl that can interface with menu bars and their contents.
  12. Yes, I am currently using the same "pixel checking" theory, to see if a certain pixel where the checkmark should be is black. However, I am hoping to generate a program that will be compatible with many different setups and I'm striving to make it as generic as possible to accommodate as many different computer settings as possible. ADD: Internet Explorer is not my primary emphasis, but the software I hope to automate does have a very similiar menu bar, with options checked. My primary concern at the moment is being able to know what menus are on the menu bar, as some can be turned on and off.
  13. Perhaps (and hopefully) I've just overlooked a command that would make this incredibly easy. Here's the deal; I need to read the toolbar so my program can act accordingly. By toolbar, I am referring to the bar across the top of all windows which normally contains the likes of "File", "Edit", and "View". Additionally, if there's any function similiar to IsChecked () that would evaulate the 'check'-ed status of the dropdown options from this toolbar, i.e. View --> Status Bar, that would be equally helpful. Many thanks!
  14. liontamer: I just tried a similiar command in a 3d modeling program of my own, and came across no problems. Perhaps this is a problem specific to your own software... my only advise would be to ensure that you have the correct title for the sub-window, and that text is actually where you intend to read. Sorry I couldn't be of more help.
  15. Make sure that after starting AU3_Spy you select another window to spy. The AU3_Spy's main window is blank by default.
×
×
  • Create New...