WIZ-TUTOMENU.ALT

This is an OutWit Tutorial file.


Testing Browser...
userSpace.setWizardPrefs = function setWizardPrefs(){ wizardKit.setWizardPref("browse.tempo.min", "2000"); wizardKit.setWizardPref("browse.tempo.max", "4000"); wizardKit.setWizardPref("images.ondemandonly", true); wizardKit.setWizardPref("page.ignorePlugins", false); wizardKit.setWizardPref("page.ignoreImages", false); wizardKit.setWizardPref("tableMinRows", "1"); } userSpace.wait = function(delay,testFunction){ if(!testFunction) testFunction = function(){return false}; //alert(testFunction); var start = Date.now(); while(!testFunction() && Date.now()-start < delay){ witscript.wait(500); } } userSpace.state = "ERR"+(("witscript" in window)?"1":"0")+((witscript.version)?"1":"0")+((witscript.version("2.1"))?"1":"0"); userSpace.wizardID = "TUTOMENU"; userSpace.exception = function exception(e){ var url = "http://www.outwit.com/?tutorial-exception:"+userSpace.wizardID+"-"+userSpace.state+(e?"-"+e+"-"+e.lineNumber:""); try{ witscript.views.page.load(url); }catch(e){}; }

Discover OutWit Hub

Here is a list of easy and quick tutorials which will get you acquainted with the main features of the application.
(Click on the name of a tutorial to play it now.)

if (/Firefox\/[23]\./.test(navigator.userAgent)){ alert("OutWit wizards cannot run on your version of Firefox. Please update to the current version and try again."); wizard.close(); } else if (!("witscript" in window) || !witscript.version || !witscript.version("2.1")){ alert("This wizard is not compatible with your version of the OutWit Kernel. Please download the latest version and try again. If you believe that you have the most current version, please contact OutWit support reporting this error. "+userSpace.state+" "+navigator.userAgent); userSpace.exception(); wizard.close(); } if(wizardKit.platform == "mac"){ $("body").attr("style","border:none !important;"); } userSpace.setWizardPrefs(); //wizardKit.hideCatch(); //wizardKit.hideLog(); witscript.views.page.display(); witscript.logPanel.setAttribute("height",0); // var theScraper = new XML($("#scraper").html().replace(/^[\s\S]+?<!--[\s\S]*?(<[\s\S]+?>)[^<>]*?-->[^<>]*$/,"$1")); // if (witscript.version("2.1.4.27")) { // theScraper = theScraper.toXMLString(); // } var theScraper = $("#scraper").html().replace(/^[\s\S]+?<!--[\s\S]*?(<[\s\S]+?>)[^<>]*?-->[^<>]*$/,"$1"); if (!witscript.version("2.1.4.27")) { theScraper = new XML(theScraper); } if (witscript.version("3.0.1")) { witscript.views.scraped.datasheet.hideColumn("ordinal"); witscript.views.scraped.datasheet.hideColumn("sourceUrl"); witscript.views.scraped.datasheet.hideColumn("scraperName"); } userSpace.wait(7000,function(){return witscript.views.links.datasheet.getRowCount() > 0;}); witscript.wait(500); witscript.views.scraped.bottomPanel.emptyButton.click("left", true); try{ witscript.scrapeURL("http://www.outwit.com/support/help/tutorials/", theScraper); }catch(e){ userSpace.exception(e); alert("Scrape error : " + e); } witscript.views.page.display(); userSpace.wait(7000,function(){return witscript.views.scraped.datasheet.getRowCount() > 4;}); witscript.wait(500); witscript.views.scraped.datasheet.selectAll(); var data = witscript.views.scraped.datasheet.getSelectedRows(); witscript.views.scraped.bottomPanel.emptyButton.click("left", true); // alert(JSON.stringify(data)); // Default value in case the tutorials were not scraped data = (data[0] && data[0][0] && /outwit/i.test(data[0][0])) ? data : [["OutWit Hub - Quick Overview","http://www.outwit.com/support/help/hub/tutorials/outwit-hub-quick-overview.html"],["OutWit Hub - Image Extraction","http://www.outwit.com/support/help/hub/tutorials/outwit-hub-image-extraction.html"],["OutWit Hub - Making A Scraper","http://www.outwit.com/support/help/hub/tutorials/outwit-hub-making-a-scraper.html"],["OutWit Hub - An Advanced Scraper","http://www.outwit.com/support/help/hub/tutorials/outwit-hub-an-advanced-scraper.html"],["OutWit Hub - Creating A Macro","http://www.outwit.com/support/help/hub/tutorials/outwit-hub-creating-a-macro.html"]]; // temporary: to remove tutorials from the list // AND CORRECTED ASAP if(witscript.version("4") && !witscript.version("4.1.0.106")) data = data.filter(function (a) {return !(/fast/.test(a[1]))}); var theList = ""; var rightColumn = ""; var displayed = 0; var toDisplay = 0; var version = witscript.version(); for (var i=0;i < data.length;i++){ if((!/what\-s/.test(data[i][1]) && witscript.version(data[i][2])) || (/what\-s/.test(data[i][1]) && data[i][2].indexOf(version.substr(0,3))!=-1 && (!witscript.version("3.0")||witscript.version("3.0.1")))){ toDisplay++ } } for (var i=0;i < data.length;i++){ //alert([i,toDisplay,displayed]); if((!/what\-s/.test(data[i][1]) && witscript.version(data[i][2]) ) || (/what\-s/.test(data[i][1]) && data[i][2].indexOf(version.substr(0,3))!=-1 && (!witscript.version("3.0")||witscript.version("3.0.1")))){ if((displayed < 6) || (toDisplay < 8)) { displayed++; theList +='\n<li ><a class="linklist" href="' + data[i][1] + '" target="hub" >' +data[i][0].replace(/OutWit Hub - /,"") + '</a></li>'; } else { displayed++; rightColumn +='\n<li ><a class="linklist" href="' + data[i][1] + '" target="hub" >' +data[i][0].replace(/OutWit Hub - /,"") + '</a></li>'; } } } if(!rightColumn) { $("#tutorials").html("<blockquote><ol>"+theList+"</ol></blockquote>"); } else { $("#tutorials").html('<table class="note" style="padding:0px; margin-left:-30px; margin-right:-30px;" ><tr valign="top"><td><ul>'+theList+'</ul></td><td><ul>'+rightColumn+'</ul></td></tr></table>'); } var navBox = $('body').find(".owui-wizard-nav").eq(0); var navPrev = navBox.find(".owui-wizard-nav-prev"); var navNext = navBox.find(".owui-wizard-nav-next"); if ((!navPrev && ! navNext)|| (/hidden/i.test(navNext.attr("style"))&& /hidden/i.test(navPrev.attr("style")))){ // Moving Close Button to the right wizardKit.footer='<span id="status" style="float:left !important;" pronunciation="" class="errorMessage"></span>'; $(".owui-wizard-nav-close").attr('style','text-align:right; width:90%;'); $(".owui-wizard-nav-close").html("<span class='smallLabel' id='wizardKitFooter'> </span>"); $(".owui-wizard-nav-close").append($("<div id='buttons' pronunciation=''> </div>")); $("#buttons").append($("<button />", { text: 'Close', pronunciation: '', click: function(event) { try{wizardKit.restoreOriginalPrefs()}catch(e){ userSpace.exception(e); }; //wizardKit.showCatch(200); wizard.close(); return true; } })); $("#wizardKitFooter").html(wizardKit.footer); $("#status").html("You can access this list via the Hub's Help menu."); } witscript.views.page.display();