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 16 matches
AutoHotkey Community Forum Index
Author Message
  Topic: checking if somethings an integer isn't working well for me.
conchfeld

Replies: 10
Views: 193

PostForum: Ask for Help   Posted: Tue Sep 01, 2009 6:23 pm   Subject: checking if somethings an integer isn't working well for me.
Its too niche to get millions of downloads haha, but I will post code. Here.

tempo := 120 ;default tempo
newValue := 4 ;default new value
newTempo := 120 ;default new tempo

; Gui, ...
  Topic: checking if somethings an integer isn't working well for me.
conchfeld

Replies: 10
Views: 193

PostForum: Ask for Help   Posted: Tue Sep 01, 2009 4:31 pm   Subject: checking if somethings an integer isn't working well for me.
It works now, guys! Thanks!

My little app is done.

http://joshuaevensen.com/Etc/RhythmicModulationAssistant.exe
  Topic: checking if somethings an integer isn't working well for me.
conchfeld

Replies: 10
Views: 193

PostForum: Ask for Help   Posted: Tue Sep 01, 2009 7:35 am   Subject: checking if somethings an integer isn't working well for me.
so...

isDivisible(value, divisor)
{
msgbox is %value% divided by %divisor% an integer?

var := value / divisor

if var is integer
msgBox yes, %value% is evenly divisible b ...
  Topic: checking if somethings an integer isn't working well for me.
conchfeld

Replies: 10
Views: 193

PostForum: Ask for Help   Posted: Tue Sep 01, 2009 7:04 am   Subject: checking if somethings an integer isn't working well for me.
ok so heres my script.

tempo := 120 ;default tempo
newValue := 4 ;default new value
newTempo := 120 ;default new tempo

; Gui, sub-command [, Param2, Param3, Param4]


Gu ...
  Topic: XBox 360 controller --> midi controller with AHK
conchfeld

Replies: 2
Views: 1927

PostForum: Scripts & Functions   Posted: Sat Jan 17, 2009 7:08 pm   Subject: XBox 360 controller --> midi controller with AHK
Sorry for not responding. This was my first "programming" project, such as it is, and while I think my actual system is musically sound, the code could really use a lot of optimization. SO ...
  Topic: XBox 360 controller --> midi controller with AHK
conchfeld

Replies: 2
Views: 1927

PostForum: Scripts & Functions   Posted: Mon Nov 24, 2008 2:13 pm   Subject: XBox 360 controller --> midi controller with AHK
http://www.joshuaevensen.com/apps/XMid.zip

; XBOX 360 CONTROLLER --> MIDI CONTROLLER (Chordal Focus)
;=========================================================
;======================= ...
  Topic: Having trouble turning floating point into integer
conchfeld

Replies: 4
Views: 537

PostForum: Ask for Help   Posted: Thu Sep 25, 2008 7:03 pm   Subject: Having trouble turning floating point into integer
Ok another question now though.

ZWatch:
if ZWatchEnable = 1
{
getkeystate, LeftZ, JoyZ
if LeftZ between 51 and 97
{
Setformat, float, 0.0
CCWait:= -1(( ...
  Topic: Having trouble turning floating point into integer
conchfeld

Replies: 4
Views: 537

PostForum: Ask for Help   Posted: Thu Sep 25, 2008 6:15 pm   Subject: Having trouble turning floating point into integer
Damn, you guys are prompt. This community is really great. Every question I've had has been answered within like a few hours.
  Topic: Having trouble turning floating point into integer
conchfeld

Replies: 4
Views: 537

PostForum: Ask for Help   Posted: Thu Sep 25, 2008 6:00 pm   Subject: Having trouble turning floating point into integer
I'd like to make the period for Settimer a variable in a script, but AHK wont let me.


CCADectimer:= 100
settimer, CCADecrease, CCADectimer[/code]

<edit> most recent post updated wit ...
  Topic: MIDI Output from AHK
conchfeld

Replies: 52
Views: 10877

PostForum: Scripts & Functions   Posted: Wed Sep 24, 2008 6:21 am   Subject: MIDI Output from AHK
Thanks man. That took a little bit of studying on my part to decipher, but you solved my problem.
  Topic: trouble with variables containing another variable
conchfeld

Replies: 8
Views: 421

PostForum: Ask for Help   Posted: Tue Sep 23, 2008 5:31 am   Subject: trouble with variables containing another variable
Got it all figured out. Thanks.
  Topic: MIDI Output from AHK
conchfeld

Replies: 52
Views: 10877

PostForum: Scripts & Functions   Posted: Tue Sep 23, 2008 5:31 am   Subject: MIDI Output from AHK
So I've been using this library a lot and it is really fantastic. Thanks both of you guys for working so hard on it. Been having huge success with it, but theres one thing thats got me stumped, so I ...
  Topic: trouble with variables containing another variable
conchfeld

Replies: 8
Views: 421

PostForum: Ask for Help   Posted: Sun Sep 21, 2008 5:25 pm   Subject: trouble with variables containing another variable
thanks guys, but again im new to all this so i dont quite know what those two suggestions mean.
  Topic: trouble with variables containing another variable
conchfeld

Replies: 8
Views: 421

PostForum: Ask for Help   Posted: Sun Sep 21, 2008 4:24 pm   Subject: trouble with variables containing another variable
Alright, so another problem now.

Velocity := 100

CheckVel:
GetKeyState, Y, Joyy ; check left stick Y
GetKeyState, X, Joyx ; check left stick X

if Y > 55 ; if the left stick ...
  Topic: trouble with variables containing another variable
conchfeld

Replies: 8
Views: 421

PostForum: Ask for Help   Posted: Sun Sep 21, 2008 3:28 pm   Subject: trouble with variables containing another variable
Oh ok awesome I will try that out. What does initialize mean in this context?

Oh wait, I get it. Yeah, that was actually a mistake-- I renamed the variable to TTon but forgot to change it in the ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group