bshoenhair Posted August 8, 2004 Posted August 8, 2004 I can't get the Run function flags to work in the latest update, anyone else having this problem ?
Administrators Jon Posted August 8, 2004 Administrators Posted August 8, 2004 I can't get the Run function flags to work in the latest update, anyone else having this problem ? You mean the window state flags? I'll check it out (that particular function needed lots of editing so defintately possible that it got mangled...)
Administrators Jon Posted August 8, 2004 Administrators Posted August 8, 2004 You mean the window state flags? I'll check it out (that particular function needed lots of editing so defintately possible that it got mangled...) They seem to be working here, got an example?
bshoenhair Posted August 9, 2004 Author Posted August 9, 2004 They seem to be working here, got an example? <{POST_SNAPBACK}>Dim autoIt As New AUTOITX3Lib.Control autoIt.Run "notepad.exe", "", autoIt.AU3_SW_MAXIMIZE If I use "." for the working dir it will work but shouldn't a blank sting "" for the working dir also work like it does in AutoIt ?
Administrators Jon Posted August 9, 2004 Administrators Posted August 9, 2004 (edited) In AutoIt: Run("notepad.exe", ".") Run("notepad.exe", "") Gives me the same results as do these in AutoItX: oAutoIt.Run("notepad.exe", ".") oAutoIt.Run("notepad.exe", "") When you say it doesn't work, what do you mean? Edited August 9, 2004 by Jon
bshoenhair Posted August 9, 2004 Author Posted August 9, 2004 In AutoIt: Run("notepad.exe", ".") Run("notepad.exe", "") Gives me the same results as do these in AutoItX: oAutoIt.Run("notepad.exe", ".") oAutoIt.Run("notepad.exe", "") When you say it doesn't work, what do you mean? <{POST_SNAPBACK}>Try this, it will not maximize autoIt.Run "notepad.exe", "", autoIt.AU3_SW_MAXIMIZE Does it work for you ?
Administrators Jon Posted August 9, 2004 Administrators Posted August 9, 2004 That's freaky, I tested maximized yesterday (oAutoIt.SW_MAXIMIZE) and it worked, but it's not working here now.
Administrators Jon Posted August 9, 2004 Administrators Posted August 9, 2004 (edited) That's freaky, I tested maximized yesterday (oAutoIt.SW_MAXIMIZE) and it worked, but it's not working here now. Fixed and uploaded. Rookie error. Tested with: value = oAutoIt.Run ("notepad.exe", "", oAutoIt.SW_MAXIMIZE) Edited August 9, 2004 by Jon
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now