| View previous topic :: View next topic |
| Author |
Message |
polyethene
Joined: 11 Aug 2004 Posts: 5248 Location: UK
|
Posted: Sun Dec 21, 2008 1:51 am Post subject: Re: wait a min... |
|
|
| jeffrey296 wrote: | | what are the features (other than smaller file size) that make it better in Windows? | Portability is the main concern here as some of us would like to run ahk scripts in Linux without resorting to perl, php-gtk or any other language. Among the (purely coincidental) advantages, Windows users may be particularly interested in the following:
- Increased performance with syntax jitted to CIL directly or via CSharpCodeProvider for rigorous optimizations i.e. not interpreted like AutoHotkey
- Compiled scripts can't be reverse engineered to their source, only CLR bytecode
- Security and reliability which managed code has to offer
- Scalability (in future) since .NET makes threading, vector computations, SIMD and other hardware level API a lot easier
- Native interoperability with other .NET assemblies and COM - I personally find reflection in .NET easier than Java
- Modular code base for custom versions or use from other programming languages
- Using the most liberal FOSS license means anyone is allowed to use our code for commercial purposes
- Our code is completely original whereas about 40% of AutoHotkey comes from the AutoIt v2 code base
- Collaborative effort - submit enough high quality patches in SVN and you can join the team
| jeffrey296 wrote: | | Is the .NET framework the only change (projected or current)? | A main development goal is to have 100% compatibility with AutoHotkey. After a version 1 release we plan to develop extensions.
| jeffrey296 wrote: | | I know someone who has a Mac who would be happy to test any pre-release versions you need to test | You may want to point them to #ahk, if they have time I'll be in touch. _________________ GitHub Scripts IronAHK Contact by email not private message. |
|
| Back to top |
|
 |
jeffrey296
Joined: 18 Jul 2008 Posts: 8 Location: Virginia
|
Posted: Sun Dec 21, 2008 2:08 am Post subject: |
|
|
Okay, I didn't understand half of what you said, but I'm glad to see it is improved (I use Linux primarily for coding and am happy to see a cross-platform version of AHK at all, but I was curious as to whether I should keep using the regular in Windows or switch to the new when a full release comes out--I'm gonna switch to the new one). Would non-C users be able to still code IronAHK just as simply as AHK was (with the exact same commands)? If not (or even if so), how exactly do you code it? Is it something like Python where you just import a module and then you just write it in Python?
Thanks for the quick reply by the way. _________________ Jeff |
|
| Back to top |
|
 |
polyethene
Joined: 11 Aug 2004 Posts: 5248 Location: UK
|
Posted: Sun Dec 21, 2008 11:25 am Post subject: |
|
|
I apologize for the overly technical description, when we release version 1 hopefully someone can help me write documentation to explain the differences and benchmarks in plain English to help Windows users decide if it's worth switching.
| jeffrey296 wrote: | | Would non-C users be able to still code IronAHK just as simply as AHK was (with the exact same commands)? | Yes, we aim to have absolute parity with AutoHotkey for the first release such that you can replace AutoHotkey.exe with the binaries from IronAHK without further change and your scripts would still run as expected. _________________ GitHub Scripts IronAHK Contact by email not private message. |
|
| Back to top |
|
 |
haichen
Joined: 05 Feb 2007 Posts: 189 Location: Osnabrόck, Germany
|
Posted: Sun Dec 21, 2008 1:42 pm Post subject: |
|
|
| Will compiled scripts be portable to another system with .NET? |
|
| Back to top |
|
 |
polyethene
Joined: 11 Aug 2004 Posts: 5248 Location: UK
|
Posted: Sun Dec 21, 2008 2:05 pm Post subject: |
|
|
Yes of course, you can run your programs on OpenSolaris for example if you wanted to  _________________ GitHub Scripts IronAHK Contact by email not private message. |
|
| Back to top |
|
 |
jeffrey296
Joined: 18 Jul 2008 Posts: 8 Location: Virginia
|
Posted: Sun Dec 21, 2008 3:26 pm Post subject: Great! |
|
|
Ok great! Thanks for asking our relentless questions and for keeping us updated even when we don't ask questions. If there's any way I can help, please let me know. _________________ Jeff |
|
| Back to top |
|
 |
tinku99
Joined: 03 Aug 2007 Posts: 513 Location: Houston, TX
|
Posted: Mon Dec 22, 2008 1:58 am Post subject: Example program for IronAhk |
|
|
I did not find a script object, replaced Script with core.
Replace the main method in program.cs with the following
| Code: |
public static int Main(string[] args)
{
Rusty.Core script = new Core();
script.MouseMove(400, 200, 80, true);
Console.WriteLine("Press enter to continue...");
Console.ReadLine();
return 0;
}
|
Additional info:
Windows XP 32bit
Visual Studio 2008 Express
Framework 2.0 or 3.5 |
|
| Back to top |
|
 |
tpop
Joined: 23 Dec 2008 Posts: 1
|
Posted: Tue Dec 23, 2008 5:31 pm Post subject: tpop |
|
|
I can also test the code on the lastest Mac env: Mac OS X 10.5.5 running on intel 64bit cpu that can test the build.
If you provide me with the instructions to test I will do it. |
|
| Back to top |
|
 |
Frankie
Joined: 02 Nov 2008 Posts: 2850
|
Posted: Wed Dec 24, 2008 1:13 pm Post subject: |
|
|
What are you planing on using for documentation? Are you going to use the AHK help file or make your own? _________________ aboutscript ⍟ apps ⍟ scripts
Any code ⇈ above ⇈ requires AutoHotkey_L to run |
|
| Back to top |
|
 |
polyethene
Joined: 11 Aug 2004 Posts: 5248 Location: UK
|
Posted: Fri Dec 26, 2008 9:39 pm Post subject: Re: tpop |
|
|
| tpop wrote: | | I can also test the code on the lastest Mac | Thanks I may contact some time in future.
| Frankie wrote: | | Are you going to use the AHK help file | Probably not, I may just document the technical differences to save time. _________________ GitHub Scripts IronAHK Contact by email not private message. |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10716
|
Posted: Sun Dec 28, 2008 8:42 pm Post subject: Re: wait a min... |
|
|
| Titan wrote: | | Our code is completely original whereas about 40% of AutoHotkey comes from the AutoIt v2 code base | Just to set the record straight, the above is not true. AutoHotkey does not use any AutoIt v2 source code. However, it does use some AutoIt v3 code (less than 5% on a lines-of-code basis) for the particular commands listed at www.autohotkey.com/forum/viewtopic.php?p=19710#19710 |
|
| Back to top |
|
 |
Ice_Tea
Joined: 12 Jan 2008 Posts: 131
|
Posted: Tue Dec 30, 2008 9:10 am Post subject: |
|
|
| Titan wrote: | | I apologize for the overly technical description, when we release version 1 hopefully someone can help me write documentation to explain the differences and benchmarks in plain English to help Windows users decide if it's worth switching. |
I'd like to help out... or just contribute to IA; with stuff that I can help you with... _________________
 |
|
| Back to top |
|
 |
Dutchguy69 Guest
|
Posted: Wed Jan 07, 2009 5:39 pm Post subject: hotkey functionality |
|
|
I have downloaded the source yesterday and have compiled on openSUSE 11.0, with mono-core and mono-devel installed. I'm getting 2 warnings during the compilation.
When I try to run the binary from the binary directory with a source file that contains hotkey definitions I get the following result
mono iak.exe AutoHotkey.ini
Usage: iak.exe [-target:(library|exe|winexe)] [-optimize] [-usrlib:path] [-out:filename] <source file>
Is the hotkey functionality already available in the current version or is maybe something not completely right. |
|
| Back to top |
|
 |
bits
Joined: 17 Nov 2006 Posts: 10
|
Posted: Tue Jan 20, 2009 8:19 pm Post subject: Re: hotkey functionality |
|
|
| Dutchguy69 wrote: | | I have downloaded the source yesterday and have compiled on openSUSE 11.0 |
I too am using OpenSUSE 11.1.
Can you share (commands) on how exactly you compiled? |
|
| Back to top |
|
 |
twhyman
Joined: 07 Dec 2005 Posts: 339
|
Posted: Sun Jan 25, 2009 2:21 pm Post subject: |
|
|
Hi,
Can you give us a progress report?
Thanks,
Twhyman _________________ (\__/) This is Bunny.
(='.'=) Cut, copy, and paste bunny onto your sig.
(")_(") Help Bunny gain World Domination.
|
|
| Back to top |
|
 |
|