| View previous topic :: View next topic |
| Author |
Message |
evandevon
Joined: 22 Apr 2008 Posts: 82
|
Posted: Wed Nov 11, 2009 2:23 pm Post subject: |
|
|
Hi!
I'm fairly new to AHK (1 year anniversary just past... but am beginning to need to port some of my scripts to work on Linux/Mac which led me here. My problem is I have no idea how to start installing IronAHK on my Vista machine. I have read the entire thread and don't quite understand what I'm supposed to do. (please forgive my noobiness all mighty ahk-L33Ts)
1. Do I need mono installed?
2. How do I install IronAHK from http://gitorious.org/ironahk ?
3. Once I install it in what IDE do I code? Do I need VisualStudio (I think I have an old version somewhere) Or does the unstable monodevelop for windows work fine?
This is the app I'm gonna try to port over for use on Linux/Mac...
http://www.autohotkey.com/forum/viewtopic.php?p=273061#273061
Any help is appreciated! (the simpler the better!)
Evs _________________ Inventing problems that need solutions...
Open Communicator
MouseTrainer |
|
| Back to top |
|
 |
JoeSchmoe
Joined: 17 Feb 2008 Posts: 303
|
Posted: Thu Nov 12, 2009 9:34 pm Post subject: |
|
|
Hi evandevon,
I can't speak for Titan, but based on the announcements they've made so far, I don't think that they've completed the beta version yet. Without the syntax compiler complete, you can't run AHK code yet. While we can still download the current C# code and compile it, it doesn't really do anything in terms of compiling and running AHK code. (It sounds like most of Rusty is functional, but I don't think it would help you much.)
You can read more in Titan's post at the top of this page:
http://www.autohotkey.com/forum/viewtopic.php?t=34421&start=59 |
|
| Back to top |
|
 |
evandevon
Joined: 22 Apr 2008 Posts: 82
|
Posted: Tue Nov 17, 2009 10:56 am Post subject: |
|
|
Oh Damn!
Thanks Joe for clarifying - I must have been rushing through the thread and missed the info. _________________ Inventing problems that need solutions...
Open Communicator
MouseTrainer |
|
| Back to top |
|
 |
Codybear - Not Logged In Guest
|
Posted: Thu Nov 19, 2009 9:54 pm Post subject: |
|
|
| Titan wrote: | | Thracx wrote: | | would you mind giving us a little update? | Sure. To understand what progress we are making I need to give an overview of the design.
IronAHK is split into two primary parts - Rusty and the script engine ("Scripting"). Rusty is the class library of commands (MsgBox, Send, GUI, DllCall, etc.) and can be used independently in any .NET application. The script engine is responsible for executing AutoHotkey syntax.
Within the script engine there are three components - parser, compiler and generator. The parser converts text code to special data objects, or tokens. The compiler is like an assembler, it reads the tokens from the parser and produces .NET bytecode. This is fundamentally different to AutoHotkey which parses and interprets each line of code every time; IronAHK works like a C#, Java or VB.NET compiler. I won't talk about the generator now since it is unimportant.
As for the progress, the parser is almost complete. The only remaining tasks here is ternary operator support and making sure it can handle all the different types of quirky ahk syntax. Rusty doesn't yet support GUI commands or window/control commands in Linux, but everything else works. The syntax compiler is the primary focus of development now, when this is ready we hope to release a beta version for more feedback and bug testing. |
Can't wait for the beta version!!
Thanks for all the work!
I've finally made the switch over to Linux, I've been wanting to for a while now,
and this is the only thing keeping me from truly enjoying linux. 
Thanks again!
And I'd be willing to help out as much as I can with any kind of beta/pre beta testing.
I already have what's available now installed, but just can't wait to be able to unleash IronAHK. |
|
| Back to top |
|
 |
polyethene
Joined: 11 Aug 2004 Posts: 5248 Location: UK
|
Posted: Fri Dec 18, 2009 8:19 pm Post subject: |
|
|
Version 0.1 (alpha)
This is a preview release. Hotkeys, GUIs and various commands do not work but all other kinds of syntax and some commands should. _________________ GitHub • Scripts • IronAHK • Contact by email not private message.
Last edited by polyethene on Sat Dec 19, 2009 10:31 pm; edited 1 time in total |
|
| Back to top |
|
 |
jethrow
Joined: 24 May 2009 Posts: 1907 Location: Iowa, USA
|
Posted: Fri Dec 18, 2009 8:23 pm Post subject: |
|
|
Now this is exciting . Thank you for your dedicated work Titan.
With that being said, I cannot get the Example.ia file to run. I keep getting the "IronAHK has encountered a problem and needs to close" window. I very well could be missing something though. Not sure if it helps, but under the Error Signature, one of the items is "P9: system.io.filenotfoundexception". I'm using Windows XP SP3. I'm not sure if you need to, but I installed Mono. _________________
- in case I forgot to smile
Basic Webpage Controls
COM Object Reference |
|
| Back to top |
|
 |
JoeSchmoe
Joined: 17 Feb 2008 Posts: 303
|
Posted: Sat Dec 19, 2009 1:19 am Post subject: |
|
|
Nice!
Thanks, Titan!
I get the same error as jethrow. |
|
| Back to top |
|
 |
polyethene
Joined: 11 Aug 2004 Posts: 5248 Location: UK
|
Posted: Sat Dec 19, 2009 10:39 am Post subject: |
|
|
| jethrow wrote: | | I cannot get the Example.ia file to run. I keep getting the "IronAHK has encountered a problem and needs to close" window. |
infogulch had the same problem on IRC but he said it would work if you ran the script with the dlls and the exe all in the same folder. Have you tried extracting the download zip and dragging and dropping Example.ia onto IronAHK.exe? It works on Windows 7, I will test it on XP later on.
On Windows you do not need Mono, only .NET which comes by default on XP SP2 and later. _________________ GitHub • Scripts • IronAHK • Contact by email not private message. |
|
| Back to top |
|
 |
jethrow
Joined: 24 May 2009 Posts: 1907 Location: Iowa, USA
|
Posted: Sat Dec 19, 2009 4:15 pm Post subject: |
|
|
| Titan wrote: | | Have you tried extracting the download zip and dragging and dropping Example.ia onto IronAHK.exe? | Yes, that's how I tried to run it. The command window flashed "Unhandled Exception:" and then a bunch of other stuff right before it closes. _________________
- in case I forgot to smile
Basic Webpage Controls
COM Object Reference |
|
| Back to top |
|
 |
polyethene
Joined: 11 Aug 2004 Posts: 5248 Location: UK
|
Posted: Sat Dec 19, 2009 10:31 pm Post subject: |
|
|
Version 0.1.1 (alpha)
Fixed file not found exception error messages. Thanks to infogulch for initially pointing out my mistake and you both for testing. _________________ GitHub • Scripts • IronAHK • Contact by email not private message. |
|
| Back to top |
|
 |
JoeSchmoe
Joined: 17 Feb 2008 Posts: 303
|
Posted: Sun Dec 20, 2009 5:27 am Post subject: |
|
|
| Thanks, that fixed it for me. |
|
| Back to top |
|
 |
HanClinto Guest
|
Posted: Mon Jan 18, 2010 3:24 pm Post subject: Fundamental porting issues to OS/X? |
|
|
I spent some time to get this up and running in OS/X yesterday. I used the tip from SVN, along with the latest version of Mono / MonoDevelop.
The simple examples worked, but when I tried to do more advanced stuff, I ran into a couple of issues.
It looks like the mouse handling stuff is still done through user32.dll, and as such is still Windows-only.
Also, the screen-analyzing functions (getPixel() and whatnot) use the Graphics.CopyFromScreen() method, and while that's supported on Mono under X11, it's not currently supported in OS/X in Mono (see CopyFromScreenMac() in Graphics.cs).
Exciting stuff so far though!
--clint |
|
| Back to top |
|
 |
|