Jump to content

carabusu

Active Members
  • Posts

    29
  • Joined

  • Last visited

carabusu's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Hi, I have several web sites and I want to make a script to make backups of all databases like you can do with phpmyadmin -> export to sql feature. How can I do this? Thanks, Mihai
  2. Hi, I have an application which installs emoticons for different types of messengers(yahoo, msn, gtalk etc). Can I use autoit to automate the testing of such an application - to insert different emoticons and check if a certain emoticon was inserted? If I cannot use autoit what tool do you suggest? (preferable a free and open source one) Thanks, Mihai
  3. I've tried something like this : func traverse($xpath) msgbox(4096,"",$xpath) $nodesArray=_XMLGetChildNodes($xpath) if (IsArray($nodesArray) ) Then if Not($nodesArray[0]==0) Then for $i=1 to $nodesArray[0] $index=1 for $j=1 to $i-1 if $nodesArray[$i]==$nodesArray[$j] Then $index=$index+1 Next ;msgbox(4096,"",$i) ;msgbox(4096,"",$xpath & "/" & $nodesArray[$i] & "[" & $index & "]") ;msgbox(4096,"",_XMLGetPath($xpath &"/"&$nodesArray[$i])) $areNodes=_XMLGetChildNodes($xpath & "/" & $nodesArray[$i]) if not($areNodes[0]==0) Then traverse($xpath & "/" & $nodesArray[$i] & "[" & $index & "]") EndIf Next;for $i=1 to $nodesArray[0] EndIf;if Not($nodesArray[0]==0) Then EndIf;if (IsArray($nodesArray) ) Then EndFunc but I have this error: Array variable has incorrect number of subscripts or subscript dimension range exceeded.: if $nodesArray[$i]==$nodesArray[$j] Then $index=$index+1 if ^ ERROR
  4. How can I recursive traverse an XML file to display all children in this order: parent->child 1->child 1-1; parent->child1->child 1-2; parent->child2 .... Thanks.
  5. Hello, I have an HTML file which is automatically generated by a tool using a xsl template file; is there any way to convert that HTML file to an XML one? In the html file there are only tables. Thanks.
  6. Tnx a lot, its working
  7. I have a folder with a lot of subfolders and i need to find out which is the last created subfolders. Tnx
  8. How can i generate in a txt file all characters combinations with size, for example, 5? i want to combine all characters: numbers, letters ( include caps ones) etc Tnx.
  9. can you write me a full sintax connection? the user and pass are the same (copy/paste).
  10. i did said: I have tried in Administrative tool -> Data Sources (ODBC) and it's working
  11. i have this command $sqlCon = ObjCreate("ADODB.Connection") $sqlCon.Open ("Provider='IBMDADB2';Data Source='maindb';UID='db2admin';Password='pass'") The command returns me this error: OK We intercepted a COM Error ! err.description is: SQL30082N Security processing failed with reason "24" ("USERNAME AND/OR PASSWORD INVALID"). SQLSTATE=08001 err.windescription: . err.number is: 80020009 err.lastdllerror is: 0 err.scriptline is: 81 err.source is: IBM OLE DB Provider for DB2 err.helpfile is: err.helpcontext is: 0 I have tried in Administrative tool -> Data Sources (ODBC) and it's working. What is wrong in my script?
  12. tnx a lot, it's working
  13. i have this line: ControlClick( "Microsoft Internet Explorer","Are you sure you want to remove this server from the list?","[TEXT:OK]") and it does not work; i really need to use [TEXT:] option The title and text window are ok because the ControlClick( "Microsoft Internet Explorer","Are you sure you want to remove this server from the list?",1) command with the controlId paramater is working. Please see the attachment to see the pictures with the window Tnx.
  14. How can a make a print screen of a web page with scroll for also capturing the part of the page which is not visible because of the scroll? can it be done in autoit? Tnx.
  15. it works, tnx a lot man
×
×
  • Create New...