| Author |
Message |
Forum: Support Topic: how to send a click to an unactive window |
| random11 |
|
Posted: February 17th, 2012, 2:36 am
|
|
Replies: 1 Views: 91
|
I tried looking at controlClick but I cant get it to work.
I would like to send a click (left mouse button) to coordinates 184, 377 of a Mozilla firefox browser.
Please help! How can I do this? |
|
 |
Forum: Support Topic: [Solved] Trimming White Space |
| random11 |
|
Posted: February 9th, 2012, 5:25 pm
|
|
Replies: 5 Views: 112
|
Anonymous wrote: Nonsense. Read the documentation and you have it remove all sorts of characters. You can also resort to RegExReplace()
Ahh when I saw the OmitChars I thought that meant that you could have it omit characters from being removed. Now I see, thanks. |
|
 |
Forum: Support Topic: [Solved] Trimming White Space |
| random11 |
|
Posted: February 9th, 2012, 5:06 pm
|
|
Replies: 5 Views: 112
|
just me wrote: If you're using AHK_L Trim() might help you.
that only removes spaces and tabs. Which is good but i also need to remove new line characters |
|
 |
Forum: Support Topic: [Solved] Trimming White Space |
| random11 |
|
Posted: February 9th, 2012, 4:50 pm
|
|
Replies: 5 Views: 112
|
| Ok so I would like to know if there is a simple way to trim white space off of the start and end of a variable? "White space" can include any extra space characters or tab characters and also any extra line feed characters (`r and / or `n ) Example: list = ( blah hip hop stop ) aft... |
|
 |
Forum: Support Topic: [Solved] sorting |
| random11 |
|
Posted: February 9th, 2012, 4:22 pm
|
|
Replies: 11 Views: 232
|
hd0202 wrote: Sorry, there got one character lost.
yes that fixed it THANKS A LOT!
 |
|
 |
Forum: Support Topic: [Solved] sorting |
| random11 |
|
Posted: February 9th, 2012, 4:07 pm
|
|
Replies: 11 Views: 232
|
| Try this, I hope it contains all your above mentioned needs At first it looked like it did do everything. However, ther is a bug where if you try and sort the list twice it basically screws up ( it looks like it sorts all alphabetically and then also leaves some blank lines ) Here is the code that ... |
|
 |
Forum: Support Topic: [Solved] sorting |
| random11 |
|
Posted: February 9th, 2012, 8:46 am
|
|
Replies: 11 Views: 232
|
| wow. Ok I didnt expect you to not use the built in sort command, if i had of known that I would have said up front that it needs to also not allow duplicates. ( i was expecting that part to be easy by just adding the U as a sort option ) Example if "C:\Temp\file1.txt\8" is in the list and ... |
|
 |
Forum: Support Topic: [Solved] sorting |
| random11 |
|
Posted: February 9th, 2012, 8:30 am
|
|
Replies: 11 Views: 232
|
| sorry I didn't make it more clear. When I said I don't care about the number of the file I meant like, if the list looked like this (see below) it would be ok C:\Temp\file1.txt\1 C:\Temp\file1.txt\2 C:\Temp\file1.txt\3 C:\Temp\file10.txt\1 C:\Temp\file11.txt\1 C:\Temp\file12.txt\1 C:\Temp\file2.txt\... |
|
 |
Forum: Support Topic: [Solved] sorting |
| random11 |
|
Posted: February 9th, 2012, 7:50 am
|
|
Replies: 11 Views: 232
|
| Do you want 12 to be the last? Or is this what you want? yes I want it to sort as bigger numbers at the bottom. I want it to look like this after sort: C:\Temp\file1.txt\1 C:\Temp\file1.txt\3 C:\Temp\file1.txt\8 C:\Temp\file1.txt\11 C:\Temp\file1.txt\85 C:\Temp\file2.txt\1 C:\Temp\file2.txt\7 C:\Te... |
|
 |
Forum: Support Topic: [Solved] sorting |
| random11 |
|
Posted: February 9th, 2012, 7:23 am
|
|
Replies: 11 Views: 232
|
| Ok so I looked at the Sort Command. I have a list of files and numbers like this: C:\Temp\file1.txt\1 C:\Temp\file1.txt\3 C:\Temp\file2.txt\1 C:\Temp\file2.txt\7 C:\Temp\file2.txt\12 Basically each line is set up like this %path%\%number% now a normal sort works fine for the most part. But i ran int... |
|
 |
Forum: Support Topic: MsgBox in center of screen on other monitor |
| random11 |
|
Posted: February 7th, 2012, 6:26 pm
|
|
Replies: 5 Views: 243
|
| So i guess the question now is: 1. How can i tell what window paint is in. I want my program to be versitile so I cant assume the resolution or orientation of the monitor set up. ie. the monitors could be vertical or horizontal, they could be rotated, there could be 3 or 4 monitors. AND 2. When I cr... |
|
 |
Forum: Support Topic: MsgBox in center of screen on other monitor |
| random11 |
|
Posted: February 7th, 2012, 6:34 am
|
|
Replies: 5 Views: 243
|
| Ok so I have a msgBox with option 4 (yes/no). basically my script works like this, if the current window is paint and i press ctrl 3 then a pop up comes up asking if you want to continue. BUT when running on a dual monitor set up and having paint in the second monitor the msgbox still shows up in th... |
|
 |
Forum: Support Topic: How to tell when a menu item is clicked in a program |
| random11 |
|
Posted: February 7th, 2012, 4:50 am
|
|
Replies: 4 Views: 205
|
|
 |
Forum: Support Topic: help with WM_COMMAND hook |
| random11 |
|
Posted: December 30th, 2011, 7:47 am
|
|
Replies: 0 Views: 79
|
| Here is my code: #SingleInstance Force #Persistent SetTitleMatchMode, 1 SetBatchLines,-1 HookProcAdr := RegisterCallback( "HookProc", "F" ) modhanwdl := DllCall("GetModuleHandle") WiID := DllCall("GetCurrentThreadId") hWinEventHook := S... |
|
 |
Forum: Support Topic: how to tell what is in a msg structure? |
| random11 |
|
Posted: December 30th, 2011, 6:02 am
|
|
Replies: 5 Views: 135
|
ok guys thanks for the help.
Edit moved to new post |
|
 |
| Sort by: |