6105 Posted July 17, 2009 Share Posted July 17, 2009 to be 100% if on page is 1% write 99% if on page is 5% write 95% if on page is 90% write 10% .... Thanks [center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Don't utter a single word[/font][/center][center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Just shut your pretty mouth[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you again[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you[/font][/center][center][font=courier new,courier,monospace]In hell[/font][/center] Link to comment Share on other sites More sharing options...
Yashied Posted July 17, 2009 Share Posted July 17, 2009 to be 100%if on page is 1% write 99%if on page is 5% write 95%if on page is 90% write 10%....ThanksWhat's the page? In general, what are you talking about? My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More... Link to comment Share on other sites More sharing options...
6105 Posted July 17, 2009 Author Share Posted July 17, 2009 What's the page? In general, what are you talking about?its not importent.. ok.. if in Untitled.txt text is "7" to write "93" if is 20 to write 80... how to do this? [center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Don't utter a single word[/font][/center][center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Just shut your pretty mouth[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you again[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you[/font][/center][center][font=courier new,courier,monospace]In hell[/font][/center] Link to comment Share on other sites More sharing options...
Authenticity Posted July 17, 2009 Share Posted July 17, 2009 If on page is n then write 100-n? Link to comment Share on other sites More sharing options...
6105 Posted July 17, 2009 Author Share Posted July 17, 2009 (edited) If on page is n then write 100-n?yes yes... thanks)))) Edited July 18, 2009 by toader [center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Don't utter a single word[/font][/center][center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Just shut your pretty mouth[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you again[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you[/font][/center][center][font=courier new,courier,monospace]In hell[/font][/center] Link to comment Share on other sites More sharing options...
6105 Posted July 18, 2009 Author Share Posted July 18, 2009 i cant find in helper how to do: if have window "how to do atcion? if on page is 25% to write 75% - AutoIt Forums - Mozilla Firefox" to open it. if dont have to open new like ShellExecute("firefox.exe") WinWait("Стартовая страница Firefox - Mozilla Firefox") MouseClick( "left", 470, 60, 1, 5) Send("http://autoitscript.com/forum/index.php?showtopic=98499/{ENTER}") [center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Don't utter a single word[/font][/center][center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Just shut your pretty mouth[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you again[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you[/font][/center][center][font=courier new,courier,monospace]In hell[/font][/center] Link to comment Share on other sites More sharing options...
6105 Posted July 18, 2009 Author Share Posted July 18, 2009 If on page is n then write 100-n?and how i can do "n" to be ur post numbers?like u have 1,812 then 10,000 - 1,812 = m.how to use ur posts numbers if they not always 1,812? [center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Don't utter a single word[/font][/center][center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Just shut your pretty mouth[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you again[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you[/font][/center][center][font=courier new,courier,monospace]In hell[/font][/center] Link to comment Share on other sites More sharing options...
Authenticity Posted July 18, 2009 Share Posted July 18, 2009 Heh, I have no clue. Like this? Dim $iNum1 = 20010, $iNum2 = 100 Dim $iResult While Mod($iNum2, $iNum1) = $iNum2 $iNum2 *= 10 WEnd $iResult = $iNum2 - $iNum1 ConsoleWrite($iResult & @LF) ..by the way you can just do: ShellExecute('http://autoitscript.com/forum/index.php?showtopic=98499') and it'll start or attach to the default web browser. Or use the Firefox automation library Stilgar wrote, search the Examples forum for FF.au3. Link to comment Share on other sites More sharing options...
6105 Posted July 18, 2009 Author Share Posted July 18, 2009 (edited) Heh, I have no clue. Like this? Dim $iNum1 = 20010, $iNum2 = 100 Dim $iResult While Mod($iNum2, $iNum1) = $iNum2 $iNum2 *= 10 WEnd $iResult = $iNum2 - $iNum1 ConsoleWrite($iResult & @LF) Authenticity yes.. but i dont know $iNum2 i only know $iNum1 is 100%, how to write in script to read what is $iNum2? ..by the way you can just do: ShellExecute('http://autoitscript.com/forum/index.php?showtopic=98499') and it'll start or attach to the default web browser. Or use the Firefox automation library Stilgar wrote, search the Examples forum for FF.au3. but if "http://autoitscript.com/forum/index.php?showtopic=98499" is allrady executed.. but is in background? how to open it? Edited July 18, 2009 by toader [center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Don't utter a single word[/font][/center][center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Just shut your pretty mouth[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you again[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you[/font][/center][center][font=courier new,courier,monospace]In hell[/font][/center] Link to comment Share on other sites More sharing options...
Authenticity Posted July 18, 2009 Share Posted July 18, 2009 One of the number is not required because it's always a power of 10 so it can start from 10. The second number I have no clue what it should be and you should know what to do with that number. I think that FF.au3 library is more suited for this case because you can do something like: #include <FF.au3> Dim $sURL = 'http://autoitscript.com/forum/index.php?showtopic=98499' Dim $fFound = False _FFConnect() For $i = 1 To _FFTabGetLength() _FFCmd('gBrowser.mTabContainer.advanceSelectedTab(1, true);') If StringRegExp(_FFCmd(".URL"), '^(?i)\Q' & $sURL & '\E') Then $fFound = True ExitLoop EndIf Next If Not $fFound Then _FFTabAdd($sURL) _FFDisConnect() Link to comment Share on other sites More sharing options...
6105 Posted July 18, 2009 Author Share Posted July 18, 2009 One of the number is not required because it's always a power of 10 so it can start from 10. The second number I have no clue what it should be and you should know what to do with that number.I think that FF.au3 library is more suited for this case because you can do something like:i dont have FF.au3is it in new version? [center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Don't utter a single word[/font][/center][center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Just shut your pretty mouth[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you again[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you[/font][/center][center][font=courier new,courier,monospace]In hell[/font][/center] Link to comment Share on other sites More sharing options...
Authenticity Posted July 18, 2009 Share Posted July 18, 2009 http://www.autoitscript.com/forum/index.php?showtopic=95595 Follow the requirements in the bottom of the first post, MozRepl is required. Link to comment Share on other sites More sharing options...
6105 Posted July 18, 2009 Author Share Posted July 18, 2009 http://www.autoitscript.com/forum/index.php?showtopic=95595Follow the requirements in the bottom of the first post, MozRepl is required.ohhh.. thx ^^ now i know how to detect open or not open page.. but how to detect what number is writed in needed coords? [center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Don't utter a single word[/font][/center][center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Just shut your pretty mouth[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you again[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you[/font][/center][center][font=courier new,courier,monospace]In hell[/font][/center] Link to comment Share on other sites More sharing options...
6105 Posted July 18, 2009 Author Share Posted July 18, 2009 whow can help? how can i do in scrip for can read numbers in needed coords? [center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Don't utter a single word[/font][/center][center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Just shut your pretty mouth[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you again[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you[/font][/center][center][font=courier new,courier,monospace]In hell[/font][/center] Link to comment Share on other sites More sharing options...
Yashied Posted July 18, 2009 Share Posted July 18, 2009 toader, in this thread you have not made any effort to resolve your problem. You want someone who will do this for you? My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More... Link to comment Share on other sites More sharing options...
6105 Posted July 18, 2009 Author Share Posted July 18, 2009 toader, in this thread you have not made any effort to resolve your problem. You want someone who will do this for you?No, I want that prompted me, because I did not find this in HELP file(( I have in my script on this .. and can't move forward until you are help me ( [center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Don't utter a single word[/font][/center][center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Just shut your pretty mouth[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you again[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you[/font][/center][center][font=courier new,courier,monospace]In hell[/font][/center] Link to comment Share on other sites More sharing options...
Stilgar Posted July 18, 2009 Share Posted July 18, 2009 ohhh.. thx ^^ now i know how to detect open or not open page.. but how to detect what number is writed in needed coords?Which number do you want? jEdit4AutoIt PlanMaker_UDF Link to comment Share on other sites More sharing options...
6105 Posted July 18, 2009 Author Share Posted July 18, 2009 (edited) Which number do you want?not importent.. for test can use my or ur post numbers Edited July 18, 2009 by toader [center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Don't utter a single word[/font][/center][center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Just shut your pretty mouth[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you again[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you[/font][/center][center][font=courier new,courier,monospace]In hell[/font][/center] Link to comment Share on other sites More sharing options...
Yashied Posted July 18, 2009 Share Posted July 18, 2009 No, I want that prompted me, because I did not find this in HELP file(( I have in my script on this .. and can't move forward until you are help me (Posting your code (or portion thereof) would be a good idea from you. My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More... Link to comment Share on other sites More sharing options...
6105 Posted July 18, 2009 Author Share Posted July 18, 2009 (edited) Posting your code (or portion thereof) would be a good idea from you. Opt("WinWaitDelay",100) Opt("WinTitleMatchMode",4) Opt("WinDetectHiddenText",1) Opt("MouseCoordMode",0) ;~ ShellExecute("firefox.exe") ;~ WinWait("Firefox - Mozilla Firefox") ;~ MouseClick( "left", 470, 60, 1, 5) ;~ Send("http://***.com/{ENTER}") ;~ WinWait("*** - *** - Mozilla Firefox") ;~ Sleep(500) ;~ MouseClick( "left", 860, 380, 1, 5) ;~ Send("password{ENTER}") m=100-n While 1=1 If n>35 Then WinWait("*** - Mozilla Firefox") Sleep(500) MouseClick( "left", 200, 400, 1, 5) sleep(1000) MouseClick( "left", 380, 590, 1, 5) sleep(500) MouseClick( "left", 380, 775, 1, 5) sleep(500) MouseClick( "left", 380, 620, 1, 5) Else MouseClick( "left", 200, 660, 1, 5) Sleep(500) MouseClick( "left", 760, 650, 1, 5) Sleep(1000) MouseClick( "left", 710, 625, 1, 5) Send(m) MouseClick( "left", 760, 625, 1, 5) but i dont know how to write in script.. to know what is "n" Edited July 18, 2009 by toader [center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Don't utter a single word[/font][/center][center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Just shut your pretty mouth[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you again[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you[/font][/center][center][font=courier new,courier,monospace]In hell[/font][/center] 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