Jump to content

jjj

Active Members
  • Posts

    40
  • Joined

  • Last visited

Everything posted by jjj

  1. i cant get the traytip to work for me in vista either...(with uac turned off) any help from autoit?
  2. lod3n, great code, works perfectly for me. I have used it for a bit of home automation, and expect to expand it further in the future. One question though...is there a way to connect to a specific bluetooth device? Or return which devices are available? I ask because i would like the script to do one thing when my phone is available, and another when my wife's phone is available. Is this possible? ( i dont really know much about NETCommOCX or how to use it ) Thanks
  3. how do i write to the standard in stream without a knowing what process it will be? for example: running an autoit compiled script from the command shell or a batch file: compiled_script.exe>>temp.txt or: compiled_script.exe>other_compiled_script.exe or: compiled_script.exe>%temp% is there a way to do this?
  4. i know this has nothing to do with autoit, but i am having a problem with setting up my local server to wake on lan. The server is a laptop running winxp, which was originally set up to run on a university network, so it had basically every security measure enabled. I set up the nic to allow wake on lan, and when i send the magic packet from another computer, the server does wake up, but it doesnt wake up completely. I have to go over to it, and press a key on the keyboard or move the mouse, and then the computer is fully awake. In this half-awake state, the power is fully on, but the monitor is blank. As soon as i touch a key, the monitor comes on, and all is back to normal. My question is: could this possibly be a winxp thing, and what kind of setting can i change to get it to completely wake up? Could it be that windows isnt logging on? Thanks for any help!!!
  5. i am having a problem with controlsend to an IE window: ControlSend($hIE, "", "Internet Explorer_Server1", StringLeft($file, 1),1) ControlSend($hIE, "", "Internet Explorer_Server1", ":",1) ControlSend($hIE, "", "Internet Explorer_Server1", StringTrimLeft($file, 2),1) $file is a path and a file (c:\temp.html) I have isolated the colon, because it keeps being sent as a semi-colon, which is my problem. Is there any way to make sure this is sent as a colon? Is this a bug with autoit, or a complication of sending text to a form in IE?
  6. dale, thanks for the help with this, there is absolutely no way i would have been able to do it without your guidance. (you basically wrote it for me) anyway, i got it to work, the submit was working, but the page just wasnt updating, so it didnt seem like anything was happening. ill post the finished script when i clean it up, thanks!
  7. ok, it is really close to being done! i got the form to be interactive, and the script is filling the form, but it wont submit. any idea why it wont work? here is the full line of code for this form after filling it in: <FORM style="MARGIN-BOTTOM: 0px" accept-charset=utf-8 onsubmit="return false" action=/upload-file-simple/mynamehere/?authtoken=83ef0ff2f8785bf4ecc68cc238ae8377065e1aa8 method=post target=tr_post-iframe-tr_1161652623573 encType=multipart/form-data><INPUT type=file size=7 value=C:\myfile.txt name=file Yg="14" unselectable="off"></FORM>
  8. ok, the script has the form diabled with this line: unselectable="on" is this something i can change, and if so how? i will never know fully what is going on in the page's code, but i really want this to work, so i want to try everything. (thanks for your help) EDIT: I just realized that i can interact with the form when i am using firefox, but not when i am using internet explorer. ill look into security stuff, but do you have any idea why this would happen?
  9. thanks alot for the help, but i just cant get it to work. my script runs witout errors, but the filename does not appear in the file form, and the form does not submit. ive noticed that when the page is open, i cant manually fill in the file form even when i click on it with the mouse, and type in the filename with my keyboard, but it will allow this action if i hit the browse button next to the form. i cant find anything in the html for the browse button for me to simulate a click on that, so i guess im just s.o.l. again, thanks for your help dale, but unless you have any other suggestions, i think i may not be able to do this.
  10. ok, the click on the element worked perfectly, but now i think i am having problems with using the correct name for the file box. can you pick out the names i should be using for the following lines... $oForm = _IEFormGetObjByName($oIE, "ExampleForm") $oInputFile = _IEFormElementGetObjByName($oForm, "fileExample")
  11. thanks for the help dale, but i think i need a few other things figured out before i can use your suggestion. i need to hit the pseudo-link called 'upload', which will open the text input form, and then the file can be sent to the form. have absolutely no idea if this is possible with the google page creator, but it would be great if i could get this to work.
  12. this is just a bump to see if anyone can help me out, please...
  13. can anyone help me with an automated upload to gpc... i have a script that will automatically log in to the site, using the ie.au3, but i can't get the rest. i need to select the link 'upload' then fill in the text field with the filename and path, then hit enter. i am trying to do this without using mouseclicks, as i want it to work hidden. i have tried the click link by text command, but it wont work. i have attached the source for the section that contains the upload portion -its all one line-, but if you havent seen the google page creator site, it probably wont be any help. with the text form closed, and the upload 'link'... [<span id="tr_toggle-upload-form" onclick="_TR_toggleSmUploadDrawer(this)" class="tr_pseudo-link">upload</span>] </div> with the text form open... <form method="post" enctype="multipart/form-data" accept-charset="utf-8" target="tr_post-iframe-tr_1161296296433" style="margin-bottom: 0px;" onsubmit="return false" action="/upload-file-simple/mynamehere/?authtoken=83d6a667dad07b47d4bfe91a2befb041d7f377d6"><input style="-moz-user-select: none;" name="file" size="7" type="file"></form></div></div> [<span id="tr_toggle-upload-form" onclick="_TR_toggleSmUploadDrawer(this)" class="tr_pseudo-link">close</span>] </div></div> </td> <td></td> </tr>
  14. thanks steve i have set up a hack to make it work: at worked with the interactive parameter, but it would not wake up the computer out of standby, so i have a regular scheduled task to wake up the computer and start a au3 that runs the at command to start the task with the interactive parameter. If anyone has a better way to do this, please let me know!
  15. i have been trying to get windows scheduler start a script that opens a video conversion tool (auto gordian knot) in the middle of the night, and starts a conversion. The problem is, windows scheulder starts the script as a process, so when the script opens AutoGK, no window is shown. I have tryed to use the winactivate and winsetstate, but nothing will bring up the gui. (i need the gui up to send commands to it.) Does anyone have a solution for using windows scheduler? (i specifically want to use the scheduler to save on system resources) thanks!
  16. so it still works, but it is not supported anymore, am i right/
  17. i have recently bought a new computer, and installed a frswh version of autoit, with the latest full release, and the latest beta release, and now i cant use stringregexp. it doesnt exist in the help file for either the full release or the beta release, and scite does not recognize it as a function, and when i run a script with the term in it, the script errors out. what happened to regular expressions....
  18. I am thinking of making an html based really basic windows explorer to be used for viewing on a television. I thought that html would be best because i can make the background color something other than white, and the size of the font something other than black, and a larger size than normal. All it would have to do is be able to scroll through video files, and open then up in another program. It would look much like a media center, but it would just have to scroll through one or two directories. Before I start, has anyone done anything like this?
  19. timetest.zip
  20. is there a way to add a row to a database with this udf? Thanks! edit: i just figured it out, thanks anyway!
  21. wait, one more question... how would I form the $s_prepare = ? I want to delete a row that has a unique number under the heading "oid". Would I do this: $s_prepare = "SELECT * from" & $sDbTable1 & "WHEERE oid=" & $oid & "';" EDIT: I just figured it out: $s_Prepare = " WHERE oid='"& $oid & "';" _SQL_DeleteRow($sDB, $sDBTable1,$s_Prepare,1) Thanks!
  22. I am trying to delete an entire row from a table in a sqlite database using this udf. I am not sure what all of the commands do, so the only thing i can think of is writing "" to each of the table's entries for the row that I want to delete, but that isn't quite what I want to do. Can anyone who knows this udf or sqlite suggest an approach for me to take? Thanks!
  23. I am trying to catch all autoit errors and write them to a log file instead of popping up a message box. Also, i want the script to exit quietly if it encounters a fatal error. Is this possible? I havent been able to find anything directly relating to this on the forums, or the help file. Thanks in advance!
×
×
  • Create New...