diikee Posted April 21, 2008 Share Posted April 21, 2008 For $i = 3 to 1 Step -1 _IENavigate($oIE, "java script:startZoomOut();"); Next what am I doing wrong Link to comment Share on other sites More sharing options...
evilertoaster Posted April 21, 2008 Share Posted April 21, 2008 Maybe- For $i = 3 to 1 Step -1 _IENavigate($oIE, "java script:startZoomOut();") Next ? Link to comment Share on other sites More sharing options...
spudw2k Posted April 21, 2008 Share Posted April 21, 2008 I believe that _IENavigate() is intended to navigate to an URL, so a javascript function on a page cannot be used this way. there must be a button or link or something you're trying to do right? Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX BuilderMisc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retreive SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose ArrayProjects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalcCool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF Link to comment Share on other sites More sharing options...
danielkza Posted April 21, 2008 Share Posted April 21, 2008 I believe that _IENavigate() is intended to navigate to an URL, so a javascript function on a page cannot be used this way. there must be a button or link or something you're trying to do right?I think that will work,but i'm pretty sure it is "javascript" without the space. Link to comment Share on other sites More sharing options...
spudw2k Posted April 21, 2008 Share Posted April 21, 2008 I never tried it, so I can't say, but read this post...http://www.autoitscript.com/forum/index.ph...st&p=509212 Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX BuilderMisc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retreive SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose ArrayProjects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalcCool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF Link to comment Share on other sites More sharing options...
diikee Posted April 21, 2008 Author Share Posted April 21, 2008 thanks, guess the ";" was doing the trick Link to comment Share on other sites More sharing options...
diikee Posted April 21, 2008 Author Share Posted April 21, 2008 <td id="zoomout_button" valign="top" style="padding-top: 2px; padding-left: 20px"> <ul id="buttonh"><li class="zoomout"><a href="" class="zoomout" onclick="return false" onmousedown="return startZoomOut();" onmouseup="return stopZoomOut();" onmouseover="window.status='zoom out'; return true;" onmouseout="window.status=''; stopThreads()"> </a></li> </ul></td>that is what am trying to automate but it doesn't get me anywhere 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