Search Results |
Subject |
Author |
Forum |
Time |
RE: my first script any help would be appriciated.. Hi, Thank you twice! I got another small question. I put a delay for the windows, but somehow that doesn't work. The msn windows open too soon after each other. How can I delay this in a proper way? Edit: It seems to skip all the email addresses to... | Yustme | Scripting | 02-13-2010 at 04:58 PM |
RE: my first script any help would be appriciated.. [noparse][code=JScript]blah[/code][/noparse] | roflmao456 | Scripting | 02-13-2010 at 04:43 PM |
my first script any help would be appriciated.. Hi, Im trying to create a script which logs me in automatically in several accounts. I know there is one out there, but its bugged. Tried fixing it, but it's too messed up to understand it. The error i get is that the script is defective and that it... | Yustme | Scripting | 02-13-2010 at 03:25 PM |
RE: Interface Writer | [release] 3.0 | 22/08/2010 That's weird.. Could you try: [code=JScript] var length = (Interop.Call("User32.dll","SendMessageW",Edit ,WM_GETTEXTLENGTH,0,0) + 1); var Buffer = Interop.Allocate((length + 1) * 2); var lResult = Interop.Call("User32.dll","SendMessageW",Edit. .. | SmokingCookie | Scripting | 02-13-2010 at 08:49 AM |
RE: Interface Writer | [release] 3.0 | 22/08/2010 Ok, that bit works. I've now got: [code=js]function OnWndWriterManageWindowsEvent_MessageNotification( objWnd, Message, wParam, lParam) { if (Message === 78) { var TmpNMHDR = Interop.Allocate(52); Interop.Call("kernel32", "RtlMoveMemory", ... | whiz | Scripting | 02-12-2010 at 07:41 PM |
RE: Interface Writer | [release] 3.0 | 22/08/2010 You shouldn't use NMHDR.readSTRING(8), but NMHDR.readDWORD(8) Besides, you can always check the value read from a position in a DataBloc object: [code=JScript]var Byte1 = DataBloc.readDWORD(0); var Bute2 = DataBloc.readSTRING(0); Debug.Trace(Byte1);... | SmokingCookie | Scripting | 02-12-2010 at 08:34 AM |
RE: Need some help with script That code could be simplified even further. Look what I found in the documentation! You don't even need a loop to check whether that e-mail address is in the list of chat window contacts, just check that [font=Courier]Contacts.GetContact(sIgnoredEm... | Matti | Scripting | 02-11-2010 at 09:00 PM |
RE: Need some help with script [code=js]// declare an object container var objChatWnd = {}; // store the last message sent into our container function OnEvent_ChatWndSendMessage(oChatWnd, sMessage) { objChatWnd[oChatWnd.Handle] = sMessage; } function OnEvent_ChatWndReceiveMessage... | matty | Scripting | 02-11-2010 at 08:44 PM |
RE: Interface Writer | [release] 3.0 | 22/08/2010 Ok, I've managed to make the rename box appear (since it wasn't working, I checked the Schema Documentation - it was "AllowEditText"). :P I've currently got this: [code=js]function OnWndWriterManageWindowsEvent_MessageNotification( objWnd, Mess... | whiz | Scripting | 02-11-2010 at 08:03 PM |
RE: Interface Writer | [release] 3.0 | 22/08/2010 Kinda forgot that you'd replied, I'm sorry! When you receive the WM_NOTIFY message, the lParam is important: it contains an [url=http://msdn.microsoft.com/en-us/library/bb775 514%28VS.85%29.aspx]NMHDR structure[/url]. You can access this structure u... | SmokingCookie | Scripting | 02-10-2010 at 07:32 PM |
RE: Active Accessibility Objects and ReadInterfacePtr Well that's an annoying simple way of doing it after all the crap I tried :P Now to clean up this mess you have created so it is actually useful! Starting with the IID stuff which can just be done much simpler like so: [code=JScript]Interop.Call('o... | Eljay | Scripting | 02-09-2010 at 06:43 PM |
RE: Active Accessibility Objects and ReadInterfacePtr This works thanks to Patchy! [code=js]if (Messenger.MyStatus === STATUS_UNKNOWN) { Debug.DebuggingWindowVisible = true; Debug.ClearDebuggingWindow(); var hWnd = Interop.Call('user32', 'FindWindowExW', Messenger.ContactListWndH... | matty | Scripting | 02-09-2010 at 03:51 AM |
RE: Dynamically changing text box, based on a form input? This is tested... For some reason I can't update a div text so I've just used the tooltip for now.... No, you no longer need to define the function as I've put it all in line for you (but doesn't filter out NaN errors etc. [code=js] <form name="... | Spunky | Tech Talk | 02-08-2010 at 12:40 AM |
RE: Dynamically changing text box, based on a form input? Use a javascript event... [code=js] //define this function somewhere function roundNumber(num, dec) { var result = Math.round(num*Math.pow(10,dec))/Math.pow(10,dec); return result; } // x = amount (6.23 for example) this.value = roundNumber(x / 0.... | Spunky | Tech Talk | 02-07-2010 at 11:44 PM |
RE: Dynamically changing text box, based on a form input? Thanks, but wont that $_POST variable only be retrieved after the form is submitted? or am I being stupid? I'm trying to make it change instantly, as a new value is entered into the amount box, or if that isn't possible, a button or something to u... | Jimbo | Tech Talk | 02-07-2010 at 11:03 PM |
RE: Dynamically changing text box, based on a form input? [code=php] $am = $_POST['amount']; $ret = ceil($am/0.05); [/code] EDIT: NB: ceil rounds up to nearest integer value, which I assumed from your post. However, if you needed to round up such that you end up to the nearest pence/cent, you'd have to u... | stoshrocket | Tech Talk | 02-07-2010 at 10:14 PM |
Dynamically changing text box, based on a form input? Hey, How would I be able to retrieve the amount entered into a form, eg. $5.00, and then divide that number by 0.05, and the finally rounding it to the nearest whole number, and display the result? Maybe this will help: This is the form I am trying t... | Jimbo | Tech Talk | 02-07-2010 at 09:37 PM |
'Contact List Clean-Up' => Currently Not Working! (PLEASE READ) [size=1]Currently the amount of topics about the contact list clean-up is about 2/3 per week. So maybe if I make a full information post people can just refer to it.[/size] [list] [*] Currently the contact list clean-up has a feature that [u]allows y... | Chrissy | WLM Plus! Help | 02-07-2010 at 08:56 PM |
RE: [Bug?] PlusWnd Titlebar Yes, Patchou implemented a work-around to set the window title without adding a Plus! title bar. When sending WM_SETTEXT, pass 1 as wParam. This parameter has no meaning for the Windows API, but when sent to a Plus! window, it'll prevent the title b... | Matti | Scripting | 02-07-2010 at 10:33 AM |
RE: ImageControl pPlusWnd is the object returned from MsgPlus.CreateWnd or MsgPlus.CreateChildWnd [code=js]pPlusWnd.ImageElmt_SetImageFile('ImgMyIm age', '\\C:\\folder\\image.jpg');[/code] [img]http://shoutbox.menthix.net/attachment.php?pi d=986901[/img] | matty | Scripting | 02-06-2010 at 01:33 PM |
RE: Active Accessibility Objects and ReadInterfacePtr This is not the problem you're having, but don't you think that line should use ReadWORD instead of Read[b]D[/b]WORD? | Choli | Scripting | 02-05-2010 at 05:44 PM |
Active Accessibility Objects and ReadInterfacePtr Ok so for those who do not understand the code please at the moment don't ask about it. I am stumped on the following: [code=js]if (Messenger.MyStatus === STATUS_UNKNOWN) { Debug.DebuggingWindowVisible = true; var hWnd = Interop.Call('user32... | matty | Scripting | 02-03-2010 at 01:26 AM |
RE: [?] Detect x64 through JScript & EM_SETSEL on x64 Are you perhaps confusing MAKEWORD with MAKELONG ? BYTE = 8-bit WORD = 16-bit DWORD/long = 32-bit MAKEWORD takes two BYTEs and turns it into a WORD MAKELONG takes two WORDs and turns it into a DWORD/LONG LOWORD gets a WORD from a DWORD/LONG (first o... | TheBlasphemer | Scripting | 02-02-2010 at 10:15 PM |
RE: [?] Detect x64 through JScript & EM_SETSEL on x64 Well, I've double-checked the EM_SETSEL, it is properly defined. I've just tried EM_GETSEL, starting and ending positions are both 0. And thanks for adding a new word to my vocab :P [s]Seen your bump, reading now Seen :p[/s] I've been messing arou... | SmokingCookie | Scripting | 02-02-2010 at 08:53 PM |
RE: [?] Detect x64 through JScript & EM_SETSEL on x64 Ramifications: what sideeffects or what would happen by doing it. Have you tried EM_GETSEL to see where the starting position is? Stupid question but what do you have EM_SETSEL defined as? should be 0xB1 [s]Is it an Edit or Rich Edit control?[/s] You... | matty | Scripting | 02-02-2010 at 08:46 PM |