Jump to content

FlyinRiz

Active Members
  • Posts

    71
  • Joined

  • Last visited

FlyinRiz's Achievements

Wayfarer

Wayfarer (2/7)

0

Reputation

  1. I'm not sure I'm understanding exactly what you are trying to do (a little code might help), but I would start with string concatenation which can be achieved using the ampersand symbol... For example this $newword = "auto" & "it" MsgBox(0,"The new word is",$newword) Will result in a message box displaying "autoit" You can also use variables instead of string literals. -Aaron
  2. $handle = InetGet("link") InetGetSize("link") = InetGetInfo($handle,1) @InetGetActive = InetGetInfo($handle,2) @InetGetBytesRead = InetGetInfo($handle,0) This was all in the help file and explained very well. If you need more info on this, I would start there. I've never actually used these functions before and was able to find the info in under 60 seconds. So in the future, I would do a little leg work before you ask someone to help you. That will make people want to help you more, knowing that you've actually tried first. -Aaron
  3. Are you trying to post the file to your PHP page/script? I'm assuming you don't have the ability to use FTP? What is your reasoning for not using IEobj? -Aaron
  4. Can you give a little more of a description of what you are trying to do? -Aaron
  5. If you posted the entire script it might help with this troubleshooting. -Aaron
  6. You could try starting here with the API http://msdn.microsoft.com/en-us/library/dd370892(v=VS.85).aspx
  7. You could have it open the Options menu (since it won't process the keystrokes until it's fully open) and then wait for that window. Then you could just put a close command as soon as it see's it and you're good to continue. I'm sure there is a better way, but I think that should work. -Aaron
  8. While the script is paused for 1 minute, it's ignoring all other items (including your entire While loop), so it will process the tray items just after that minute is up. What is the purpose of the Start function. There are other ways of doing this so that it doesn't block the rest of the script. -Aaron
  9. Ok first of all, re-read my question above. Second, unless you plan on paying me, I'm not going to just write a script for you. We are here to help you understand and learn how to code your own scripts, not do the work for you. Third, in addition to where, what does the error message say? -Aaron
  10. Maybe he's mad at his ISP -Aaron EDIT: On a serious note, this looks like a double post from here.
  11. You are checking for Erorr wrong. But seriously, change the spelling for your Win...() statements and that should help. Where are you getting an error message? You can also use WinActivate() WinWaitActive() instead of your Do WinActivate() Until WinActive() -Aaron
  12. Proof of concept (XP SP3) Run(@systemdir & "\osk.exe") WinWait("On-Screen Keyboard") MsgBox(0,"` is:",ControlGetText("On-Screen Keyboard","",17)) MsgBox(0,"1 is:",ControlGetText("On-Screen Keyboard","",18)) MsgBox(0,"2 is:",ControlGetText("On-Screen Keyboard","",19)) MsgBox(0,"3 is:",ControlGetText("On-Screen Keyboard","",20)) MsgBox(0,"4 is:",ControlGetText("On-Screen Keyboard","",21)) MsgBox(0,"5 is:",ControlGetText("On-Screen Keyboard","",22)) MsgBox(0,"6 is:",ControlGetText("On-Screen Keyboard","",23)) MsgBox(0,"7 is:",ControlGetText("On-Screen Keyboard","",24)) MsgBox(0,"8 is:",ControlGetText("On-Screen Keyboard","",25)) -Aaron
  13. This is probably a very messy way of doing it, BUT I think it would work...if you open the virtual keyboard (which should change based on the selected keyboard layout), and hover over the keys (with Au3Info), it will display the Shift+Key, you could then use that to create a dynamic table at the beginning of your script based on key positions rather than key 'labels'. Again this is all in theory, but it might work. -Aaron
  14. I thought it might, but if you use a symbol like $ (or Chr(0x24)) it stays the same for both. -Aaron
  15. Even if you add another button, you'll run into the same problem. You need to repeat the While 1 loop as quick as possible because that's the only way the program can grab the next message. You could also look into OnEvent instead. That would allow a button to interrupt your script. -Aaron
×
×
  • Create New...