| 
                    
                     September 27, 2004
 XUnleashed ScriptHost Patch v2.6.0.9
 
 While this patch includes alot of new features you can always find these and other documentatino in our scripting documentation forums.  We are also adding quite a bit of demo sourcecode to help you get started.
 
 If there is something you want explained, just ask us on the forums!
 
 Be sure and check out the new screenshot functions.  Which reminds, me, we also have a new XUMovieMaker plugin that will be released here pretty quick!
 
 
 
 Memory Functions:
 =====================
 Public Function Memory.ReadMemorySingle(pHandle As Long, Address As Long) As Single 'Reads a single in memory
 Public Function Memory.ReadMemoryLong(pHandle As Long, Address As Long) As Long 'Reads a long in memory
 Public Function Memory.ReadMemoryInt(pHandle As Long, Address As Long) As Integer 'Reads an integer in memory
 Public Function Memory.ReadMemoryByte(pHandle As Long, Address As Long) As Byte 'Reads a byte in memory
 Public Function Memory.ReadMemoryString(pHandle As Long, Address As Long, Bytes As Long) As String 'Reads an array of characters in memory
 
 
 Win32API Functions:
 =====================
 Public Function Win32API.XUFindModule(pID As Long, ModuleName As String) As Long 'Find a module in memory of a process
 Public Function Win32API.XUGetWindowRect(ByVal hwnd As Long, lpRect As tagRECT) As Long 'Get a window size Rect.(Top, Left, Right, Bottom)'See Win32 API documentation
 Public Function Win32API.XUPostMessage(ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Long) As Long 'See Win32 API documentation
 Public Function Win32API.XUSendMessage(ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Long) As Long 'See Win32 API documentation
 
 
 ScriptHost Functions:
 =====================
 Public Function GetScreenShot() 'Take a screenshot of the current window
 Public Function GetDesktopScreenShot() 'Take a screenshot of the desktop
 Public Function ScriptHost.Random(ByVal Low As Long, ByVal High As Long) As Long 'Generates a random number from low to high
 Public Sub ScriptHost.KeyUp(ByVal sKeystrokes As String) 'Single Key Up
 Public Sub ScriptHost.KeyDown(ByVal sKeystrokes As String) 'Single Key Down
 Public Sub ScriptHost.KeysUp(ByVal vkKey As Integer) 'String of Keys Up
 Public Sub ScriptHost.KeysDown(ByVal vkKey As Integer) 'String of Keys Down
 Public Sub ScriptHost.SetKeyDelay(ByVal ms As Double)  'This will simulate random user input if activated
 Public Sub ScriptHost.SendKeys(ByVal sKeystrokes As String) 'Send string of keys (see SendKeys documentation on forums for full details)
 
 
 
 Overhauled:
 =====================
 I have overhauled the SendKeys function (Thanks Devestator) which now should work for a much wider array of games.  Before you had to use the KeyDown/KeyUP for VK_Enter on most games, but it should work now without it!!  It should also better register keys like {ALT}, {CONTROL}, {SHIFT}, {ENTER}, etc.  Enjoy!  Remember to see the documentation forum for the codes for special keys.
 
 Also, due to the enormous demand for optimzied memory reading functions, I have added one.  (This is for you Devestator!)  See the documentation forum for a demo script on reading memory.
 
 
 Deprecated:
 =====================
 PeekB, PeekL, PeekS, PeekD, PeekI, PokeB, PokeL, PokeS, PokeD, PokeI 'These will no longer be supported as many had too much trouble using them. 
                    
                     
                     
                     
                    
                    
                    
                     |