Guest Chosy Posted April 1, 2005 Share Posted April 1, 2005 i only tryed the v1.0 autoit and it more than a year ago.. and i dont remember anythign and my english is verrybad.. so i hoped that some of your might like to help me a little here... Send "keys" [, flag] What i want it to do.. is that my script, clicks "1" time and the desktop.. the it press arrow up and right some few times to get to the upper right icon, "wich is internet explore". then it goes an url of my choices.. and then it click some few links... can any1 help me doing that? cuz all i remember is that all youd had to do was: Send, {up}{right}{enter} but it doesnt seems to work Link to comment Share on other sites More sharing options...
flyingboz Posted April 1, 2005 Share Posted April 1, 2005 help "send key list" Reading the help file before you post... Not only will it make you look smarter, it will make you smarter. Link to comment Share on other sites More sharing options...
MSLx Fanboy Posted April 1, 2005 Share Posted April 1, 2005 You could do: #NoTrayIcon RunWait(@ComSpec & "/c " & "start http://www.google.com") Which will go to the www.google.com webpage. You can change that to whichever webpage you want, or if you want to change it each time you can do: #NoTrayIcon $url = InputBox("Advanced IE Starter", "Enter the url: ", "http://www.google.com") RunWait(@ComSpec & "/c " & "start "& $url) Which will ask for a url, or will set a default to google. Writing AutoIt scripts since _DateAdd("d", -2, _NowCalcDate()) Link to comment Share on other sites More sharing options...
MarkMarkMark Posted April 1, 2005 Share Posted April 1, 2005 You could do:#NoTrayIcon RunWait(@ComSpec & "/c " & "start http://www.google.com")Which will go to the www.google.com webpage. You can change that to whichever webpage you want, or if you want to change it each time you can do:#NoTrayIcon $url = InputBox("Advanced IE Starter", "Enter the url: ", "http://www.google.com") RunWait(@ComSpec & "/c " & "start "& $url)Which will ask for a url, or will set a default to google.<{POST_SNAPBACK}>Whatdoes @comspec do? Link to comment Share on other sites More sharing options...
DaleHohm Posted April 2, 2005 Share Posted April 2, 2005 (edited) Whatdoes @comspec do?<{POST_SNAPBACK}>Instead of just saying RTFM, let's try this...Google Search of the AutoIt3 Online Documentation for 'comspec'Start with this URL that limits the search results to matches at http://www.autoitscript.com/autoit3/docs/http://www.google.com/search?sourceid=navclient&ie=UTF-8&rls=GGLD,GGLD:2005-01,GGLD:en&q=site%3Ahttp%3A%2F%2Fwww%2Eautoitscript%2Ecom%2Fautoit3%2Fdocs%2FThen add a '+' and the search term(s). E.g. +comspec or +comspec+RunWaitORGo to www.google.com and enter the search string: comspec site:http://www.autoitscript.com/autoit3/docs/OK, so that ends up looking pretty complicated. Perhaps the Admins would consider making the online docs more easily searchable or would consider adding the Google Freesearch to do it: Google FreesearchDale Edited April 2, 2005 by DaleHohm Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model Automate input type=file (Related) Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better? IE.au3 issues with Vista - Workarounds SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead? Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble Link to comment Share on other sites More sharing options...
Ejoc Posted April 2, 2005 Share Posted April 2, 2005 Checking my sig works too Start -> Programs -> AutoIt v3 -> AutoIt Help File -> Index -> (The Function you are asking about)----- Links -----DllStruct UDFsRSA Crypto UDFs Link to comment Share on other sites More sharing options...
MarkMarkMark Posted April 2, 2005 Share Posted April 2, 2005 the helpfile says this: value of %comspec%, the SPECified secondary COMmand interpreter; primarily for command line uses, e.g. Run(@ComSpec & " /k help | more") For a noob...this really isnt understandeble Link to comment Share on other sites More sharing options...
DaleHohm Posted April 2, 2005 Share Posted April 2, 2005 the helpfile says this:value of %comspec%, the SPECified secondary COMmand interpreter;primarily for command line uses, e.g. Run(@ComSpec & " /k help | more")For a noob...this really isnt understandeble<{POST_SNAPBACK}>Perhaps, but this is not the only place in the documentation that @comspec is referenced. It is also referenced in several examples and prominently in the FAQ. Follow the other links returned by the Google search or use the search tab in the AutoIt helpfile. Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model Automate input type=file (Related) Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better? IE.au3 issues with Vista - Workarounds SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead? Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble Link to comment Share on other sites More sharing options...
Developers Jos Posted April 2, 2005 Developers Share Posted April 2, 2005 the helpfile says this:value of %comspec%, the SPECified secondary COMmand interpreter;primarily for command line uses, e.g. Run(@ComSpec & " /k help | more")For a noob...this really isnt understandeble<{POST_SNAPBACK}>Don't think you should expect the AutoIt helpfile to teach basic OS stuff..But i am pretty sure you can find lots of good info on the internet about the good old command interpreter ..... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
buzz44 Posted April 2, 2005 Share Posted April 2, 2005 (edited) @comspec = CMD edit: and if u dont know what CMD is... god have mercy on your soul Edited April 2, 2005 by burrup qq Link to comment Share on other sites More sharing options...
Developers Jos Posted April 2, 2005 Developers Share Posted April 2, 2005 (edited) @comspec = CMD<{POST_SNAPBACK}>Or Command.com for WinME/Win9X ... Edited April 2, 2005 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. 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