
emmanuel
Active Members-
Posts
1,107 -
Joined
-
Last visited
About emmanuel
- Birthday 05/04/1977
Profile Information
-
Member Title
No one ever accused me of being normal.
-
Location
Kirkland, WA
-
WWW
http://www.pleshehaus.com
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
emmanuel's Achievements

Universalist (7/7)
0
Reputation
-
Excellent! I'll try those out tomorrow at work, meanwhile, I realized that there's more to do to make it match the date.au3 functions, the year needs to be at the front, like this: "2007/10/22 16:00:03" Can regexp replace do that?
-
my goal is to change a date from this format: "10/22/2007 4:00:03 PM" to the conformist "10/22/2007 16:00:03" So, I've finally started to look into Regular Expressions, they're really cool, except when I can't get it to spit out what I want. $aHour = StringRegExp("10/22/2007 4:00:03 PM", "(?: \d{1,2}\/\d{1,2}\/\d{4}\s)(\d{1,2})", 1) If IsArray($aHour) Then For $hour In $aHour ConsoleWrite("Hour: " & $hour & @LF) Next $aMeridiem = StringRegExp($file, "(?: \d{1,2}\/\d{1,2}\/\d{4}\s\d{1,2}\:\d{1,2}\:\d{2}\s)([AM|PM]{2,2})", 1) If IsArray($aMeridiem) Then For $Meridiem In $aMeridiem ConsoleWrite("Meridiem: " & $Meridiem & @LF) Next If $Meridiem = "PM" Then $hour += 12 If $hour > 24 Then $24hour -= 24 ConsoleWrite("24 hour : " & $24hour & @LF) ConsoleWrite("24HR time: " & $lastupdated & @LF) $lastupdated = StringRegExpReplace($lastupdated, "(\s[AM|PM]{2,2})", "") ; here's the problem, the hour doesn't get replaced by the 24 hour: $lastupdated = StringRegExpReplace($lastupdated, "(\d{1-2})(?: \:\d{1-2}\:\d{2,2})", $24hour) ConsoleWrite("error: " & @error & " extended: " & @extended & @LF) ConsoleWrite("24HR time: " & $lastupdated & @LF) EndIf EndIf EndIf Here's the deal, I want to download a html file, parse the text for the time, and then, if it's more than 5 minutes old, do a refresh. I know there's probably some easier way to do it, some utility or something, but I've taken this as a lesson with RegExp. the place where I'm having an issue is with the second StringRegExpReplace, I can't seem to get it right. Thanks for any help!
-
What's up Larry? You ever finish that house up and sell it?
-
I was looking for something else, one idea that might help is putting some delay between the presses, make it something like a humanly possible speed. Another idea would be to shift down, sleep 20 shift up sleep 100 something like that.
-
Is there any way to get a Window's Transparency?
emmanuel replied to emmanuel's topic in AutoIt General Help and Support
Dude. JdeB to the rescue again! Thanks man. Works perfectly, don't know why I didn't think of that, I'm using similar logic in other parts of the script... -
I've got a window that I want to make transparent whenever it's not active, ala: CODE if not WinActive("Display Flipper") Then WinSetTrans("Display Flipper", "", round(.50 * 255)) Else WinSetTrans("Display Flipper", "", 255) EndIf However, this makes the worst flicker on the GUI ever when the window is Active as it's transparency is being set to 255 at a rapid pace. I'd prefer to have it check if it's not transparent, then if it is, make it non-transparent. Is there any way to get a window's transparency?
-
Display A % Of Progress Bar During Filecopy
emmanuel replied to PeterF's topic in AutoIt General Help and Support
sO, JdeB, long time no chat... How would I get the return of the copy? So I know if it's been successful or not? -
Progress Bar for FileCopy/DirCopy?
emmanuel replied to emmanuel's topic in AutoIt General Help and Support
Sweet! Thanks, I'll give it a shot. -
I'm writing a simple little backup utility to help out the receptionist and massage therepist here at work, and want to show a progress bar during a dircopy. Is it possible? Would I have to do a comspec xcopy and do a while loop meaningless progress bar as the process runs? Anyone have any ideas?
-
Very cool! One thing I noticed in the die roller is that the results are off by one, so 3d6 returned 0,5,5. If you set random's minimum range to 1 and max to the die's size that should do it.
-
2006-07-09 18:25:28 : ********** New Registry ************ 2006-07-09 18:25:28 : AutoIt Screen Name> emmanuel 2006-07-09 18:25:28 : AutoIt Member Number> 1447 2006-07-09 18:25:28 : User Location> Kirkland, WA 2006-07-09 18:25:28 : ********** End Registry ************ 2006-07-09 18:25:28 : Ver 1.2.0 2006-07-09 18:25:28 : 2006-07-09 18:45:51 : ********** Exam Level Two ************ 2006-07-09 18:45:51 : Number of Attempts> 1 2006-07-09 18:45:51 : Exam Scores> 100 ( 100 Points Max ) 2006-07-09 18:45:51 : Accumulated Errors> 0 2006-07-09 18:45:51 : Point Score> 332 ( 333 Points Max ) 2006-07-09 18:45:51 : ********** End Exam Report ************ 2006-07-09 18:45:51 :
-
2006-07-09 18:25:28 : ********** New Registry ************ 2006-07-09 18:25:28 : AutoIt Screen Name> emmanuel 2006-07-09 18:25:28 : AutoIt Member Number> 1447 2006-07-09 18:25:28 : User Location> Kirkland, WA 2006-07-09 18:25:28 : ********** End Registry ************ 2006-07-09 18:25:28 : Ver 1.2.0 2006-07-09 18:25:28 : 2006-07-09 18:25:53 : ********** Exam Level One ************ 2006-07-09 18:25:53 : Number of Attempts> 1 2006-07-09 18:25:53 : Exam Scores> 100 ( 100 Points Max ) 2006-07-09 18:25:53 : Accumulated Errors> 0 2006-07-09 18:25:53 : Point Score> 332 ( 333 Points Max ) 2006-07-09 18:25:53 : ********** End Exam Report ************ 2006-07-09 18:25:53 :
-
I couldn't you do a stringsplit on @CR, @LF or @CRLF? Depending on what's in the clipboard... Are you here from themaxx?
-
That did the trick, thanks MHz! I think I'll be around more often as I take a more blended approach to scripting and packaging apps...
-
FileInstall() just compresses files into your compiled AutoIt script. Might not be what you need. A macro recorder won't be as good as just using the right command line for the install, if it's there... i.e. if it's an MSI install, just use: msiexec /i product.msi /qb-! ALLUSERS=1 and the like...