AutoHotkey Community

It is currently May 24th, 2012, 7:04 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 27 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: February 26th, 2007, 4:07 pm 
Offline

Joined: February 14th, 2005, 4:05 pm
Posts: 4710
Location: Boulder, CO
The script here is very short, but slower and cannot be compiled-run without AHK installed on the target machine. The other script is complex, and only handles arithmetic expressions, but does not have the other limitations. I did not see much interest, anyway. I am using an even more complex variant (which handles hex, user defined operators, etc.), which is really handy to convert between hex and decimal, do logic and math, etc. If someone is interested, he has to read the documentation, unfortunately.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 26th, 2007, 4:12 pm 
majkinetor wrote:
why didn't you provide the above script using that function to evaluate expressions ?
The original message was written in October 2005...


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 26th, 2007, 8:42 pm 
Offline

Joined: February 20th, 2007, 1:37 pm
Posts: 198
Location: D.C.
Grumpy wrote:
majkinetor wrote:
why didn't you provide the above script using that function to evaluate expressions ?
The original message was written in October 2005...


Majkinator is just mad because he couldn't use it to pick up chicks either. I thought you said chocolate, friend! Big chocolate!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 26th, 2007, 8:54 pm 
Offline

Joined: February 20th, 2007, 1:37 pm
Posts: 198
Location: D.C.
Laszlo wrote:
I did not see much interest, anyway.


Only there do I disagree with you. A freeware expression evaluator like this is a hot item! Or am I just a nerd?

Quote:
I am using an even more complex variant (which handles hex, user defined operators, etc.), which is really handy to convert between hex and decimal, do logic and math, etc.

I don't suppose you can show us this one!
Quote:
If someone is interested, he has to read the documentation, unfortunately.

Real men don't need documentation. Documentation is for those people, well, who can read!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 26th, 2007, 11:27 pm 
Offline

Joined: February 14th, 2005, 4:05 pm
Posts: 4710
Location: Boulder, CO
ribbet.1 wrote:
I don't suppose you can show us this [more advanced evaluator]
I will, but recently I started to enhance it further, and it is under construction now. The new features include base-2 constants and output, assignments and relational operators. They don't work perfectly, yet. Any wishes (besides impressing gals)?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 26th, 2007, 11:50 pm 
Offline

Joined: February 20th, 2007, 1:37 pm
Posts: 198
Location: D.C.
Laszlo wrote:
ribbet.1 wrote:
I don't suppose you can show us this [more advanced evaluator]
I will, but recently I started to enhance it further, and it is under construction now. The new features include base-2 constants and output, assignments and relational operators. They don't work perfectly, yet. Any wishes (besides impressing gals)?


BPM to HZ? No, really, ATM I only need something simple. Even the one that sends text to the Windows calculator would be adequate, and universal to Windows users. So I don't have any requests, but hope to do one myself still, using a snippet you have been so good as to provide.

But right now I'm simply building a lengthy script to fill in boilerplate for the transcript I'm going to be working on tomorrow. Else I might play with this now. Once I create some of my basic boilerplate scripts I should be able to play w/ AHK more.

BTW, I used to use Rik Blok's "Toolbar," a VB tool to do this stuff, in combination with Corel WP's extensive keyboard macro scripting capabilities. I think AHK is hopefully going to replace them both. Toolbar is already history, as Dragon Naturally Speaking interferes with it. Dragon doesn't appear to have a problem w/ AHK.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 27th, 2007, 8:19 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
Quote:
Majkinator is just mad because he couldn't use it to pick up chicks either.


No, I am mad because I expect more from proffesor Laszlo. Why should only he use advanced version with custom operators and hex. I want it to. I don't like unfinished things.

Proffesor, please ! 8)

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 27th, 2007, 8:30 pm 
Offline

Joined: February 14th, 2005, 4:05 pm
Posts: 4710
Location: Boulder, CO
I need a few more days for testing the monster version. I will post it under a new thread. It is hard to say when something is finished. You can always add more functions. At some point further additions make the script worse (slower, larger, buggy, harder to maintain), so you could say a previous version was the "finished" variant. I asked, what people would use, because removing ballast is hard.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 27th, 2007, 10:03 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
Can't you just have some, .... scientific mode ? More functions a little slower, but much more power :)

Little gui with 2 buttons - N00bs Click Here | Serious Math :D 8)

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 28th, 2007, 1:13 am 
Offline

Joined: February 14th, 2005, 4:05 pm
Posts: 4710
Location: Boulder, CO
OK. I posted the monster version here. It is complex and most likely buggy. I will fix it, as problems arise.
majkinetor wrote:
Can't you just have some, .... scientific mode ? More functions a little slower, but much more power :)
I think this version is the easiest to use, except for elementary school pupils.
majkinetor wrote:
Little gui with 2 buttons - N00bs Click Here | Serious Math :D 8)
I found GUI calculators harder to use, but the Windows Power Toy Calculator should be sufficient, if you prefer it that way.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 28th, 2007, 9:09 am 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
thank you :D

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 28th, 2007, 11:35 am 
Offline

Joined: December 27th, 2005, 1:46 pm
Posts: 6837
Location: France (near Paris)
Laszlo wrote:
OI found GUI calculators harder to use
Me too, it is stupid to click on buttons (except as shortcut to function names, at worse) while typing on the numeric keyboard is much faster...
My favorite calculator is currently ECW Expression Calculator, which let you type expressions and evaluate them in real time, showing the result in various bases (10, 16, 2...). Unfortunately, the original Web site is down, but the program can be found in various download sites.

_________________
Image vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 27 posts ]  Go to page Previous  1, 2

All times are UTC [ DST ]


Who is online

Users browsing this forum: Exabot [Bot], lblb and 14 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group