AutoHotkey Community

It is currently May 26th, 2012, 2:50 pm

All times are UTC [ DST ]




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 87 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
 Post subject:
PostPosted: January 25th, 2009, 5:11 pm 
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"


Report this post
Top
  
Reply with quote  
 Post subject: Re: hotkey functionality
PostPosted: January 27th, 2009, 5:11 pm 
Offline
User avatar

Joined: August 11th, 2004, 1:47 am
Posts: 5347
Location: UK
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.

_________________
GitHubScriptsIronAHK Contact by email not private message.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 30th, 2009, 6:43 pm 
Offline

Joined: July 25th, 2006, 7:37 pm
Posts: 490
Location: Midwest, USA
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 31st, 2009, 5:16 pm 
Offline
User avatar

Joined: August 11th, 2004, 1:47 am
Posts: 5347
Location: UK
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:

Image

_________________
GitHubScriptsIronAHK Contact by email not private message.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 31st, 2009, 6:55 pm 
Offline

Joined: December 7th, 2005, 8:29 am
Posts: 345
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 27th, 2009, 9:54 pm 
Offline
User avatar

Joined: August 11th, 2004, 1:47 am
Posts: 5347
Location: UK
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.

_________________
GitHubScriptsIronAHK Contact by email not private message.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 3rd, 2009, 9:24 pm 
Offline
User avatar

Joined: May 10th, 2007, 10:54 am
Posts: 649
Location: .switzerland
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 4th, 2009, 3:31 am 
Offline
User avatar

Joined: August 11th, 2004, 1:47 am
Posts: 5347
Location: UK
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.

_________________
GitHubScriptsIronAHK Contact by email not private message.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 10th, 2009, 10:08 am 
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...)


Report this post
Top
  
Reply with quote  
 Post subject: Any news?
PostPosted: April 28th, 2009, 6:59 pm 
Offline

Joined: February 17th, 2008, 5:01 pm
Posts: 303
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...


Report this post
Top
 Profile  
Reply with quote  
 Post subject: updates
PostPosted: June 3rd, 2009, 7:48 pm 
Such a shame that there have been no updates recently. Really looking forward to the hotkey functionality


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: June 4th, 2009, 4:36 am 
Offline

Joined: February 17th, 2008, 5:01 pm
Posts: 303
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!


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Website
PostPosted: September 19th, 2009, 10:57 am 
Offline

Joined: July 16th, 2007, 3:00 pm
Posts: 46
Location: Bremen, Germany
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 13th, 2009, 6:07 pm 
Offline

Joined: March 12th, 2007, 5:25 am
Posts: 14
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 25th, 2009, 4:38 pm 
Offline
User avatar

Joined: August 11th, 2004, 1:47 am
Posts: 5347
Location: UK
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.

_________________
GitHubScriptsIronAHK Contact by email not private message.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 87 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 6 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