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 

IronAHK - .NET port of AutoHotkey for Windows, Linux, Mac...
Goto page Previous  1, 2, 3, 4, 5, 6  Next
 
This topic is locked: you cannot edit posts or make replies.    AutoHotkey Community Forum Index -> General Chat
View previous topic :: View next topic  
Author Message
polyethene



Joined: 11 Aug 2004
Posts: 5248
Location: UK

PostPosted: Sun Dec 21, 2008 1:51 am    Post subject: Re: wait a min... Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
jeffrey296



Joined: 18 Jul 2008
Posts: 8
Location: Virginia

PostPosted: Sun Dec 21, 2008 2:08 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
polyethene



Joined: 11 Aug 2004
Posts: 5248
Location: UK

PostPosted: Sun Dec 21, 2008 11:25 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
haichen



Joined: 05 Feb 2007
Posts: 189
Location: Osnabrόck, Germany

PostPosted: Sun Dec 21, 2008 1:42 pm    Post subject: Reply with quote

Will compiled scripts be portable to another system with .NET?
Back to top
View user's profile Send private message
polyethene



Joined: 11 Aug 2004
Posts: 5248
Location: UK

PostPosted: Sun Dec 21, 2008 2:05 pm    Post subject: Reply with quote

Yes of course, you can run your programs on OpenSolaris for example if you wanted to Razz
_________________
GitHub • Scripts • IronAHK • Contact by email not private message.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jeffrey296



Joined: 18 Jul 2008
Posts: 8
Location: Virginia

PostPosted: Sun Dec 21, 2008 3:26 pm    Post subject: Great! Reply with quote

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
View user's profile Send private message Send e-mail
tinku99



Joined: 03 Aug 2007
Posts: 513
Location: Houston, TX

PostPosted: Mon Dec 22, 2008 1:58 am    Post subject: Example program for IronAhk Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
tpop



Joined: 23 Dec 2008
Posts: 1

PostPosted: Tue Dec 23, 2008 5:31 pm    Post subject: tpop Reply with quote

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
View user's profile Send private message
Frankie



Joined: 02 Nov 2008
Posts: 2850

PostPosted: Wed Dec 24, 2008 1:13 pm    Post subject: Reply with quote

What are you planing on using for documentation? Are you going to use the AHK help file or make your own?
_________________
aboutscriptappsscripts
Any code ⇈ above ⇈ requires AutoHotkey_L to run
Back to top
View user's profile Send private message
polyethene



Joined: 11 Aug 2004
Posts: 5248
Location: UK

PostPosted: Fri Dec 26, 2008 9:39 pm    Post subject: Re: tpop Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10716

PostPosted: Sun Dec 28, 2008 8:42 pm    Post subject: Re: wait a min... Reply with quote

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
View user's profile Send private message Send e-mail
Ice_Tea



Joined: 12 Jan 2008
Posts: 131

PostPosted: Tue Dec 30, 2008 9:10 am    Post subject: Reply with quote

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
View user's profile Send private message
Dutchguy69
Guest





PostPosted: Wed Jan 07, 2009 5:39 pm    Post subject: hotkey functionality Reply with quote

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

PostPosted: Tue Jan 20, 2009 8:19 pm    Post subject: Re: hotkey functionality Reply with quote

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
View user's profile Send private message
twhyman



Joined: 07 Dec 2005
Posts: 339

PostPosted: Sun Jan 25, 2009 2:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    AutoHotkey Community Forum Index -> General Chat All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6  Next
Page 3 of 6

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group