AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 114 matches
AutoHotkey Community Forum Index
Author Message
  Topic: Extracting SubString
infogulch

Replies: 12
Views: 164

PostForum: Ask for Help   Posted: Sat Jul 19, 2008 1:35 pm   Subject: Extracting SubString
oh, right. can you tell i started with your version? Razz

thnx Smile
  Topic: Hows Your Computer :)
infogulch

Replies: 42
Views: 2415

PostForum: General Chat   Posted: Sat Jul 19, 2008 5:52 am   Subject: Hows Your Computer :)
Kazul, cool.

my laptop: Dell, Pent 4 M @ 2.4 GHz, 1GB ram, 14" mon (i think) but w/ 1400x1050 px res

.. and 20 GB hard drive (no, not 200, 20. lol) Shocked it's killing me too. Confused

but it ...
  Topic: Pixel Search Looping
infogulch

Replies: 2
Views: 75

PostForum: Ask for Help   Posted: Sat Jul 19, 2008 4:22 am   Subject: Pixel Search Looping
maybe something like this: (not tested, just for reference)

MyWinTitle = title of window ;the title of the window this works in
MyPixelColor = 0x00FF00 ;six digit hex color value
SetWinDelay, -1 ...
  Topic: Extracting SubString
infogulch

Replies: 12
Views: 164

PostForum: Ask for Help   Posted: Sat Jul 19, 2008 3:46 am   Subject: Extracting SubString
and a regex version, just because:

FRead=read.txt
FWrite=new.txt

FileDelete, %FWrite% ;since it may already exist

Loop, Read, %FRead%
FileAppend, % RegexReplace(A_LoopReadLine, ". ...
  Topic: Looking for a better way to rename a directory
infogulch

Replies: 4
Views: 117

PostForum: Ask for Help   Posted: Sat Jul 19, 2008 2:01 am   Subject: Looking for a better way to rename a directory
FileMoveDir, C:\My Folder, C:\My Folder (renamed), 1
  Topic: mouseclick to be random, but within a certain range
infogulch

Replies: 5
Views: 93

PostForum: Ask for Help   Posted: Fri Jul 18, 2008 10:48 pm   Subject: mouseclick to be random, but within a certain range
actually, that would be 1000 ± 250 sleep

i don't know why that wouldn't work, but RandSleep(1000, 1500)

RandSleep(Min, Max)
{
Random, RandSleep, Min, Max
Sleep Ra ...
  Topic: mouseclick to be random, but within a certain range
infogulch

Replies: 5
Views: 93

PostForum: Ask for Help   Posted: Fri Jul 18, 2008 10:03 pm   Subject: mouseclick to be random, but within a certain range
try:

RandClick(50, 100, 3)

RandClick(X, Y, rand)
{ ; obeys current mouse CoordMode !!
Random, RandX, -rand, rand
Random, RandY, -rand, rand
MouseClick, Left, X+RandX, ...
  Topic: Get avg color of portion of the screen
infogulch

Replies: 4
Views: 93

PostForum: Ask for Help   Posted: Fri Jul 18, 2008 9:41 pm   Subject: Get avg color of portion of the screen
right, it seems like it gets the color of the top left pixel of the selection. pretty neat anyway Wink

i was wondering about the GetPixel function, is the number it returns relevant/useable by ahk di ...
  Topic: Get avg color of portion of the screen
infogulch

Replies: 4
Views: 93

PostForum: Ask for Help   Posted: Thu Jul 17, 2008 6:28 pm   Subject: Get avg color of portion of the screen
thanks! i'll take a look Smile ( [url=http://www.autohotkey.com/forum/viewtopic.php?t=32238&postdays=0&postorder=asc&start=30]link to Gdi+ post )
  Topic: Filter Keys
infogulch

Replies: 2
Views: 77

PostForum: Ask for Help   Posted: Thu Jul 17, 2008 4:22 pm   Subject: Filter Keys
i don't know if this will help, but try looking at: [url=http://www.autohotkey.com/docs/commands/Input.htm]Input

[url=http://www.autohotkey.com/forum/topic24234.html]Accessibility Std Lib might be ...
  Topic: Get avg color of portion of the screen
infogulch

Replies: 4
Views: 93

PostForum: Ask for Help   Posted: Thu Jul 17, 2008 3:41 pm   Subject: Get avg color of portion of the screen
i need to get the average color of a portion of the screen, and i don't want to do a PixelGetColor as that takes a long time (think 50x50 px portion is 2500 pixels) so i thought i'd use Gdi+ to captur ...
  Topic: AnimateWindow - DllCall Test Script with Code Generator
infogulch

Replies: 6
Views: 372

PostForum: Scripts & Functions   Posted: Sun Jun 29, 2008 6:23 pm   Subject: AnimateWindow - DllCall Test Script with Code Generator
really interesting, but your test are not working on vistaMan, that's too bad. Sad I wouldn't know what the problem is, though, since I don't have vista. Do you have any hunches? Maybe the dllcall ?
...
  Topic: Library for Text file manipulation
infogulch

Replies: 12
Views: 1010

PostForum: Scripts & Functions   Posted: Fri Jun 27, 2008 11:23 pm   Subject: Library for Text file manipulation
How about a tab replacing func?
Here's a simple leading tab replacement func:;returns str with leading tabs replaced with tablen # of spaces
TXT_ReplaceLeadingTabs(str, tablen=4) {
l ...
  Topic: Toaster Popups
infogulch

Replies: 11
Views: 2415

PostForum: Scripts & Functions   Posted: Fri Jun 20, 2008 4:45 am   Subject: Toaster Popups
Here's a version that gives you the option to have a bold title for the popup, and adds capturing the GuiEvent (including rightclick) of the user for use with the callback label (or whatever). To refe ...
  Topic: Function Variable Declarations
infogulch

Replies: 0
Views: 200

PostForum: Wish List   Posted: Tue Jun 17, 2008 11:07 pm   Subject: Function Variable Declarations
Some ideas:
Sorry if they've already been suggested.

1. Assume StaticFunctions can be declared Assume Global or Local currently. Assume Static would be a useful addition. This would make all vari ...
 
Page 1 of 8 Goto page 1, 2, 3, 4, 5, 6, 7, 8  Next
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group