Search Results |
Subject |
Author |
Forum |
Time |
RE: Took me a few hours... I don't know if this would affect it, but... The [b]Registry_SetKeyValue()[/b] function takes the key type as an enumeration (a variable name), whereas you have defined them as strings. Try it without the single quotes. | whiz | Scripting | 02-21-2010 at 03:57 PM |
RE: Took me a few hours... matty, I think you misunderstood me. I have no intend to rewrite this script i made to a script that's somewhat like WINAPI. I pm-ed you about a function in your registry script: [code=JScript] function Registry_SetKeyValue(lKeyLocation, sKey, sKeyN... | Yustme | Scripting | 02-21-2010 at 12:28 PM |
RE: coding problem Wont work for what he wants to do... ------------- scripto, there is a whole lot more to it than just what whiz has told you. Making a decent encryption script is not easy at all and there are a hell of a lot tidbits you need to take into account. E... | CookieRevised | Scripting | 02-21-2010 at 02:59 AM |
RE: coding problem You could use something like: [code=java] function OnEvent_ContactSignin(sEmail) { if ( sEmail === 'contact@hotmail.com' ) .... } [/code] | djdannyp | Scripting | 02-21-2010 at 12:45 AM |
RE: Can someone edit this script a little shouldn't simply adding [code=js] function OnEvent_ChatWndReceiveMessage(ChatWinndow, Origin, Messaggio, MessageType) { var stringaColorata = Messaggio.substr(0); stringaColorata = "[c=" + primoColore + "]" + stringaColorata + "[/c=... | billyy | Scripting | 02-20-2010 at 03:18 PM |
RE: coding problem If you want to change a message before you send it, you can do this: [code=js]function OnEvent_ChatWndSendMessage(ChatWnd, Message) { return "This is the message that will be sent instead."; }[/code] Both you and the contact will see this message,... | whiz | Scripting | 02-20-2010 at 12:57 PM |
RE: Took me a few hours... I have been doing a lot of work on a new style of polygamy launcher. Problem I am experiencing is that the password field isn't editable using Active Accessibility. If the user has saved their password you can use the code I was playing with. I am g... | matty | Scripting | 02-18-2010 at 04:48 PM |
[resolved] Checkboxes have three states... [code=xml] <Control xsi:type="CheckBoxControl" Id="ChkTest"> <Position Left="3" Top="3" Width="37" Height="15"> <Units>AllPixels</Units> </Position> <Attributes> <Has3States>true</Has3States> </Attributes> <Caption... | whiz | Scripting | 02-18-2010 at 03:47 PM |
RE: Improve user registration I generate 2 random numbers and just print it to the screen [code=php] <div id="content"> <h1>Verify Your Account</h1> <cite>Welcome <?=$strUsername;?></cite> <? $n1 = @rand(1, 10); $n2 = @rand(1, 10); $_SESSION['answer'] = ... | matty | Forum & Website | 02-18-2010 at 03:30 PM |
RE: Auto Responding Answering Machine Script (based on timeout not keywords) Here is something quick, dirty and untested: [s][b]Edit:[/b] Just realized it wont actually work because after you send a message it will be deleted from the object and the code will be fired again if they send another one...[/s] [code=js]// Create a... | matty | Scripting | 02-18-2010 at 03:25 PM |
RE: DisplayPictureStatusChanger 1.4 [fixed] [code=js]function OnWindowidEvent_CtrlClicked(PlusWnd, ControlId) { }[/code] i never rly looked at the name... told you i is a sleepeh head O_O | billyy | Scripting | 02-17-2010 at 06:16 PM |
RE: DisplayPictureStatusChanger 1.4 [fixed] Is the function declared like so? [code=js]function OnWindowIdEvent_CtrlClicked(pPlusWnd, sControlId) { }[/code] Or is it declared like so? [code=js]function OnDPSCConfigEvent_CtrlClicked(pPlusWnd, sControlId) { }[/code] | matty | Scripting | 02-17-2010 at 06:14 PM |
RE: My script doesn't display windows The problems: The file is saved as UTF-8 not UTF-16. The header is wrong in the XML file: [code=xml]<?xml version="1.0" encoding="UTF-16"?> <Interfaces xmlns="urn:msgplus:interface" xmlns:xsi="http://www.w3.org/2001/XMLSchema-insta nce" xsi:sc... | matty | Scripting | 02-17-2010 at 02:31 PM |
RE: DisplayPictureStatusChanger 1.4 [fixed] The problem is that you are not declaring FSO anywhere... Add to the top of the script this line of code [code=js]var FSO = new ActiveXObject('Scripting.FileSystemObject');[/co de] | matty | Scripting | 02-15-2010 at 03:51 PM |
RE: DisplayPictureStatusChanger 1.4 [fixed] Well thanks, i see now and i just simply add .PNG Unfortunately its still failing :/ Heres part of the script from the menu... [code=js] case "set": FSO.CopyFile(Messenger.MyDisplayPicture, MsgPlus.ScriptFilesPath + "\\normal.PNG", true); ... | billyy | Scripting | 02-14-2010 at 04:58 PM |
RE: Interface Writer | [release] 3.0 | 22/08/2010 PS: var Buffer = Interop.Allocate((length + 1) * 2); should be var Buffer = Interop.Allocate(length * 2); since you already increased [i]length[/i] by one (to accomodate the null character). As for the garbage collection, that is a very good practic... | CookieRevised | Scripting | 02-14-2010 at 04:32 PM |
RE: DisplayPictureStatusChanger 1.4 [fixed] Do [code=js]Debug.Trace(Messenger.MyDisplayPicture);[ /code] you will see what I mean. | matty | Scripting | 02-14-2010 at 04:06 PM |
RE: Interface Writer | [release] 3.0 | 22/08/2010 [code=js]Interop.Call("User32.dll", "SendMessageW", WndWriterManageWindows.GetControlHandle("LstWindo ws"), 4214, Writer.WndSel[0], 0);[/code] It works! :P Thanks for all your help! Edit: check your reputation... ;) | whiz | Scripting | 02-14-2010 at 02:00 PM |
RE: Interface Writer | [release] 3.0 | 22/08/2010 Yeah, that makes a whole lot of difference :P The menu thingy is gonna be very complex. If you want an example, look at my code again. Search for "OnWndSettings_LanguageEvent_LstViewRClicked" in the same file you found the message notification even... | SmokingCookie | Scripting | 02-14-2010 at 01:44 PM |
RE: my first script any help would be appriciated.. Hi Matti, I forgot about that check with length! :$ I did found that the "sKeyValue = undefined" in the debugger. But I thought that was because I didn't pass 4 argument to that function. I only passed 3 to it. Well the script executes all the me... | Yustme | Scripting | 02-14-2010 at 11:29 AM |
RE: Interface Writer | [release] 3.0 | 22/08/2010 [code=js]AlertDialog("Copied\t: " + lResult + "\nLength\t: " + length + "\n\nValue\t: " + Buffer.readSTRING(0) + " (" + Buffer.readSTRING(0).length + ")");[/code] [code]Copied : 11 Length : 1 Value : (0)[/code] :S | whiz | Scripting | 02-14-2010 at 11:22 AM |
RE: my first script any help would be appriciated.. The reason why you're getting that error is because you're not checking how much e-mail addresses there are left in the array. You're simply incrementing the counter without checking whether it exceeds the length of the array. By doing that, you e... | Matti | Scripting | 02-14-2010 at 11:04 AM |
RE: Interface Writer | [release] 3.0 | 22/08/2010 (see http://msdn.microsoft.com/en-us/library/ms632628%2 8VS.85%29.aspx) It [i]should[/i] return the visible length (that is, text you can read)... *-) But you more or less have it working now: Buffer.readSTRING(0); should return the new filename/cont... | SmokingCookie | Scripting | 02-14-2010 at 11:01 AM |
RE: Interface Writer | [release] 3.0 | 22/08/2010 Didn't work at first - said "Edit" was undefined. I assumed that was the handle of the ListViewControl - WndWriterManageWindows.SendControlMessage("LstWin dows", 4120, 0, 0); - but I end up with the following message: [code]Copied : 11 Length :... | whiz | Scripting | 02-14-2010 at 10:50 AM |
RE: my first script any help would be appriciated.. Hi Matti, I got it almost completely working with your guidance. I still got a minor problem. Here is my code: [code=JScript] var emailList = new Array(); var counter = 0; var delayOpenWnd = 2000; var MPLkey = 'SOFTWARE\\Patchou\\Messenger Plus!... | Yustme | Scripting | 02-14-2010 at 12:02 AM |