AutoHotkey Community

It is currently May 27th, 2012, 5:44 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 552 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8 ... 37  Next
Author Message
 Post subject:
PostPosted: March 17th, 2010, 1:13 pm 
Offline

Joined: April 22nd, 2007, 6:33 pm
Posts: 1833
Do you really need a 64 bit version then? Surely the 32 bit one would be fine if its just for the installer

I would like to help with gdi+ but have the concern that the same methods couldnt be used as it is all very dll reliant. For example, I have no knowledge of how to create the equivalent of a layered window under mac/linux


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 17th, 2010, 4:42 pm 
I think IRONAHK will be worthless, unless it can execute any and all present ahk code, including Windows DLL calls, so that it runs without error. Translation is hard, but it would be a worthy thing if someone is smart enough to pull this off.....


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: March 17th, 2010, 6:12 pm 
Offline

Joined: October 15th, 2007, 3:10 pm
Posts: 790
Location: England
Hi Titan,

Firstly thanks for all the work you have done with this (and any one else who has contributed).

I am looking at the documentation (e.g. http://www.ironahk.net/docs/commands/msgbox) and I am getting a 404 for every page.

I even tried links from the index at http://www.ironahk.net/docs/commands
and I am still getting 404s from there.

Are parts of the site down?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 17th, 2010, 6:33 pm 
Offline
User avatar

Joined: August 11th, 2004, 1:47 am
Posts: 5347
Location: UK
tic wrote:
Do you really need a 64 bit version then? Surely the 32 bit one would be fine if its just for the installer
I'm not sure that would work either:

In general, 32- and 64-bit Microsoft Installer (MSI) packages are treated in the same way except for how Windows Installer treats folder variables such as [Program Files] and [System Folder], and how it writes components into the registry or GAC. When you create a 32- or 64-bit MSI package, the processor architecture is noted in the .NET Framework assembly's strong name identity when it is installed in the GAC.

While you can dynamically set the default install path (ProgramFiles or ProgramFiles64) and registry keys, the platform attribute has to be static. It makes no sense having a 64bit installation with 32bit DLLs in the GAC. I will look into this further for the next release, there might be a way to overcome this problem.

tic wrote:
I would like to help with gdi+ but have the concern that the same methods couldnt be used as it is all very dll reliant. For example, I have no knowledge of how to create the equivalent of a layered window under mac/linux
System.Drawing is a managed wrapper and will be used for built-in GDI+ commands in a future version. DllCalls to gdi32.dll will only ever work on Windows.

W00tW00t wrote:
I think IRONAHK will be worthless, unless it can execute any and all present ahk code, including Windows DLL calls
I agree. Apart from pointers, DllCall already works.

W00tW00t wrote:
Translation is hard, but it would be a worthy thing if someone is smart enough to pull this off.....
It's rather straightforward as it only involves a good understanding of AutoHotkey from the source (not just the documentation) and the ability to write a cross platform version in C#. This is what I have been doing in my spare time since October 09 and if version 0.5.5 is any indication of progress you could guess how much work is outstanding.

OceanMachine wrote:
I am looking at the documentation (e.g. http://www.ironahk.net/docs/commands/msgbox) and I am getting a 404 for every page.
Looks like the cron script for updating the site didn't run as expected but it should be working now, thanks.

_________________
GitHubScriptsIronAHK Contact by email not private message.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 17th, 2010, 6:51 pm 
Offline

Joined: October 15th, 2007, 3:10 pm
Posts: 790
Location: England
I'm not sure if it is just me, but I have an issue with SoundBeep using IronAHK.

It seems that the default values are not being used if (optional) parameters are not provided.

Code:
MsgBox, Sound 1
SoundBeep, 523, 2000 ; <-- works fine

MsgBox, Sound 2
SoundBeep, , 2000 ; <-- doesn't work for me

MsgBox, Sound 3
SoundBeep ; <-- also doesn't work for me


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 17th, 2010, 7:28 pm 
Offline
User avatar

Joined: August 11th, 2004, 1:47 am
Posts: 5347
Location: UK
OceanMachine wrote:
It seems that the default values are not being used if (optional) parameters are not provided.
infogulch discovered the same problem last night with RegExReplace. If the limit parameter was unspecified the compiler passed the default integer value of 0 rather than using a value to match the documented behaviour, so nothing would be replaced. This has been fixed in my working copy for v0.7. Thanks for reporting it anyway.

_________________
GitHubScriptsIronAHK Contact by email not private message.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 17th, 2010, 9:59 pm 
Offline

Joined: April 22nd, 2007, 6:33 pm
Posts: 1833
Yo Titan...unfortunately System.Drawing does not have a lot of the things I would need to port the gdi+ library. I've been working heavily with c# and cant see a managed way to use .net to create non-standard windows. I will research further.....


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 17th, 2010, 10:23 pm 
Offline
User avatar

Joined: August 11th, 2004, 1:47 am
Posts: 5347
Location: UK
tic wrote:
I've been working heavily with c# and cant see a managed way to use .net to create non-standard windows.
System.Drawing is very comprehensive, I'm sure it doesn't miss out anything. You mentioned layered windows earlier, I think that can be achieved with alpha transparency.

_________________
GitHubScriptsIronAHK Contact by email not private message.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 17th, 2010, 11:05 pm 
Offline

Joined: April 22nd, 2007, 6:33 pm
Posts: 1833
no, no...a layered window has more differences to a normal window than just transparency. They dont require an on_paint event as you manually draw a dc to an hwnd. There isnt any obvious way that ive seen to use managed code to perform a managed UpdateLayeredWindow as it isnt part of gdi+, but User32.dll and thus requires a dllimport. I know there are equivalents on mac osx using aqua or cocoa and the equivalent with linux, but I will reearch into this if you want


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 17th, 2010, 11:46 pm 
Offline
User avatar

Joined: August 11th, 2004, 1:47 am
Posts: 5347
Location: UK
Sure, that would help.

_________________
GitHubScriptsIronAHK Contact by email not private message.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 18th, 2010, 11:57 am 
I was directed to IronAHK by Chris Dekter. This is welcome news. I have been greatly enjoying Chris's AutoKey for many months. I came to Linux a couple of years ago from Windows. The one thing I really missed from Windows was a program called Macro Express that I used extensively in a project to bring speech recognition to classrooms around the world. Macro Express is a very versatile, mature program. You may find some useful ideas for future development of IronAHK at http://www.macroexpress.com/features.htm.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: March 18th, 2010, 1:18 pm 
Offline

Joined: October 15th, 2007, 3:10 pm
Posts: 790
Location: England
That link gives a 404. I think you mean http://www.macros.com/features.htm

Could you advise what features MacroExpress has that AHK does not already have please?

Also, that program is paid software, whereas AHK is free and open source...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 22nd, 2010, 8:01 am 
Offline

Joined: November 28th, 2004, 11:44 am
Posts: 41
Hi Titan

Just posting to show support, encourage and thank you for the great work done on IA so far!

Looking forward to the 95% Linux release soon.. :)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 22nd, 2010, 10:44 am 
W00tW00t wrote:
I think IRONAHK will be worthless, unless it can execute any and all present ahk code, including Windows DLL calls, so that it runs without error. Translation is hard, but it would be a worthy thing if someone is smart enough to pull this off.....


I hope you are joking. Anyway, you don't use it. I'm sure there will be loads of us that will use IronAHK. :P

Merging .NET wit AHK is a fantastic idea.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: March 22nd, 2010, 11:28 am 
Yes, this is the most impressive fork of ahk. I will definitely use it. Ahk was one of the most reasons not to changing to Linux. I was playing with the thought to forget about ahk because i will use in near future Linux mainly in a dayly basis.
IronAHK is greater than great. All i have dreamed would become true.


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 552 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8 ... 37  Next

All times are UTC [ DST ]


Who is online

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