
fly
Active Members-
Posts
87 -
Joined
-
Last visited
Everything posted by fly
-
Needs some help (re)submitting an IE form
fly replied to fly's topic in AutoIt General Help and Support
That did it! Thank you very much for the help! -
Needs some help (re)submitting an IE form
fly replied to fly's topic in AutoIt General Help and Support
Yeah, I'm still not getting it. Here's the whole form. Any help would be awesome. -
Ok, so I've poured over the docs as much as I could... I've got a form that I'm able to submit some data. Works perfectly! However, once submitted, the "button" image itself changes from the word SET to UNSET. I can't seem to figure out an ID for the UNSET button. I can't see any ID for it in the HTML, nor does just clicking the same object work again. Any idea how I can find the ID of this button?
-
Problems reading text from an IE page...
fly replied to fly's topic in AutoIt General Help and Support
I totally missed that option. I think that resolved it. Thank you!!! -
Problems reading text from an IE page...
fly replied to fly's topic in AutoIt General Help and Support
The problem is that the Attach works fine, if the page refreshes while its actually reading the text tho - things blow up. -
Problems reading text from an IE page...
fly replied to fly's topic in AutoIt General Help and Support
Yes, I need to use the IE window already loaded on the machine. -
So I've got some code together that grabs the text from an already existing webpage. The problem I'm having is that sometimes the page refreshes, and I end up with this error: C:\Program Files (x86)\AutoIt3\Include\IE.au3 (1964) : ==> Variable must be of type "Object".: Return SetError($_IEStatus_Success, 0, $o_object.document.body.innerText) Return SetError($_IEStatus_Success, 0, $o_object.document.body^ ERROR ->12:16:25 AutoIT3.exe ended.rc:1 The code simply is: $oIE = _IEAttach ($sURL, "URL") $sBody = _IEBodyReadText ($oIE) The attach happens fine, but the ReadText fails. And I guess since its failing inside the IE.au3 script, none of my error checking seems to be working. Suggestions on what Im doing wrong?
-
I think this is a SQL query issue, but...
fly replied to fly's topic in AutoIt General Help and Support
I figured it out, sorta. The only thing worse than my SQL is my logic. The SQL query needs to see if Time is in between the current time (in ticks) and the current time - 60000 ticks. Now to figure out how to do that in the WHERE part of the SQL query... -
I think this is a SQL query issue, but...
fly replied to fly's topic in AutoIt General Help and Support
Ah! I see that I can specify a file with _SQLite_Open(). Okay, thanks I'll try this... -
I think this is a SQL query issue, but...
fly replied to fly's topic in AutoIt General Help and Support
This is probably a really dumb question, but is my AutoIt database stored on the system somewhere as a file? If so, where is it so I point this Firefox addon to it? -
I think this is a SQL query issue, but...
fly replied to fly's topic in AutoIt General Help and Support
Here is what I get: Query: 0 Fetch: 0 Less than 60s = 0 Are any of these free and easy to setup? I'm really a terrible SQL guy. I guess the good news is that neither of you found something obviously wrong with my statement. -
So, I'm trying to use SQLite and I'm running into some issues... Full disclosure: I'm a total SQL greenhorn I have a SQL table. Once column is logging the time data was written to the table (in Ticks). I'm then trying to run a query that counts all rows written in the last 60 seconds. That gives me this: $sTime = _TimeToTicks(@HOUR, @MIN, @SEC) - 60000 _SQlite_Query(-1, "SELECT count(Time) FROM Info WHERE Time < '" & $sTime & "';", $hQuery) _SQLite_FetchData ($hQuery, $aOut) ConsoleWrite("Less than 60s = " & $aOut[0]& @CRLF) My ConsoleWrite output is constantly ZERO. What am I doing wrong?
-
Hopefully its okay that I bump this thread... I had the exact same question about how to capture a listbox double click. I tried the above code, just to see if it would work and I get an error. I'm wondering if someone could show me the light... C:\Users\Me\Documents\My Dropbox\Scripts\RAsL\test.au3(49,46) : WARNING: $tagNMHDR: possibly used before declaration. Local $tNMHDR = DllStructCreate($tagNMHDR, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Users\Me\Documents\My Dropbox\Scripts\RAsL\test.au3(49,46) : ERROR: $tagNMHDR: undeclared global variable. Local $tNMHDR = DllStructCreate($tagNMHDR, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Users\me\Documents\My Dropbox\Scripts\RAsL\test.au3 - 1 error(s), 1 warning(s)
-
I know, but any change I do has to go through change management. I LOVE WORKING FOR BIG COMPANIES! Thanks for your replies, but I think I'll have to stick with psexec for now.
-
Is changing the computer account the only way to do this with WMI? I doubt I'm going to be able to justify that when I *could* use psexec...
-
Any more thoughts on this? I'm thoroughly confused at this point.
-
Thanks. I'll do some more poking around and try to get my little head around this...
-
Yeah, I've had some problems with psexec and AV software. I happened to catch that WMI can spawn remote processes and started to look around. Basically what I have is a server with a ton of silent installs on it (all are run by kicking off a specific batch file). From my computer, I need to be able to force client PCs to run these batch files off the server. I read the link you posted but have a couple of problems. One, I don't really understand how to make WMI work in AutoIt, but I'm working on that. Two, the link mentions I need to make some AD changes for this to work, which is probably much more work than using psexec. Suggestions? And if I should start another thread, please let me know. It really wasn't my intention to hijack this thread.
-
This is very pertinent to what I'm doing right now. Awesome! I'm not understanding the path though, I think (as the code isn't working for me). I tried a hard path and that doesn't seem to work. You seem to use a relative path, but relative to what? edit: nevermind. After reading, it seems that any command run will not have network access. CRAP, back to psexec...
-
Hold command prompt open while my script is running?
fly replied to fly's topic in AutoIt General Help and Support
Gotcha. Thanks again then guys! -
Hold command prompt open while my script is running?
fly replied to fly's topic in AutoIt General Help and Support
Im running it from cmd.exe -
Hold command prompt open while my script is running?
fly replied to fly's topic in AutoIt General Help and Support
Will that still allow me to use GUI functions? I could do that, but I'd rather have the syntax the same so that I don't confuse my coworkers too much... -
Hold command prompt open while my script is running?
fly replied to fly's topic in AutoIt General Help and Support
I don't understand that... -
Hold command prompt open while my script is running?
fly replied to fly's topic in AutoIt General Help and Support
No, I'm just trying to hold the command prompt so that it doesn't continue on in my batch file until the Autoit program has finished...