goldenix Posted May 13, 2008 Share Posted May 13, 2008 (edited) why do i get error hire, any ideas? $url = StringRegExp('[url=http://xcvx16-185]', '[url=(.*?)]', 2) ; get http://xcvx16-185 MsgBox(0, 'Title:', $url[1]) Exit Edited May 13, 2008 by goldenix My Projects:[list][*]Guide - ytube step by step tut for reading memory with autoitscript + samples[*]WinHide - tool to show hide windows, Skinned With GDI+[*]Virtualdub batch job list maker - Batch Process all files with same settings[*]Exp calc - Exp calculator for online games[*]Automated Microsoft SQL Server 2000 installer[*]Image sorter helper for IrfanView - 1 click opens img & move ur mouse to close opened img[/list] Link to comment Share on other sites More sharing options...
Xenobiologist Posted May 13, 2008 Share Posted May 13, 2008 $url = StringRegExp('', '\', 3) ; get http://xcvx16-185 MsgBox(0, 'Title:', $url[0]) Exit Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
ACS Posted May 13, 2008 Share Posted May 13, 2008 You're receiving the error in Line 2 when you're trying to display $url[1]. You're using an invalid subscript for $url since there is only ONE match and thus, only one index of the array. Remember that array indices start at 0 NOT 1! Link to comment Share on other sites More sharing options...
goldenix Posted May 13, 2008 Author Share Posted May 13, 2008 aha i see. Thanx. My Projects:[list][*]Guide - ytube step by step tut for reading memory with autoitscript + samples[*]WinHide - tool to show hide windows, Skinned With GDI+[*]Virtualdub batch job list maker - Batch Process all files with same settings[*]Exp calc - Exp calculator for online games[*]Automated Microsoft SQL Server 2000 installer[*]Image sorter helper for IrfanView - 1 click opens img & move ur mouse to close opened img[/list] 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