
MikeFez
Active Members-
Posts
67 -
Joined
-
Last visited
Everything posted by MikeFez
-
Hi mikell, You're completely right. The issue was in another spot of my code - thank you very much for taking the time to help me out.
-
Thanks for the replies everyone. I tried each of those variations but unfortunately, none of them seem to be working on my end. I've attached a copy of the form I'm trying to pull this from which seems to be the same as the one I quoted in the original post, but does anyone know why this would not work? Example.txt
-
OutlookEX UDF - Help & Support (III)
MikeFez replied to water's topic in AutoIt General Help and Support
Sorry for the late reply - your last comment makes absolute sense. Thanks so much for your help!- 817 replies
-
Hello, I have a script that copies the text of a webpage into a variable named "$pagetext", and then runs a RegEx search looking for an email address in a specific spot. Originally, the format in the area of the page I'd need would be: To which, the following RegEx code worked: $extractedEmail = StringRegExp($pagetext, "(?i)(?m:^)\s*email:\s*(.+)(?:\v|$)", 1) Unfortunately, the format recently changed so that it now looks like: Using this tool, I was able to determine that after "Email", comes a [Tab] and then an [End of Line(LF)]. Therefore, I tweaked my RegEx to this: $extractedEmail = StringRegExp($pagetext, "(?i)(?m:^)\s*email\t\n*(.+)(?:\v|$)", 1) And while this tool shows that it should be working, it doesn't seem to be working within AutoIt. Does anyone have any suggestions on how I could resolve this, or what I'm doing wrong?
-
OutlookEX UDF - Help & Support (III)
MikeFez replied to water's topic in AutoIt General Help and Support
Hmm. That sounds like it would miss emails sent from other sources, such as through a mobile app - I've implemented it for the time being though. Thanks for the help!- 817 replies
-
OutlookEX UDF - Help & Support (III)
MikeFez replied to water's topic in AutoIt General Help and Support
Hi water, It sounds like that's the only way it would be possible then - if you don't mind, I'd love to see an example. I can definitely foresee myself creating a process of "scanning sent items", compiling the email addresses into a list with a timestamp, and during future scans having it continue finding sent addresses from that timestamp on - allowing myself to generate growing lists as to ease the burden on outlook.- 817 replies
-
OutlookEX UDF - Help & Support (III)
MikeFez replied to water's topic in AutoIt General Help and Support
Thanks for the brainpower water... I've been scratching my head wondering if this is even possible!- 817 replies
-
OutlookEX UDF - Help & Support (III)
MikeFez replied to water's topic in AutoIt General Help and Support
Hi water, I'm hoping to find a solution to an issue I'm having. I want to be able to able to have a variable that's populated with an email address. The script would then search through the sent items folder to see if this email address has been contacted previously, and if so, would allow me to do something. I've hacked together a couple examples that seems to be what I want to do, however I'm having an error: The requested action with this object has failed.: $oItems = $vFolder.Items.Restrict($sRestrict) $oItems = $vFolder.Items^ ERROR #include <Includes\OutlookEX.au3> Global $mailAddress = "test@test.com" Global $searchAddress = ("[ToAddress]='" & $mailAddress & "' ") Global $oOutlook = _OL_Open() If @error Then Exit MsgBox(16, "Error", "Error returned by _OL_Open. @error = " & @error & ", @extended = " & @extended) Global $aFolder = _OL_FolderAccess($oOutlook, "" , $olFolderSentMail) If @error Then Exit MsgBox(16, "Error", "Error returned by _OL_FolderAccess. @error = " & @error & ", @extended = " & @extended) Global $aItems = _OL_ItemFind($oOutlook, $aFolder[1], $olMail, $searchAddress, "", "", "EntryID,Subject,Body", "", 1) If @error Then Exit MsgBox(16, "Error", "Error returned by _OL_ItemFind. @error = " & @error & ", @extended = " & @extended) If IsArray($aItems) Then _Arraydisplay($aItems, "Example 3") Else MsgBox(16, "OutlookEX UDF - _OL_ItemSearch Example Script", "Error running _OL_ItemSearch. @error = " & @error & ", @extended = " & @extended) EndIf Do you have any pointers or suggestions on how I should approach this?- 817 replies
-
Nice, that is EXACTLY what I was looking for. I'm going to try it out and see if it can load an autoit program as a command, and if that is possible, this will work perfectly.
-
Well, I actually expected to enable pop3 and have it downloaded to a client, since not only would it be simpler, but also the script wont be based online. That way, you dont have to check the messages as soon as the SMS sends, the email is downloaded to the computer and then the body can be scanned for the keywords. Edit: Actually, my phone has mobile AIM, so the commands possibly could be done through that too. That actually may be a simpler solution
-
Hey guys, hopefully someone can help me out here, seeing as how I don't have a clue where to start. Simply put, I want to control my PC through SMS text messages. I would be able to shutdown, restart, log off, run a program, ect. by sending a text. I planned on being able to send a text message to a Gmail account and having autoit check the body of the message for the command, however it seems that there's a lot of issues with logging into gmail with autoit. Does anyone have an idea of how to do this?
-
This program also needs an auto-update, although its simple enough to just download the .Rar and overwrite.
-
Here's a very simple (by very simple, i'm talking holy crap simple) script I made a couple of years ago (When working on my Webcam Pong Project) that I never released. I leave it basically untouched from when I made it, since why mess with a good thing. There are a couple ideas in my head about what to do with it, however i'll leave that up to you guys. Couple of notes: All instructions are layed out in the script when you run it, so don't worry if your confused right now. All you need is a webcam, and you're ready to go! In order to have perfect tracking, choose a tracking color that is nowhere to be found in your room. A good idea is to choose a green, red, orange, ect. highlighter, and turn off the lights while a blacklight is on. That will give you a bright color with a black background. Another idea is to track IR light, with the lights off. Camera's can pick up the light from IR LED's, so using that with the lights off is another option. Couple of ideas I've been thinking of: Some sort of flight control game, where the grid your on determines the path. Maybe someone could narrow down the grid so that there is 9 squares in each grid, leaving 81 possible sections. You could keep narrowing it down to perfect mouse positioning, and then fullscreen it and have a full screen mouse movement. If this is done, someone could potentially put the camera behind them and work out some sort of "touch screen" system. Old NES Mario type game control. I'm rambling, so heres the script. Have fun. Oh, and yes, I amlooking forward to working on the Pong Script very, very soon, if anyone is still interested. Seems like someone a couple of weeks ago made a copy of it, so I may make some breakout sort of game. Edit: I forgot to mention, there are a couple hotkeys. Tab- Pauses the script Esc- Terminates the script MouseGrid.au3
-
This is very useful for web design, just load up a couple of templates and useful html and css, and then swap over when i'm looking for the necessary code.
-
This is really odd... I don't check this site often, and on the day I do, new posts in my topic. Anyways, I'm interested to see what you've done 7h331337, I'll be sure to test it soon.
-
Well now, Its been a while since I've last been here. So here is the scoop: I Just took apart an xbox driving wheel thing. Anyways, I wired some stuff and fixed it up, so only the peddles are left. Now, its wired up to a display thing that shows how hard its pressed, so I'm wondering if there is any way to make it so that If i press the right peddle on a specific sensitivity level or pressure level or something, then I hit the left button and it launches something. I know its not going to look one thing like this, but: something like this- If $Right Peddle = 1 then if (Somehow check to see if left is pressed) then Firefox end if Else If $Right Peddle = 2 then if (Somehow check to see if left is pressed) then launch Autoit end if else If $Right Peddle = 3 and so on. If that would work, it would be great. I just need something to detect the specific button, and a way to read what the pressure is at. I do have drivers for it, but it just makes it so I can play games and stuff... but yea, can someone tell me how to get started?
-
You could just use the blank screensaver for simplicity, but i'll check some other autoit screensaver scripts
-
It might not have been added with the program, I got a cd with my motherboard that adds buttons such as move to next desktop or other things to the bar. When he took a pic, it would have been in it...
-
Yea, I originally was going to check if the image had changed but for some reason (probably because of focusing) the pixels would change slightly, so if your going to do that I reccomend that you pick random pixels around the image and scan them for the color they are currently, but set the shade to 5 or 10 or something so that if they change slightly it isnt a problem... then if an error comes up because it cant find it, it saves the image with a timestamp or something... But yea, i'm still having this picture problem and I'm not sure on how to fix it, I'm making another camera utility alongside this one thats being worked on, Its pretty basic but cool... so anyways, can anyone tell me why the image doesnt appear ontop of the camera's image? If i get no responce i'll post this in the support forum
-
Support mb?
-
AutoItSetOption ( "TrayIconHide" , 1) Hides the icon
-
I have fixed the problem of scanning in the corner of the screen, the Pixel search has been ajusted thanks to erifash. Again, not much has been added, but I did add a placeholder for a ball.. so far its just a windows icon thats located on the top left of the screen... does anyone know how to make it appear over the camera image? It kinda flickers over it, then it goes under it untill its created again...
-
*Sigh*, there is, but I just havent been able to get it to work at all. I'm even having trouble getting a damn ball to appear, i'll just do that later though. I updated the script again, literally no changes but the Opt() added in this area: ; Load Camera $Main = GUICreate("Camera",455,290,0,0, $WS_DLGFRAME) $cap = DllCall($avi, "int", "capCreateCaptureWindow", "str", "cap", "int", BitOR($WS_CHILD,$WS_VISIBLE), "int", 15, "int", 15, "int", 320, "int", 240, "hwnd", $Main, "int", 1) $track1 = GUICtrlCreateButton ("Track Player 1", 345,15,100) $track2 = GUICtrlCreateButton ("Track Player 2", 345,45,100) $START = GUICtrlCreateButton ("Start Pong", 345,105,100) $Quit = GUICtrlCreateButton ("Quit", 345,167.5,100) $ABOUT = GUICtrlCreateButton ("About", 345,230,100) WinSetOnTop("Camera", "", 1) AutoItSetOption ( "GUICoordMode" ,0) AutoItSetOption ( "MouseCoordMode" ,0) Damn it. Its 1:52 and I need to get my room cleaned, but i'll be back on trying to get this damned thing working... if anyone wants to tell me what I did wrong, that would be awsome.
-
Detectable AutoIt Bot in ServerGame
MikeFez replied to istar's topic in AutoIt General Help and Support
Will this mean that if any autoit application is running, such as a virtual desktop, that you could be banned? What game btw? -
Damn, If I need that then I might as well just download a program that has the features i'm looking for. Thanks