Jump to content

arminius

Active Members
  • Posts

    71
  • Joined

  • Last visited

Everything posted by arminius

  1. sorry? I need more information?
  2. so I have a script, and it contains Send("{RCTRL down}") ;Holds the right control key this seems to work fine, and that's half the problem. The other half is this Send("{RCTRL up}") ;Releases the right control key This does not seem to be working, cause after I run this script, my system seems to act as if right control is forever engaged, I'm forced to log out then back in to get rid of it.
  3. I said I used to be on here Melba23, all my attempt to find my old account failed, although I'm certain it was way earlier then 2012.
  4. I used to use auto IT years ago, getting back into it. I used to have a program that would launch the .exe that auto IT creates. But can't remember what it was. Can anyone recommend something that can do that? freeware preferred of course. would let you bind it to one key, so just press F12 and your .exe runs.
  5. can anyone recommend a program, that at the push of one key will execute a auto it script, not open it, just run it. and is freeware.
  6. I'm useing the send command send " so on and so forth" how do I tell the script to hit the enter key at the end?
  7. CODESend("^4") sorry I didn't try it, but thousand sorry's it works, just figured rctrl was what it wanted, anyway thanks a million
  8. ummm not seeing how this will send the right control key' CODESend("^4") but yes, right control key then 4
  9. no sorry this had the exact same effect as my first, only pressed 4 CODESend("4 {RCTRL}")
  10. CODESend("{RCTRL}4") trying to send Right Control button and 4 at same time, but only seems to send 4 and not control?
  11. it didn't come up with a message box, but it also didn't execute the script
  12. I tried your code CODE$s_Path = "C:\Documents and Settings\Kieren\My Documents\Scripts\Screensaver\Good.exe" CODECase $msg = $Button_1 Run('"' & $s_Path & '"') and nothing happened as normal
  13. I've tried just the file name, it says cannot find external file, I try the full path and when I click on the button nothing happens, no error message but no script execution
  14. I just wanna run an .exe is that possible?
  15. ok here is the code CODEWhile 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $Button_1 Run("C:\Documents and Settings\Cieran\My Documents\Scripts\Screensaver\Good.exe") Case $msg = $Button_2 ShellExecute("Bad.au3", "", "C:\Documents and Settings\Kieren\My Documents\Scripts\Screensaver", "Run") Case $msg = $Button_3 ShellExecute("Surreal.au3", "", "C:\Documents and Settings\Kieren\My Documents\Scripts\Screensaver", "Run") Case $msg = $Button_6 ShellExecute("Chatter.au3", "", "C:\Documents and Settings\Kieren\My Documents\Scripts\Chat Programs", "Run") Case $msg = $Button_7 Run("C:\Documents and Settings\Cieran\My Documents\Scripts\Chat Programs\Chatter - Logoff.exe") EndSelect Wend the shellexecutes are how I had it at the early state so I could make edits to the programs, but now that I want to compile them, I click on the buttons with .exe, and nothing happens, no error message, just doesn't wanna execute?
  16. ok, I want to change the working directory from the @scriptdir, to somewhere else here is the code CODEWhile 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $Button_1 ShellExecute("Good.au3", "", @C:\Documents and Settings\Bill\My Documents\Scripts\Screensaver, "Run") Case $msg = $Button_2 ShellExecute("Bad.au3", "", @ScriptDir, "Run") Case $msg = $Button_3 ShellExecute("Surreal.au3", "", @ScriptDir, "Run") EndSelect Wend buttons 2 and 3 are the old ones and they work, button 1 is what I wanna do, but it's not working, I looked through all the help file and the solution didn't jump out at me so your help is appritiated
  17. ok thanks guys it's still not quite what I was wanting it to do but I think I can experiment with what's there and get it to work , thanks for all your help
  18. I'm sorry, I thank u for trying, but I'm a newb, I'm trying to learn, I want to learn but I have no idea what that code is looking for, I put bitch! in the test.txt but it came up with nothing?
  19. no ReaImDown, that's not at all what I'm trying to do I just want it to copy from a text file a line of text, if it finds something it's looking for it will send completely different text on somewhere if it doesn't find any text it's been told to watch out for then it does nothing.
  20. it's alot more complicated then I'm used to well it's close, but rather then display an error when it doesn't find what it's looking for I was wanting it to send keystrokes when it does find what it wants?
  21. my code is very light cause I'm not sure how to proceed with the fundamentals, and the fundemental part is that when autoit copies text when it says readfileline, how can it search for specific text within the text it's just read? for example say it copy's "AutoIt Forums > AutoIt v3 > General Help and Support > selective reader then writer" how can I tell auto it to seach for specificly "General Help and Support" within that text? I'm sure from that point I can send specific key strokes where I want them, but it's that first part of if said text is found then do this that's got me stumped?
  22. ok, what I'm trying to do is write a program that will see a specific text like "it's a beautiful day" and if it reads that will write "let's go outside" I have FileReadLine down for reading the text but I'm having trouble with the IF text is "it's a beautiful day" then send text "let's go outside" part
  23. I've written a long section of code in a script but there's certain parts that I want to remove from the process, but I might be needing to switch them back on I'm not wanting to delete them so is there away of telling AutoIT to just skip over this section of code and go to what's next? something I put at the start and end of what I want ignored and then if I want to turn it back on I simply delete the inhibiters?
×
×
  • Create New...