Cameltoe Posted January 20, 2010 Share Posted January 20, 2010 is there any command for: if _ielink = "google.no" then sleep(5000) endif Really need something that do this .. would be really helpful for meg Link to comment Share on other sites More sharing options...
Cameltoe Posted January 20, 2010 Author Share Posted January 20, 2010 So many views and no reply.. most be somebody that know of a link check function? Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted January 20, 2010 Moderators Share Posted January 20, 2010 Cameltoe, Please do not bump your own thread within 24 hours - it is considered rude here. Remember this is not a 24/7 support forum - those who answer are only here because they like helping others and have some time to spare. You just have to wait until someone who knows something about your particular problem, and is willing to help, comes online. Be patient and someone will answer eventually. Or if not - tough! M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Cameltoe Posted January 20, 2010 Author Share Posted January 20, 2010 K, thx will have that mind. Link to comment Share on other sites More sharing options...
GodlessSinner Posted January 20, 2010 Share Posted January 20, 2010 Your question is unclear. If you know link, so what's a problem to compare it with another? _____________________________________________________________________________ Link to comment Share on other sites More sharing options...
Cameltoe Posted January 20, 2010 Author Share Posted January 20, 2010 (edited) i want to check if the link matches, like this : if not link = "google.com" then keep doing the script but: if link = "google.no" then sleep(5000) i want a function that know what url im on and sleep at one specific url. Edited January 20, 2010 by Cameltoe Link to comment Share on other sites More sharing options...
Cameltoe Posted January 20, 2010 Author Share Posted January 20, 2010 Like i want the script to sleep at a spesific link .. i am wery bad to explain things.. hope someone get what i mean and help me out Link to comment Share on other sites More sharing options...
GodlessSinner Posted January 20, 2010 Share Posted January 20, 2010 AutoItSetOption("WinTitleMatchMode", 2) AdlibEnable("_gettitle", 250) While 1 Sleep(100) WEnd Func _gettitle() AdlibDisable() Switch WinGetTitle("","") Case "Google - Opera" MsgBox(0, "", "google!") Sleep(5000) EndSwitch AdlibEnable("_gettitle", 250) EndFunc I don't know how to get a browsing link, but different sites has a different titles.. _____________________________________________________________________________ Link to comment Share on other sites More sharing options...
DaleHohm Posted January 20, 2010 Share Posted January 20, 2010 If you are talking about <A href=xxx> links on a page, see _IELinkGetCollection and the associated example Dale 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...
Cameltoe Posted February 12, 2010 Author Share Posted February 12, 2010 Nice Ty! i used the link get collection function and got out with this code: $link = _IEPropertyGet($IE, "locationurl") if $link = "google.no" Then MsgBox(0,"google","google is on") EndIf if not $link = "google.no" Then MsgBox(0,"google","google is dead!") EndIf Thx for all help ) 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