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 1381 matches
AutoHotkey Community Forum Index
Author Message
  Topic: "Snake" for AHK
Krogdor

Replies: 16
Views: 1587

PostForum: Scripts & Functions   Posted: Wed Dec 02, 2009 6:07 am   Subject: "Snake" for AHK
Updated the script a bit; the color picker is now the default windows one, and I embedded into the script the two bitmaps that were previously downloaded.

This adds a new dependency on majkinetor's ...
  Topic: Make g-Label Not Activate By Script
Krogdor

Replies: 4
Views: 263

PostForum: Ask for Help   Posted: Sun Aug 30, 2009 6:11 am   Subject: Make g-Label Not Activate By Script
Alright, got it working. Used something similar to what you posted, SKAN.

The final product (well, still sort of a work in progress, but final for now) can be found @ http://www.autohotkey.com/foru ...
  Topic: "Snake" for AHK
Krogdor

Replies: 16
Views: 1587

PostForum: Scripts & Functions   Posted: Sun Aug 30, 2009 5:58 am   Subject: "Snake" for AHK
There is now a color picker included! I didn't really like any of the ones I found on the forum, so I made my own. It's based on the Photoshop one, except much crappier <3 It takes up about as much ...
  Topic: Make g-Label Not Activate By Script
Krogdor

Replies: 4
Views: 263

PostForum: Ask for Help   Posted: Sat Aug 29, 2009 8:46 pm   Subject: Make g-Label Not Activate By Script
Alright, I thought of something similar to each of those, or maybe some combination, but thought there might be an easier way to accomplish this.
Thanks for your help, both of you.

@SKAN: Yes, I'v ...
  Topic: Make g-Label Not Activate By Script
Krogdor

Replies: 4
Views: 263

PostForum: Ask for Help   Posted: Sat Aug 29, 2009 12:35 pm   Subject: Make g-Label Not Activate By Script
Hi All,

Long version: I'm having trouble with some g-Labels for edit controls. I am making a color picker, so there are quite a few edit controls that must change in response to any other control c ...
  Topic: "Snake" for AHK
Krogdor

Replies: 16
Views: 1587

PostForum: Scripts & Functions   Posted: Sat Aug 29, 2009 12:15 am   Subject: "Snake" for AHK
1) Your post sounds like Sapce wasn't working, but then after making changes did work; Did I misread this? My Space still isn't working under the current configuration.
Oops, a little bit of flawe ...
  Topic: "Snake" for AHK
Krogdor

Replies: 16
Views: 1587

PostForum: Scripts & Functions   Posted: Fri Aug 28, 2009 4:29 am   Subject: "Snake" for AHK
Updated it; changelog in first post.

The hotkey customization isn't done very well though... The AHK Hotkey control doesn't accept keys like Space or Enter, so I made it an edit control with a butt ...
  Topic: "Snake" for AHK
Krogdor

Replies: 16
Views: 1587

PostForum: Scripts & Functions   Posted: Fri Aug 28, 2009 12:37 am   Subject: "Snake" for AHK
If you change Settings in the middle of a game, the game ends (which is reasonable) but it says your score was '0' regardless of actual score.

Instead of a 'Game Over' message, might consider simpl ...
  Topic: "Snake" for AHK
Krogdor

Replies: 16
Views: 1587

PostForum: Scripts & Functions   Posted: Thu Aug 27, 2009 10:35 pm   Subject: "Snake" for AHK
@SoggyDog:
P or the Pause button to pause. I'll make it into a graphic button later.
Thanks;
I had tried Space and P;
I tried the P again (now that you've mentioned it) and it worked this time;
D ...
  Topic: "Snake" for AHK
Krogdor

Replies: 16
Views: 1587

PostForum: Scripts & Functions   Posted: Thu Aug 27, 2009 9:23 pm   Subject: "Snake" for AHK
Whoops, sorry, I forgot that I had used infogulch's SimpleArray library Mad
Sorry about that.

@SoggyDog:
P or the Pause button to pause. I'll make it into a graphic button later.
  Topic: "Snake" for AHK
Krogdor

Replies: 16
Views: 1587

PostForum: Scripts & Functions   Posted: Thu Aug 27, 2009 3:16 pm   Subject: "Snake" for AHK
Well, I was really bored yesterday, and felt like doing in something in AHK, so I whipped up an AHK port of Snake. Dunno if it's been done before, but anyway,

Relies on three standard libraries:
h ...
  Topic: Lyric Searcher
Krogdor

Replies: 18
Views: 846

PostForum: Scripts & Functions   Posted: Wed Aug 12, 2009 2:20 am   Subject: Lyric Searcher
I'd like to point out that instead of using StringSplit to remove spaces and then splicing it back together, you can just do
StringReplace, OutVariable, InVariable, %A_Space%, +, All
Which will auto ...
  Topic: Passing Arrays to a function
Krogdor

Replies: 6
Views: 267

PostForum: Ask for Help   Posted: Mon Jun 15, 2009 3:08 am   Subject: Passing Arrays to a function
colors = red`nblue`ngreen
StringSplit, color_array, colors, `n

process_array(color_array)

process_array(passed_array)
{
global
MsgBox % %passed_array%1
;MsgB ...
  Topic: WatchDirectory()
Krogdor

Replies: 35
Views: 5617

PostForum: Scripts & Functions   Posted: Sun Jun 14, 2009 9:24 pm   Subject: WatchDirectory()
Wish I could get this to work Crying or Very sad
You need to upgrade to the latest AHK version, which supports assume-static functions.
  Topic: Why does AutoHotkey Run command have this design goal?
Krogdor

Replies: 3
Views: 840

PostForum: Wish List   Posted: Sat Jun 13, 2009 3:05 am   Subject: Re: Why does AutoHotkey Run command have this design goal?
I know there are ugly workarounds, such as using %comspec%, which causes a DOS window to temporarily flash onto the screen.
You can run the window as hidden by specifying that in the Run options.
 
Page 1 of 93 Goto page 1, 2, 3 ... 91, 92, 93  Next
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group