 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
Dutchguy69 Guest
|
Posted: Sun Jan 25, 2009 4:11 pm Post subject: |
|
|
I have done subversion checkout via :
svn checkout http://ironahk.googlecode.com/svn/trunk/ ironahk-read-only
then simply executed the make command which produces the iak.exe
| Code: | ironahk-read-only # make
mkdir -p "./Rusty/bin/Release/"
gmcs -optimize -warn:1 -target:library "-out:./Rusty/bin/Release/IronAHK.Rusty.dll" "-doc:./Rusty/bin/Release/IronAHK.Rusty.xml" -unsafe+ -r:System.Drawing,System.Windows.Forms "-recurse:./Rusty/*.cs"
./Rusty/Window.cs(107,21): warning CS1574: XML comment on `IronAHK.Rusty.Core.DetectHiddenText(string)' has cref attribute `IfWinExist' that could not be resolved
Compilation succeeded - 1 warning(s)
cp -f -p "./Rusty/license.txt" "./Rusty/bin/Release/"
mkdir -p "./Scripting/bin/Release/"
cp -f -p "./Rusty/bin/Release/"* "./Scripting/bin/Release/"
gmcs -optimize -warn:1 -target:library "-out:./Scripting/bin/Release/IronAHK.Scripting.dll" "-r:./Rusty/bin/Release/IronAHK.Rusty.dll" "-recurse:./Scripting/*.cs"
./Scripting/AHKCodeProvider.cs(19,39): warning CS0672: Member `IronAHK.Scripting.AHKCodeProvider.CreateCompiler()' overrides obsolete member `System.CodeDom.Compiler.CodeDomProvider.CreateCompiler()'. Add the Obsolete attribute to `IronAHK.Scripting.AHKCodeProvider.CreateCompiler()'
/usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll (Location of the symbol related to previous warning)
./Scripting/AHKCodeProvider.cs(21,40): warning CS0672: Member `IronAHK.Scripting.AHKCodeProvider.CreateGenerator()' overrides obsolete member `System.CodeDom.Compiler.CodeDomProvider.CreateGenerator()'. Add the Obsolete attribute to `IronAHK.Scripting.AHKCodeProvider.CreateGenerator()'
/usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll (Location of the symbol related to previous warning)
Compilation succeeded - 2 warning(s)
mkdir -p "./IronAHK/bin/Release/"
cp -f -p "./Scripting/bin/Release/"* "./IronAHK/bin/Release/"
gmcs -optimize -warn:1 -target:exe "-out:./IronAHK/bin/Release/iak.exe" -unsafe+ "-win32icon:./IronAHK/favicon.ico" "-r:./Rusty/bin/Release/IronAHK.Rusty.dll" "-r:./Scripting/bin/Release/IronAHK.Scripting.dll" "-recurse:./IronAHK/*.cs" |
|
|
| Back to top |
|
 |
polyethene
Joined: 11 Aug 2004 Posts: 5248 Location: UK
|
Posted: Tue Jan 27, 2009 4:11 pm Post subject: Re: hotkey functionality |
|
|
| Chris wrote: | | use some AutoIt v3 code (less than 5% | Ah, thanks for setting the record straight.
| Dutchguy69 wrote: | | Is the hotkey functionality already available in the current version or is maybe something not completely right. | The hotkey, mouse and keyboard bindings for Windows is there if you want to use it in your C# programs. A cross platform abstract class with support for X (written by Tobias92) will be included after the syntax engine is complete.
| bits wrote: | | Can you share (commands) on how exactly you compiled? | You first need Mono installed, instructions for your distro is on their download page. GNU Make and Subversion is also required, yum install make subversion. After this just execute the lines of code in my previous post or Dutchguy69s post.
| twhyman wrote: | | Can you give us a progress report? | I've been committing less frequently due to other Java and PHP projects I'm working on, and college
I made an update to the expression parser today which is the only outstanding task before IronAHK is actually usable.
I'm not going to give a time scale because I suck at keeping to deadlines, but it shouldn't be long.
Also thanks to everyone who offered help in IRC/PM with testing on Mac. _________________ GitHub • Scripts • IronAHK • Contact by email not private message. |
|
| Back to top |
|
 |
silveredge78
Joined: 25 Jul 2006 Posts: 481 Location: Midwest, USA
|
Posted: Fri Jan 30, 2009 5:43 pm Post subject: |
|
|
Not sure if this is the thread to ask this or not...
I've seen reference to your IronAHK and it looks interesting. I saw specific mention of SQL support. I use AHK for this, but have come across some oddities that make it cumbersome without using a third party app (which is cumbersome in it's own way).
How similar is IronAHK to AHK in terms of commands, syntax, structure, etc? I do not know C or any variant. I like AHK cause it is basically English and quite intuitive for me.
How does the SQL support work? I'm definitely interested in the SQL support as that is something that I feel is lacking in AHK natively.
Also, what is the level of help using IronAHK here on these forums compared to AHK? Are they similar enough that people can still help me out?
Also, where is the download link for the Windows platform version? The google page doesn't seem to have it, or else it doesn't make sense to me.
Sorry for all the questions. And in case it matters, Windows XP SP2/SP3, Windows 2000 server are the platforms I work on. Thanks in advance! _________________ SilverEdge78 |
|
| Back to top |
|
 |
polyethene
Joined: 11 Aug 2004 Posts: 5248 Location: UK
|
Posted: Sat Jan 31, 2009 4:16 pm Post subject: |
|
|
| silveredge78 wrote: | | How similar is IronAHK to AHK in terms of commands, syntax, structure, etc? I do not know C or any variant. I like AHK cause it is basically English and quite intuitive for me. | As far as scripting is concerned it should be exactly the same with a few enhancements such as arrays, native JSON and interchangeable function/command syntax to invoke methods.
| silveredge78 wrote: | | How does the SQL support work? I'm definitely interested in the SQL support as that is something that I feel is lacking in AHK natively. | Initially I plan on SQLite, MSSQL/Express and MySQL but in future any other ADO.NET provider can be added. I may copy the PDO syntax for database connectivity.
| silveredge78 wrote: | | Also, what is the level of help using IronAHK here on these forums compared to AHK? Are they similar enough that people can still help me out? | At it's current state it's only usable by other C# programmers. Making it newb friendly and close to vanilla AHK is high priority however.
| silveredge78 wrote: | | Also, where is the download link for the Windows platform version? The google page doesn't seem to have it, or else it doesn't make sense to me. | It's in SVN only at the moment, sorry.
| silveredge78 wrote: | | Sorry for all the questions. And in case it matters, Windows XP SP2/SP3, Windows 2000 server are the platforms I work on. Thanks in advance! | Since XP SP1 all versions of Window comes tied with .NET, so it should be fine.
-------------------------
In true open source fashion I've been documenting the project more than I have been working on the code. Here is a semantic flowchart I drew up today of the processes involved from the moment IronAHK is started to when the script executes:
 _________________ GitHub • Scripts • IronAHK • Contact by email not private message. |
|
| Back to top |
|
 |
twhyman
Joined: 07 Dec 2005 Posts: 339
|
Posted: Sat Jan 31, 2009 5:55 pm Post subject: |
|
|
Hi,
Its great to know that the syntax will be kept
I would really would love to see compiler like ahk2exe for Iron on win32 and linux.
Is it possible make compiling as easy as we got now?
Thanks,
Twhyman _________________ (\__/) This is Bunny.
(='.'=) Cut, copy, and paste bunny onto your sig.
(")_(") Help Bunny gain World Domination.
|
|
| Back to top |
|
 |
polyethene
Joined: 11 Aug 2004 Posts: 5248 Location: UK
|
Posted: Fri Feb 27, 2009 8:54 pm Post subject: |
|
|
A brief progress update for those still following this project...
My last few commits have brought some non-trivial structural changes which should improve the maintainability of the code base. Tobias has written X11 hooks which uses polling to capture events in GTK windows that use non-standard registers such as gnome-do and the awesome bar in Firefox. I have also enhanced the Makefile with un/install targets, still no configure script yet sorry. For debian this only requires the mono-2.0-devel package and runs well in lenny stable (no backports). Assemblies are not installed into the GAC and the APIs are not frozen, for this reason some may wish to use pkg-config, xbuild or mdtool (monodevelop) for specific compilation methods and local installations.
Following Tobias' recommendation I have written a draft roadmap for the project. I stress this is a rough plan and will change often during the course of development. Some may be interested to note that supporting the DLR is on the agenda as it will open up exciting new possibilities for seasoned .NET programmers.
There are two primary outstanding tasks before IronAHK is usable as a beta product. First being the parser which is responsible for tokenizing and generating construct symbols, pragmas and ASTs when given a text script. This is mostly complete and is what I am trying to finalize at the moment. The second part is the compiler which converts this information into CIL or native bytecode depending on AOT vs JIT preference. Tobias is in charge of this but he cannot do much until my part is fully ready. I had intended to implement System.CodeDom for IronAHK.Scripting.Symbols but this means adapting to a new set of interfaces which could take an equal amount of development time.
As always I will not give a time schedule but I would expect a working beta release soon. _________________ GitHub • Scripts • IronAHK • Contact by email not private message. |
|
| Back to top |
|
 |
IsNull
Joined: 10 May 2007 Posts: 593 Location: .switzerland
|
Posted: Tue Mar 03, 2009 8:24 pm Post subject: |
|
|
| Quote: | | A brief progress update for those still following this project... | I'm sure, there are many people who follow your project.
A little question: Is it planed to have all AHK Commands as Functions implemented, and not this mix as we hav it at the moment in the original AHK? For compatibilty, u may have to support the command syntax as well, but I (and many others I think) like to have a clear structed, function-only language.
What's you point of view in this question? _________________ http://securityvision.ch
AHK 2D GAME ENGINE |
|
| Back to top |
|
 |
polyethene
Joined: 11 Aug 2004 Posts: 5248 Location: UK
|
Posted: Wed Mar 04, 2009 2:31 am Post subject: |
|
|
| IsNull wrote: | | Is it planed to have all AHK Commands as Functions implemented, and not this mix as we hav it at the moment in the original AHK? | Both methods can be used, i.e. the following are all valid:
| Code: | MsgBox hi
MsgBox("bye")
LV_ModifyCol 2, Auto, %NewTitle%
MyFunction("xyz", var + 2)
MyFunction, xyz, % var + 2 |
I am aware of certain exceptions like GetKeyState and implicit expression mode for select parameters - these will be handled appropriately by the parser. _________________ GitHub • Scripts • IronAHK • Contact by email not private message. |
|
| Back to top |
|
 |
NekoNekoNeko Guest
|
Posted: Tue Mar 10, 2009 9:08 am Post subject: |
|
|
Nice! I've wanted to write more complex AHK scripts, but found I craved the power of a proper language.
I've also wanted to script gui things in Linux rather than win32, but there isn't anything handy (other than scraping through XTEST, vnc sources, seeing how Gnome handles keybindings etc...) |
|
| Back to top |
|
 |
JoeSchmoe
Joined: 17 Feb 2008 Posts: 303
|
Posted: Tue Apr 28, 2009 5:59 pm Post subject: Any news? |
|
|
| I know it will take a while to get the project to a point where mere mortals such as myself will be able to use it, but I still try to check in on how it is doing periodically. When I visited your code repository, I was happy to see that there have been recent changes. Do you have any news to report? I'm very eager to hear how it is going... |
|
| Back to top |
|
 |
Dutchguy69 Guest
|
Posted: Wed Jun 03, 2009 6:48 pm Post subject: updates |
|
|
| Such a shame that there have been no updates recently. Really looking forward to the hotkey functionality |
|
| Back to top |
|
 |
JoeSchmoe
Joined: 17 Feb 2008 Posts: 303
|
Posted: Thu Jun 04, 2009 3:36 am Post subject: |
|
|
Hi Dutchguy,
I'm really excited about this project, so I was pretty worried, too. Then I poked around the Google Code site and it turns out that they are still working on it:
http://code.google.com/p/ironahk/source/list
Woohoo! |
|
| Back to top |
|
 |
rafleo
Joined: 16 Jul 2007 Posts: 46 Location: Bremen, Germany
|
Posted: Sat Sep 19, 2009 9:57 am Post subject: Website |
|
|
Hey there,
nice one!
let me know when you guys want a nice, neat little website for this, I can create and host it for you if youse want. |
|
| Back to top |
|
 |
Thracx
Joined: 12 Mar 2007 Posts: 14
|
Posted: Tue Oct 13, 2009 5:07 pm Post subject: |
|
|
| Titan wrote: | | As always I will not give a time schedule but I would expect a working beta release soon. |
We certainly understand, but would you mind giving us a little update?
I happened upon this thread just now and am really excited. I've come to really love C# and the .NET framework, and the same goes for AHK. You have no idea how great it is to hear about his project of yours!
If you have a mailing list for developers then please PM me and I'll give you my email address - I might be able to help you test or fix bugs, and I'm particularly interested in helping with the SQL support feature. _________________ -Thracx
"Man wants to know, and when he ceases to do so, he is no longer a man."
-Fridtjof Nansen |
|
| Back to top |
|
 |
polyethene
Joined: 11 Aug 2004 Posts: 5248 Location: UK
|
Posted: Sun Oct 25, 2009 3:38 pm Post subject: |
|
|
| 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. _________________ GitHub • Scripts • IronAHK • Contact by email not private message. |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|