langthang084 Posted February 11, 2009 Share Posted February 11, 2009 i'm newbie and i cant use the code like : send("send("{ENTER 10}")") could somebody help me with this problem? Thanks Link to comment Share on other sites More sharing options...
BugFix Posted February 11, 2009 Share Posted February 11, 2009 i'm newbie and i cant use the code like :send("send("{ENTER 10}")")could somebody help me with this problem?ThanksWhat you want to do? Send ENTER 10 times?Have not sense: send("send..Use only: Send("{ENTER 10}") A look to the help file give you the same result. Best Regards BugFix Link to comment Share on other sites More sharing options...
BrettF Posted February 11, 2009 Share Posted February 11, 2009 Welcome to the forums. Just some clarification.... You wish to send "Send('{ENTER 10}" or Actually emulate pressing the enter key 10 times... ? If you answered yes to number 1, you need to muck around with the quotation marks ("" or ''). Something like this should work: Send ('Send ("{Enter 10}")', 1) Notice how I added the flag to send the keys raw. I won't bother explaining how it works in depth, but basically with raw mode, whatever you specify in the send command, will be sent. Without it, stuff like ^+! and things {} will be parsed and the correct keys sent. Have a look in the helpfile for more. If you want to send enter 10 times, than this is all you need: Send ("{Enter 10}") Cheers, Brett Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
langthang084 Posted February 11, 2009 Author Share Posted February 11, 2009 I just want to type "send("{ENTER 10}")" automatically in Script Editor Link to comment Share on other sites More sharing options...
BrettF Posted February 11, 2009 Share Posted February 11, 2009 I have already answered your question if you bothered to read my post. Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
langthang084 Posted February 11, 2009 Author Share Posted February 11, 2009 Ohh!! Sorry and thanks BRETTF!! I already read your post but when i run this script the result is type "send(" and ENTER 10 times. Now i do again , it work (Maybe i didnt type "1") ^^! Link to comment Share on other sites More sharing options...
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