| Author |
Message |
Forum: Support Topic: HIWORDs and LOWORDs |
| Areilius |
|
Posted: August 8th, 2006, 9:47 am
|
|
Replies: 3 Views: 1162
|
Thanks Chris  |
|
 |
Forum: Support Topic: HIWORDs and LOWORDs |
| Areilius |
|
Posted: August 7th, 2006, 12:33 pm
|
|
Replies: 3 Views: 1162
|
| C'mon guys :P I found this VB function that I think does what I want, but I cant convert it, I don't know what the &HFFFF& bits mean... (Address of HFFFF with an & on the end?? I dont know :lol: ) Public Function LoWordAsLong(ByVal DWord As Long) As Long LoWordAsLong = DWord And ... |
|
 |
Forum: Support Topic: Removing an element from an array |
| Areilius |
|
Posted: August 6th, 2006, 6:50 am
|
|
Replies: 7 Views: 925
|
| I found this is an incredibly useful function when working with arrays :D You don't have to understand exactly how it works, I wrote it ages ago and I've forgotten :lol: Just pass the array name as a string and the element you want to remove, eg. ArrayRemoveElement("MyArray",3) ArrayRemove... |
|
 |
Forum: Support Topic: HIWORDs and LOWORDs |
| Areilius |
|
Posted: August 6th, 2006, 5:39 am
|
|
Replies: 3 Views: 1162
|
How do you extract the LOWORD and HIWORD from a DWORD?
(Specifically the X and Y from the lParam of WM_MOUSEMOVE)
Thanks  |
|
 |
Forum: Support Topic: remote control over PC via cell phone |
| Areilius |
|
Posted: August 5th, 2006, 4:59 am
|
|
Replies: 7 Views: 1424
|
So you tried WinWait,Google Notification ?
I don't know why that wouldn't work.. And I dont have gmail so I cant try it myself
Did you get that title from the window spy?
Does the main chat window also appear when someone sends you a message? |
|
 |
Forum: Support Topic: Paste Images from Clipboard |
| Areilius |
|
Posted: July 17th, 2006, 8:22 am
|
|
Replies: 7 Views: 1379
|
Anyone know if there's a DllCall-able equivilent of the Clipboard.GetDataObject() function in kui's C# code? (Above link)
(An MSDN search just gives 100+ articles about how to do it in C#,VB etc.. ) |
|
 |
Forum: Support Topic: Help looping a formula please... |
| Areilius |
|
Posted: July 3rd, 2006, 8:57 am
|
|
Replies: 2 Views: 614
|
| An OGamer! :P I think it's just your order of brackets and stuff thats making your build-time formula fail.. Try this: %CurrentBuilding%BuildTime := (%CurrentBuilding%MCost+%CurrentBuilding%CCost) / (2500*(RoboLevel+1)*(2**NaniteLevel)) [ Reference ] I tested that and... |
|
 |
Forum: Support Topic: Assigning password to a script |
| Areilius |
|
Posted: July 1st, 2006, 5:36 am
|
|
Replies: 3 Views: 564
|
| Add it to the very top. Code at the top is run when the script starts. I also changed the password bit a little, made it case sensitive (I like to go overboard :lol: ) Thread,Priority,1000 ;This stops the hotkey from working before you enter the password RunScriptPassword = 1234 ;<-- startup passwor... |
|
 |
Forum: Support Topic: DllCall. Help, anyone? |
| Areilius |
|
Posted: June 20th, 2006, 11:45 am
|
|
Replies: 26 Views: 4237
|
| I don't know a whole lot about it myself, but I'll try to get you started. As an example I'll show you how to call the MessageBox function. The MSDN documentation gives the syntax/param order: int MessageBox( HWND hWnd, LPCTSTR lpText, LPCTSTR lpCaption, UINT uType ); The capital words like ... |
|
 |
Forum: Issues Topic: "Return %Var%" not recognised as an expression? |
| Areilius |
|
Posted: June 18th, 2006, 5:32 am
|
|
Replies: 11 Views: 880
|
| return %Var% seems to not be recognised as an expression, it returns Var's contents, not the contents of a variable named the contents of Var. (Hard to word!! :x ) In other words, return %Var% and return Var return the same thing. Examples! :) Foo:="Hello" MsgBox,% GetGlobal1("Fo... |
|
 |
Forum: Scripts Topic: Two simple functions (GetTextLines and Ping) |
| Areilius |
|
Posted: June 5th, 2006, 7:29 am
|
|
Replies: 10 Views: 4755
|
| Handy functions! A suggestion regarding: ; Remember not to use any output variable names that are used in the functions. ; For example, in Ping, don't make your minimum variable "MinimumVar". ; The functions will not put out the variables if you do. Using Byref will solve this problem. :) ... |
|
 |
Forum: Scripts Topic: A handy dialogue technique! (and colorful msgbox's ^_^) |
| Areilius |
|
Posted: June 5th, 2006, 7:16 am
|
|
Replies: 16 Views: 10033
|
Meh it was just an example. You can add to it if you want  |
|
 |
Forum: Support Topic: Bold/Italic/Size/Font e.t.c. in a msgbox |
| Areilius |
|
Posted: June 4th, 2006, 7:17 am
|
|
Replies: 8 Views: 889
|
I've shown a good way of creating dialogs using GUIs here.  |
|
 |
Forum: Scripts Topic: A handy dialogue technique! (and colorful msgbox's ^_^) |
| Areilius |
|
Posted: June 4th, 2006, 6:43 am
|
|
Replies: 16 Views: 10033
|
| This is an incredibly simple but useful trick that I thought the world should know. Using WinWaitClose you can simplify GUI-forms into a single function that returns the user's input, much like FileSelectFile, InputBox and MsgBox. Here's some examples! This function will just wait until the user cli... |
|
 |
Forum: Support Topic: possible to change the font in a control window? |
| Areilius |
|
Posted: June 4th, 2006, 4:35 am
|
|
Replies: 4 Views: 561
|
You mean Gui,Font ??
Becuse that certainly is not a long shot  |
|
 |
| Sort by: |