Jump to content

Onoitsu2

Active Members
  • Posts

    51
  • Joined

  • Last visited

About Onoitsu2

  • Birthday 03/02/1985

Profile Information

  • Location
    New Mexico, USA

Onoitsu2's Achievements

Wayfarer

Wayfarer (2/7)

0

Reputation

  1. Well I never assume anyone is one until, well they are, and your admitting it is well a very fresh thing on the internet in my experience, and I've been on the web since AOL 1.1. I am sorry if I was also snippy, but well as you stated you are an asshole, and I did not believe you to be one at first, giving you the benefit of the doubt, but now there is no doubt, and I am actually satisfied how this turned out, as I believe I too was wrong in having gotten huffy about this as well. As for MSDN, I was hoping there was another location you looked at, one of the other coding websites, as the MSDN, as I stated was garbage. Thank you again Valik for at least wasting some time on me, and your willingness to admit that trait being unique to yourself is a nice thing to know, and I am sorry for making such an assumption of the other admins. Was just surprised that the mood had changed, must have never had assistance from you in the past then. I hope you have a less annoying day tomorrow than I provided .... -Onoitsu2
  2. I asked plain and simply, and not only for the source code, but if that was not an option then perhaps the location you found out how to accomplish that. Well in your first posting, you did not state you only used MSDN, yet in your second, and apparently more brazen posting did state that, so I must thank you whole-heartedly about that, as you answered my question, even if I am being chewed out for simply covering my bases, as I was unsure if your e-mail was valid, or if someone else, other than you, Valik, would be able to answer my question. The forum posting was not directed to only yourself, so please stop getting all huffy about it, nowhere in it did I mention Valik please reply. I simply asked a question, and was not answered in any manner of the word, until your final posting. Now that I have my answer this will probably be the last question I EVER ask on this forum. I love the program, still using v3.1.1.123 (beta), as I've not needed anything more recent for what I do, which is Auto-Installers mostly. If this is the overall attitude of the developers as a whole it is a shame that since my joining in 2006 it has diminished to such extremes. I remember when you could ask a question and be met with near a dozen answers, and most of those being edited to say "dang such and such beat me to it, fast typist" or something similar. Again thank you for AutoIt, it is a great program, and thank you for the answer of MSDN only. I will have to fight my way through that horrid excuse for a site, and locate a non-MFC tooltip usage, for VC6. -Onoitsu2
  3. Wow how ... umm what is the word ... well a nice one is "harsh" when there are several other rather better suited ones. Please do not take offense at my request, it was not an order, it should have been taken as a compliment as your code is quite great to not have that limitation. As per the not using MFC, well it is a lot too late for that, the program has used it for several years. As per the E-Mail and forums, I was not sure how long ago that was your current e-mail, so I tried my luck at both, hoping that either would reach you Valik. I fully understand that it is a closed source program, but at the very least you might be able to point me to a site that was perhaps your inspiration for the tooltip code. All of the examples I've located still have the hard limit. The following code lets you fire off a tooltip from AutoIt that is 1817 characters long, this was my reason for asking for the code of that function. $message = "" for $i=1 to 98 $message = $message & 1 Next ToolTip($message&"01" & @CR&$message&"02" & @CR&$message&"03" & @CR&$message&"04" & @CR&$message&"05" & @CR&$message&"06" & @CR&$message&"07" & @CR&$message&"08" & @CR&$message&"09" & @CR&$message&"10" & @CR&$message&"11" & @CR&$message&"12" & @CR&$message&"13" & @CR&$message&"14" & @CR&$message&"15" & @CR&$message&"16" & @CR&$message&"17" & @CR&$message&"18",0,0) Sleep(5000) Sorry if I offended, even though that should not have. And people ask for sources for things all the time, for nearly every program, and a simple NO would suffice. The forums, since my last being actively involved seems to have lost its... for lack of a better wording Forum Etiquette that it usually stood up to. -Onoitsu2
  4. I am inquiring about how AutoIt3 is able to bypass the 80 byte limit that MFC forces upon tooltips. I am asking this on behalf of the MUSHclient users of the world, and the author of the wonderful Mushing program, Nick Gammon. If the source for that function call, or however it is done to bypass the 80 bytes could be posted, e-mailed, or simply if where that information was located could be passed along then myself and all of the users of that program would be most grateful and of course credits would be given where due. Thank you... -Onoitsu2
  5. I belive that it is not the AutoIt that he wants to run in background, but the Putty window, that can be done by a call to WinSetState function using the flag of @SW_HIDE ... Check out the help file on that command, you might even want to set a variable to the handle of the Putty window upon the script running, and use that variable in place of the window title, so that even if its name changes it won't matter, and then another call to WindowSetState using the @SW_SHOW will show Putty again Laterzzz, Onoitsu2
  6. I think that doing a Send("{shift up}"), MIGHT, albeit MIGHT correct this, do that prior to sending anything at all to a control, and post findings on whether the combined control sends are corrected. Laterzzz, Onoitsu2
  7. Office XP is not using the .net COM, and several other COM objects i have used in AutoIt do not use the .net interface, in fact i don't even have it installed ... So there must be another way of doing things, and as far as only runnin with one at a time in office, you can run many at the same time, as com negotiates each message to the particular handle of the object to which it is designated. I know it must be possible, I mean using office COM is no sweat for me, I was just wondering if anyone that knew more than I on this situation could take a look at mushclient even, it is free to install and try, and has no spyware, or anything, just a nag screen on starting it. Thanks, Onoitsu2
  8. I am having problems with a COM object for a program called MUSHclient. I can create a new instance of the MUSHclient.World object, in a few ways, using the mushclient.tlb included, or the mushclient.exe itself, and can use ALL of the associated functions it allows, but cannot connect, find, nor interact with a pre-existing implementation of a world file. I do hope that I am being clear enough to understand. I don't necessarily have any code to post, as it is not a Coding problem, but an implementation of a function itself. It functions just like any other COM object would, such as Excel, or Word, but am just having trouble connecting to a pre-existing object. ANY and ALL help that ANYONE can give me, including links, example code, of just simply logic that leads to a solution is and will be GREATLY appreciated. Thanks in advance, Onoitsu2
  9. CTRL + ALT + DEL is also built into your keyboard bus controller, it is a hardcoded thing, that cannot be bypassed, and has existed since the days of personal computers, I own an old Amstrad from 1986 and it was used in that, and yet it did not have windows, it used PC Shell, and GEM. Both of which respond to that key combination, even DOS. The ONLY true way to block those keys is to override the keyboard controller's control of such keys, or its interpretation of then, or even possibly intercept and block the reciept of such keys. The later 2 would require a separate hardware device, or a combination of TSR drivers, and a firmware flash to use said TSR. The first option I stated would only require a firmware flash of your keyboard controller, which is a task not worth doing. I have used several hardware flashing utilities, on old as dirt computers, and examined the controller code, and it is quite complex, and that is not even including support for USB keyboards, that is a whole new issue. Just my 2 cents. Laterzzz, Onoitsu2
  10. I have in my routine usage, something I dubbed "Lockdown" it does the following when run... Displays a flashing tray icon, and a traytip counting down from 5 seconds, and uses the speech engine from XP, to count down the time, and all the while it is checking the position of the mouse, if it is in the lower right corner (or at least within 5px box) it skips the delay, and presents a traytip and voice saying "Lockdown", and it uses the builtin blockinput function in Autoit, then it checks for the existance of the task manager window, and if it exists, then it unblocks input, closes task manager, and closes itself. I use it as I have a 13 month old daughter that loves to beat on the keyboard, and I can still leave music playing, and change the songs using the extra keys on the keyboard I have, but she cannot do any real damage using the mouse nor keyboard. So I am happy and so is she... I can post code if anyone is interested, I have an icon made for it and everything as well, as I enjoy making icons for the various programs I have made using AutoIt... Laterzzz, Onoitsu2
  11. the 192.XXX number is your internal router IP address, for your friend to look at your page, you will need to provide them with your external IP, which is your IP address on the internet, which will be completely different from the one you posted. You can also use a application from no-ip.org, which can allow for a named address to the computer it is running on, i.e. YOURNAMEHERE.no-ip.org (there are many others than no-ip.org that you can use). And you will have to allow ports that are incoming on port 80 (or whatever port you are hosting web pages on) to be forwarded to YOUR computer (or whichever one is actually hosting them) Hope this will clarify things a little more for you. Laterzzz, Onoitsu2
  12. This little script will allow the creation of an Ignore List for use with MOH (LTMOH) 1.72, which is a call recieving application for use when dialed into a v.92 server (Most Dialup ISP's have at least a few numbers that allow this functionality). You will see a popup that will display the Caller ID information of the person calling (ONLY if you have that phone feature, if not then this script will do nothing for you). You have the choice of Answering the call, or Ignoring it. If you choose Answer then you can pickup the phone for a limited, this length depends on the ISP. Call_Ignore.au3 Call_Ignore.ico ltmoh172.zip This has 2 preset numbers in it, one is for JP Morgan Chase, and the other one is for Capital One, both annoying crerditors that can call quite often. CODE#Include <Constants.au3> #include <Misc.au3> #include <Array.au3> $numbers = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Call Ignore","Ignore Numbers") If $numbers = "" Then $numbers = "2105860050||8003264593||" EndIf Dim $ignoreon = True, $ignoreall = False TrayTip("","Starting Call Ignore Monitor",10,16) Opt("TrayMenuMode",3) Opt("TrayOnEventMode",1) TraySetClick(18) $checkitem = TrayCreateItem("Ignore Toggle",-1,-1) TrayItemSetState($checkitem, $TRAY_CHECKED) TrayItemSetOnEvent($checkitem,"CheckToggle") $autoitem = TrayCreateItem("Auto Ignore All Calls",-1,-1) TrayItemSetOnEvent($autoitem,"AutoToggle") TrayCreateItem("",-1) $additem = TrayCreateItem("Add Number to Ignore List",-1,-1) TrayItemSetOnEvent($additem,"AddNumber") $delitem = TrayCreateItem("Delete Number from Ignore List",-1,-1) TrayItemSetOnEvent($delitem,"DeleteNumber") $listitem = TrayCreateItem("List Numbers in Ignore List",-1,-1) TrayItemSetOnEvent($listitem,"ListNumbers") TrayCreateItem("",-1) $exit = TrayCreateItem("Exit",-1) TrayItemSetOnEvent($exit,"_exiter") While 1 If $ignoreon Then ;If WinExists("Dialog - 142") Then If WinExists("V.92 Modem On Hold") Then If $ignoreall Then $handle = WinGetHandle("V.92 Modem On Hold");WinGetHandle("Dialog - 142") $person = ControlGetText($handle,"",1019) $name = StringRegExp($person,"Name:\s(.*)$",3) $number = StringRegExp($person,"Number:\s(\d{10})",3) ControlClick($handle,"",1035,"left",1) If IsArray($name) And IsArray($number) Then TrayTip("Auto Ignoring Call (All Call Ignore ON)","Name: " & $name[0] & @CRLF & "Number: ("&StringLeft($number[0],3)&")"&StringMid($number[0],4,3)&"-"&StringRight($number[0],4),10,17) Else TrayTip("Auto Ignoring Call (All Call Ignore ON)","Call Auto Ignored",10,16) EndIf Sleep(500) WinSetState($handle,"",@SW_HIDE) WinWaitClose($handle) TrayTip("","Internet Connection Resumed",10,16) Else $handle = WinGetHandle("V.92 Modem On Hold");WinGetHandle("Dialog - 142") $person = ControlGetText($handle,"",1019) $name = StringRegExp($person,"Name:\s(.*)$",3) $numarray = StringRegExp($numbers,"(\d{10})\||",3) For $i = 0 to (UBound($numarray) - 1) If StringInStr($person,"Number: " & $numarray[$i]) Then If IsArray($name) Then TrayTip("Ignoring Call From Ignore List","Name: " & $name[0] & @CRLF & "Number: ("&StringLeft($numarray[$i],3)&")"&StringMid($numarray[$i],4,3)&"-"&StringRight($numarray[$i],4),10,17) Else TrayTip("Ignoring Call from Ignore List","Number: "&$numarray[$i],10,16) EndIf ControlClick($handle,"",1035,"left",1) Sleep(500) WinSetState($handle,"",@SW_HIDE) WinWaitClose($handle) TrayTip("","Internet Connection Resumed",10,16) EndIf Next EndIf EndIf EndIf Sleep(50) WEnd Func CheckToggle() $ignoreon = NOT $ignoreon If $ignoreon Then TrayItemSetState($checkitem, $TRAY_CHECKED) TrayItemSetState($autoitem,$TRAY_ENABLE) Else TrayItemSetState($checkitem, $TRAY_UNCHECKED) TrayItemSetState($autoitem, $TRAY_UNCHECKED) TrayItemSetState($autoitem,$TRAY_DISABLE) $ignoreall = False EndIf TrayTip("","Call Ignore Monitoring " & _Iif($ignoreon,"Enabled","Disabled"),10,16) EndFunc Func AutoToggle() $ignoreall = NOT $ignoreall If $ignoreall Then TrayItemSetState($autoitem, $TRAY_CHECKED) Else TrayItemSetState($autoitem, $TRAY_UNCHECKED) EndIf TrayTip("","Ignore ALL Calls " & _Iif($ignoreall,"Enabled","Disabled"),10,16) EndFunc Func AddNumber() $inumber = InputBox("Number to Add To Ignore List","Please Enter the 10 digit number to add to the Ignore List" & @CRLF & "Eg.: 5555555555",""," 10","-1","-1","-1","-1") Select Case @Error = 0 ;OK - The string returned is valid If StringInStr($numbers,$inumber&"||") Then MsgBox(4096,"Number Already In List!","Number Already In List!") Else $numbers = $numbers & $inumber & "||" RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Call Ignore","Ignore Numbers","REG_SZ",$numbers) MsgBox(4096,"Number Added!","Number Added!",10) EndIf Case @Error = 1 ;The Cancel button was pushed Case @Error = 3 ;The InputBox failed to open EndSelect EndFunc Func DeleteNumber() $inumber = InputBox("Number to Detete From Ignore List","Please Enter the 10 digit number to delete from the Ignore List" & @CRLF & "Eg.: 5555555555",""," 10","-1","-1","-1","-1") Select Case @Error = 0 ;OK - The string returned is valid If $inumber = "2105860050" or $inumber = "8003264593" Then MsgBox(4096,"Cannot Remove Number!","Number Entered is Either Chase or Capital One, and Will NOT Be Removed") Else If NOT StringInStr($numbers,$inumber&"||") Then MsgBox(4096,"Number Not In List!","Number Not In List!") Else $numarray = StringRegExp($numbers,"(\d{10})\||",3) For $i = 0 to UBound($numarray) - 1 If $numarray[$i] = $inumber Then _ArrayDelete($numarray,$i) MsgBox(4096,"Number Deleted!","Number Deleted!",10) ExitLoop EndIf Next For $i = 0 To UBound($numarray) - 1 If $i > 0 Then $numbers = $numbers & $numarray[$i] & "||" Else $numbers = $numarray[$i] & "||" EndIf Next RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Call Ignore","Ignore Numbers","REG_SZ",$numbers) EndIf EndIf Case @Error = 1 ;The Cancel button was pushed Case @Error = 3 ;The InputBox failed to open EndSelect EndFunc Func ListNumbers() $lister = "" $numarray = StringRegExp($numbers,"(\d{10})\||",3) For $i = 0 to UBound($numarray) - 1 If $i > 0 Then $lister = $lister & @CRLF & "(" & StringLeft($numarray[$i],3) & ")" & StringMid($numarray[$i],4,3) & "-" & StringMid($numarray[$i],7,4) Else $lister = "(" & StringLeft($numarray[$i],3) & ")" & StringMid($numarray[$i],4,3) & "-" & StringMid($numarray[$i],7,4) EndIf Next MsgBox(4096,"Number List:","The Following Numbers are on the Ignore List:" & @CRLF & $lister) EndFunc Func _exiter() RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Call Ignore","Ignore Numbers","REG_SZ",$numbers) Exit EndFunc Enjoy, Onoitsu2
  13. NetZero will not let you connect like that with the rasdial program, you have to have their zerobar running, as it communicates with the server, I have tried every variation of it, and you will stay connected for like 1 minute, then they see you are not using their software, as they are not getting responses from it. Once you are connected you can run taskkill /f /im exec.exe this completely kills it, but leaves you connected still, only problem is disconnecting is a challenge lol Laterzzz, Onoitsu2
  14. I was bored, and wanted to make an auto logon script for NetZero, and well here it is... pretty plain, but very functional. You need to have your password already stored. I put this in my QuickTray and use it to connect and disconnect. Inetsignon.au3 ; ---------------------------------------------------------------------------- ; ; AutoIt Version: 3.1.0 ; Author: Onoitsu2 <onoitsu2@yahoo.com> ; ; Script Function: ; Automatically logon to NetZero (only if password is stored), ; Hide the NetZero bar, and close the browser window that loads ; with my.netzero.com ; AND ; If NetZero is running it will immediatly disconnect ; ; Works on all NetZero install locations, as it reads the registry for ; INSTALLDIR, then runs it, also can be used to see if NetZero is installed ; at all. ; ; ---------------------------------------------------------------------------- Opt("WinTitleMatchMode",4) If ProcessExists("exec.exe") Then $iMsgBoxAnswer = MsgBox(266244,"Sign Off NetZero?","Sign Off NetZero??") Select Case $iMsgBoxAnswer = 6;Yes $pos = MouseGetPos() ProcessClose("exec.exe") Sleep(5000) ProcessClose("exec.exe") Sleep(1000) MouseMove(700,755,0) MouseMove(@DesktopWidth,755,10) Sleep(500) MouseMove($pos[0],$pos[1],0) Case $iMsgBoxAnswer = 7;No Exit EndSelect Else $regloc = RegRead("HKLM\Software\NetZero, Inc.\NetZero","INSTALLDIR") If $regloc = "" AND NOT (@error = 0) Then MsgBox(266244,"NetZero Not Installed","Unable to Locate the Registry Entry for NetZero"&@CRLF&"This can mean that it is not installed, or installation has been corrupted."&@CRLF&"NetZero Auto Logon will not exit...") Exit 1 EndIf Run($regloc&"\exec.exe") WinWait("Login to NetZero","",60) WinActivate("Login To NetZero") Sleep(1000) Send("{enter}") WinWait("NZTV","",60) If NOT WinWaitClose("NZTV","",60) Then WinActivate("NZTV") Send("{tab}{enter}") MsgBox(0,"An Error Occurred During Connection!","An Error Occurred During Connection!"&@CRLF&"Auto Logon App Shutting Down...") Exit EndIf ;~ WinSetState("NetZero","",@SW_MINIMIZE) WinWaitActive("NetZero","",60) WinSetState("NetZero","",@SW_HIDE) WinWait("http://my.netzero.net","",60) WinClose("http://my.netzero.net","") Exit EndIf Laterzzz, Onoitsu2
  15. I would also like to know about that one, as it is English(UK) not English(US) like I would like my programs to turn out. I have used reshack to try and change the language, no go, not even changing the 809 to 409 which is the correct val for US english... Dunno, I have even altered the AutoitSC.bin to try a different language, and still no go. Thanks, Onoitsu2
×
×
  • Create New...