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 19 matches
AutoHotkey Community Forum Index
Author Message
  Topic: Recursive Expressions
apocalypse~r

Replies: 1
Views: 226

PostForum: Wish List   Posted: Fri Jul 04, 2008 8:41 am   Subject: Recursive Expressions
when a variable is derefed as part of an expression, like this:
expression := "x"
x = 4
var := %expression%
it evaluates to 4, because that expression is basically the same as:
...
  Topic: Monster: evaluate math expressions in strings
apocalypse~r

Replies: 45
Views: 4949

PostForum: Scripts & Functions   Posted: Fri Jul 04, 2008 8:10 am   Subject: Monster: evaluate math expressions in strings

* another thing would be the automatic multiplication. for example 3a should be the same as 3*a, or 3pi the same as 3*pi.

the reason this wont work is because there would be no way for the script ...
  Topic: Monster: evaluate math expressions in strings
apocalypse~r

Replies: 45
Views: 4949

PostForum: Scripts & Functions   Posted: Fri Jul 04, 2008 8:07 am   Subject: hmm
it seems to be a sound and useful script, however, I think a simple patch to the ahk source code (allowing recursive expressions) would be much easier to use.
for example:
x = 2
y = 4
var := ...
  Topic: Make an ICON (.ico)
apocalypse~r

Replies: 1
Views: 508

PostForum: Scripts & Functions   Posted: Mon Jun 02, 2008 2:57 am   Subject: Make an ICON (.ico)
Just include these files in a script:
a_functions:

numbasechng(number, base, endbase = 10)
{
numfrmt = %a_formatfloat%
if (base > 64)
{
setformat, float ...
  Topic: Machine code functions: Bit Wizardry
apocalypse~r

Replies: 191
Views: 17219

PostForum: Scripts & Functions   Posted: Thu Mar 20, 2008 5:27 am   Subject: Do you know how much id give...
someone write a script that takes a function in a program or a dll or something and turns it into a hex string for use with the mcode function.
think: you could define any function no matter how comp ...
  Topic: debugmsgbox(...) function
apocalypse~r

Replies: 0
Views: 206

PostForum: Scripts & Functions   Posted: Tue Mar 11, 2008 11:54 pm   Subject: debugmsgbox(...) function
a helpful function.
since we all know that when we are debuging a script that handles lots of numbers and such, and something manages to go spectacularly wrong, we fill the script with messageboxes t ...
  Topic: Text bump creator
apocalypse~r

Replies: 0
Views: 1131

PostForum: Scripts & Functions   Posted: Sat Mar 08, 2008 11:19 am   Subject: Text bump creator
does some cool things. i think it mightve been done before though. heres mine anyway. ;
; ...
  Topic: NumBaseChng function v2.1: supports fractions, negatives
apocalypse~r

Replies: 5
Views: 520

PostForum: Scripts & Functions   Posted: Thu Mar 06, 2008 5:30 am   Subject: special thanks
thanks to laszlo, who showed me how to use the chr and asc built in functions to get rid of all the easy number to letter conversions.

edit**
v2.1 released, includes support for "0x" hex ...
  Topic: NumBaseChng function v2.1: supports fractions, negatives
apocalypse~r

Replies: 5
Views: 520

PostForum: Scripts & Functions   Posted: Tue Mar 04, 2008 5:35 am   Subject: NumBaseChng function v2.1: supports fractions, negatives
i can get rid of the horribly long character replacement subs, at least until we get to outrageously huge bases like 100+
  Topic: Base 10 to Base 36 Conversion
apocalypse~r

Replies: 18
Views: 1580

PostForum: Ask for Help   Posted: Tue Mar 04, 2008 5:25 am   Subject: Base 10 to Base 36 Conversion
it stops working when passed a float. i suggest:

ToBase(n,b)
{
; n >= 0, 1 < b <= 36
if n is not integer
return "error"
Return (n < b ? "" : ToBa ...
  Topic: Bouncywindow V1.1
apocalypse~r

Replies: 10
Views: 1323

PostForum: Scripts & Functions   Posted: Mon Mar 03, 2008 11:54 pm   Subject: updated to 1.2
simple update, some new features, including operating while the window is closed.
  Topic: NumBaseChng function v2.1: supports fractions, negatives
apocalypse~r

Replies: 5
Views: 520

PostForum: Scripts & Functions   Posted: Wed Feb 27, 2008 12:49 am   Subject: NumBaseChng function v2.1: supports fractions, negatives
converts any number (within the scripts number size limits) to and from any desired base between 2 and 64, including but not limited to decimal, hexadecimal, and binary. 0 - 9 are 0 - 9, a - z are 10 ...
  Topic: Bouncywindow V1.1
apocalypse~r

Replies: 10
Views: 1323

PostForum: Scripts & Functions   Posted: Fri Feb 22, 2008 12:20 am   Subject: undocumented stuff
just type F1 while its running for help theres a lot to learn about it
  Topic: Bouncywindow V1.1
apocalypse~r

Replies: 10
Views: 1323

PostForum: Scripts & Functions   Posted: Fri Feb 22, 2008 12:16 am   Subject: Bouncywindow V1.1
It makes things bouncy. you can choose what becomes bouncy, too. there are other special effects, like friction and gravity. and it comes to life if left alone for a while.

Updated to version 1 ...
  Topic: DualClip
apocalypse~r

Replies: 0
Views: 631

PostForum: Scripts & Functions   Posted: Thu Jan 10, 2008 5:10 am   Subject: DualClip
its a simple application that creates a second clipboard.
hotkeys:
CTRL + X: cut to clipboard
CTRL + C: copy to clipboard
CTRL + V: paste from clipboard
WIN + X: cut to other clipboard
WIN + C: ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group