AutoHotkey Community

It is currently May 24th, 2012, 1:35 pm

All times are UTC [ DST ]


Search found 235 matches
Search these results:

Author Message

 Forum: Support   Topic: Take a screenshot and save it?

Posted: April 8th, 2012, 8:27 pm 

Replies: 11
Views: 150


You could also use GDI+ #include, Gdip.ahk file := A_Desktop . "\screen.png" Screenshot(file) return Screenshot(outfile) { pToken := Gdip_Startup() screen=0|0|%A_ScreenWidth%|%A_ScreenHeight% pBitmap := Gdip_BitmapFromScreen(screen) Gdip_SaveBitmapToFile(pBitmap, outfile, 100) Gdip_Dispose...

 Forum: Scripts   Topic: Minecraft Snapshot Installer

Posted: March 3rd, 2012, 6:37 am 

Replies: 1
Views: 800


This is a simple script to make installing minecraft snapshots easier. It backups your current minecraft version and can easily restore it for you. Screenshot: http://i.imgur.com/ayR79.png Code: #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. #Persistent #Sing...

 Forum: Support   Topic: Prevent personal info from being typed (parent w/ dementia)

Posted: February 22nd, 2012, 6:13 am 

Replies: 5
Views: 242


With a little work to polyethene's script I believe this should work fine. Just add a regular expression to the disallowedWords array and your good to go, and this version requires AutoHotkey_L. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. #Persistent #Sing...

 Forum: Support   Topic: Execute Command when Checkbox = True

Posted: February 19th, 2012, 5:20 am 

Replies: 4
Views: 93


Code:
CB1:
GuiControlGet, CB1

while (CB1)
{
    Send, 12345
    Sleep, 2000
    GuiControlGet, CB1
}

MsgBox, Loop Over
return

 Forum: Support   Topic: Execute Command when Checkbox = True

Posted: February 19th, 2012, 4:52 am 

Replies: 4
Views: 93


G: Gosub (g-label). Launches a subroutine automatically when the user clicks or changes a control. Immediately after the letter G, specify the name of the label to execute. gCancel may be specified to perform an implicit Gui Cancel (but if a label named "Cancel" exists in the script, it w...

 Forum: Support   Topic: How could set x=y,c,r? when it comes to letters?

Posted: February 14th, 2012, 5:04 am 

Replies: 2
Views: 81


:?:
Code:
y := "apple"
c := "orange"
r := "pineapple"

x := y . c . r
MsgBox, % x

 Forum: Offtopic   Topic: Windows 7 User Account Control

Posted: January 18th, 2012, 12:50 am 

Replies: 18
Views: 851


I have it turned it off, because it is just a major hindrance to my workflow.

 Forum: Scripts   Topic: INI Class

Posted: December 18th, 2011, 8:28 pm 

Replies: 29
Views: 1383


Wouldn't this be the same thing?
Code:
ini := new Ini()

ini["Section"]["Key"] := 0
ini["Section"]["Key"]++

Msgbox % ini["Section"]["Key"]

 Forum: Support   Topic: Auto Reset script needed

Posted: December 3rd, 2011, 6:07 am 

Replies: 5
Views: 203


Here is my take on this, just put your exit code in the script. time := 4 ; Time in minutes timerTime := 60 * time Gui, Add, Button, x22 y90 w120 h30 gButtonPress, Reset Gui, Add, CheckBox, x62 y20 w60 h30 vActive, Active Gui, Add, Progress, x22 y60 w120 h20 vTimer range0-%timerTime%, Gui, Add, Butt...

 Forum: Scripts   Topic: Macro Recorder

Posted: November 22nd, 2011, 7:58 pm 

Replies: 8
Views: 1119


Try putting this at the top under SetWorkingDir in macro.ahk
Code:
FileEncoding, UTF-8

 Forum: Offtopic   Topic: Don’t Call Yourself A Programmer

Posted: October 29th, 2011, 11:50 pm 

Replies: 4
Views: 450


Thanks for the article, seems interesting.

 Forum: Scripts   Topic: Macro Recorder

Posted: October 24th, 2011, 12:23 am 

Replies: 8
Views: 1119


Thanks for trying this, the crash your talking about happened when you were recording right? I'm about to release a new version which will fix that and add a few other things. For now you can right click the Sleep in the macro editor and edit the time manually to randomize it. Edit: Version 0.9 rele...

 Forum: Support   Topic: [Solved] Am I doing something wrong?

Posted: October 22nd, 2011, 7:57 am 

Replies: 2
Views: 78


Code:
GuiControl, Move, Edit, w%EditWidth% h%EditHeight%
:?:

 Forum: Scripts   Topic: Macro Recorder

Posted: October 22nd, 2011, 1:46 am 

Replies: 8
Views: 1119


I already have the clicking done, just going to add position and some more stuff before I release a new version.

 Forum: Scripts   Topic: Macro Recorder

Posted: October 21st, 2011, 11:37 pm 

Replies: 8
Views: 1119


Not a bad idea, I'll see what I can do.
Sort by:  
Page 1 of 16 [ Search found 235 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group