Jump to content

M a k a v e l !

Active Members
  • Posts

    37
  • Joined

  • Last visited

About M a k a v e l !

  • Birthday December 16

Profile Information

  • Location
    Montreal

Recent Profile Visitors

321 profile views

M a k a v e l !'s Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Welcome to the forum learningautoit ! Please explain what you want to do
  2. It is in fact ... depending on what you need to do
  3. hmmm Temil, couple questions: 1.What will you do with your data once it's formatted, are you gonna scroll thru it... ? 2.Is this the final format you want ? Depending on your answers, you may wanna rethink your project and format your file in a way you can dump it in mysql @localhost (.csv to mysql tools). With this kind of structure : If you have enough RAM to open your file and split it in 3to4 files, you could StringReplace(" ", "|") With that in your database, you can now just send SQL queries to get what you want. Guessing you have knowledge with SQL queries... 3. What's the real goal of having your file formatted with StringRegExp(), what are you attending to do with data ?
  4. Didn't do performance tests on SprinterGuru's avatar... i mean Win7 Post your script...
  5. Windows Firewall enabled for Autoit ? Try disabling your AV internet section It should work...
  6. Did you try Varian's solution : If Not StringInStr($array[$i], 'b') Then ???
  7. I didn't get what was going on in this post, but here's my thought on how you're trying to pull only the Thread number I use this site to check out my regexp = http://www.gethifi.com/tools/regex You should first off: 1. Return if you have a match, StringRegExp($text, "Thread-[0-9]*", 0) : Returns 1 (matched) or 0 (no match) see help file 2. If matched, return into array, StringRegExp($text, "Thread-[0-9]*", 1) see help file 3. Loop in the array of results to get thread numbers This should be few lines.
  8. Oren, 1. You should probably verify if your $array is actually an array = IsArray(). 2. Try _ArrayDisplay() your $array to see if you have actually your data in there 3. The field $array[$i], you want to know if the letter 'b' is in the text like a SQL: WHERE a_field LIKE '%b%' ? then try Varian's solution StringInStr() .
  9. Hey Kuro, I don't think it's possible to store a .exe file inside your reference section or even to try... I don't know how that will.. be Instead, build yourself a second .exe that will receive command lines ("$CmdLine[0], $CmdLine[1], $CmdLine[2], ..." see help file). This should be your "ControlApps.exe". In that, you could code a reboot function, update function based on the cmdline received. Ex: (don't copy-paste, its an example) 1. Application#1 : Send to "ControlApps.exe" what you want to do reboot, update, ... whatever Run("ControlApps.exe", "update", "param2"[, "param3"]) Exit 2. "ControlApps.exe" Get the command lines sent by Application#1 Add conditions >If "update" = get fileversion from database or ini file or GetFileVersion(@Scriptname="Application#1"), do what you have to do If Application#1 version < database Application#1 version, FileDelete(Application#1) and replace it with your new and updated Application#1 Run("Application#1") Exit >If "reboot" = Run("Application#1") Exit In a few lines, your done. You absolutly need a second .exe cause the first one died, so... This is the solution I use for my updates and reboots. Hope it helps!
  10. Have you coded something yet... can you post an example ?
  11. FYI 'WiFi Locator.zip' link does not work...
  12. For an April 16 2005 topic, this is great SvenP. Thanks for sharing this.wmi.script
×
×
  • Create New...