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 (alpha): cross platform .NET rewrite of AutoHotkey
Goto page Previous  1, 2, 3 ... 19, 20, 21 ... 34, 35, 36  Next
 
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
designatevoid



Joined: 10 Aug 2010
Posts: 5

PostPosted: Tue Aug 10, 2010 6:57 pm    Post subject: IronAHK.exe won't load in Ubuntu Reply with quote

IsNull wrote:
I looks like your system lacks the libmono-winforms libs Wink


You were correct IsNull. Thank you so much!
PS: Awesome name.
Back to top
View user's profile Send private message
Guest






PostPosted: Wed Aug 11, 2010 6:25 am    Post subject: Reply with quote

Hi polyethene,
i can not understand .Net Sad
i am using the Latest Version of IronAHK 0.5.7-x86 but these commands are not working Crying or Very sad
i am using Windows XP Professional Service Pack 3

Process, Close
SplashImage
and BlockInput

please help me i am in trouble.

polyethene wrote:
Process fixed in f0bc2ac2 and SplashImage in 085ce87c.
BlockInput partially fixed in 6392d227. On Windows 7 x64 this command does not work for me even in AutoHotkey. A quick search reveals issues from Vista so as a workaround IronAHK will use the low level hooks to block input. At the moment only keyboard hooking is enabled with this feature.

The command status page is quite inaccurate. I will update it at some point this week with clearer progress indications.
Back to top
polyethene



Joined: 11 Aug 2004
Posts: 5248
Location: UK

PostPosted: Wed Aug 11, 2010 11:10 am    Post subject: Reply with quote

Anonymous wrote:
...when you do, could you add a date to it, so we can know when it's getting stale?...& maybe update it now, just to say it's stale (then update "at some point this week" for real).

Since I can't plan ahead for time to develop any schedule or deadlines would be difficult to meet. I have a good idea of what needs to be done for each milestone and the time it should take. v0.7 should be this week or next depending on whether we want the smart-compiler in this version. v0.9 would be 3-4 weeks and v1 would be ready in 5-6 weeks after that. That is assuming I have no other new priorities.

Anonymous wrote:
i am using the Latest Version of IronAHK 0.5.7-x86 but these commands are not working Crying or Very sad

Please use the nightly version which is the most up-to-date.
_________________
GitHubScriptsIronAHK Contact by email not private message.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Guest






PostPosted: Wed Aug 11, 2010 11:28 am    Post subject: Reply with quote

polyethene wrote:
...any schedule or deadlines...

...by "add a date" I just meant add the date you last reviewed/updated the page, not forward-looking dates of when things will be done.

polyethene wrote:
and v1 would be ready in 5-6 weeks after that.

...Merry Christmas?...I can't wait to test my scripts with v1...I don't think I can test them sooner than v1, cuz they seem to all use features not ready until v1...but I can't remember the roadmap right now, I think GUIs are v.7?
Back to top
kaka



Joined: 05 Jan 2007
Posts: 33

PostPosted: Fri Aug 13, 2010 7:01 am    Post subject: Reply with quote

polyethene wrote:
Please use the nightly version which is the most up-to-date.


i am using this version
there is a problem with the command of SplashImage
it is not working like Original AutoHotKey

Code:
1: it is too slow

2: There is problem in the size

3: You can view 99 SplashImage at a Time, But there is Only 1 SplashImage working.


Please check these Issues. Sad
_________________
Back to top
View user's profile Send private message Visit poster's website
IsNull



Joined: 10 May 2007
Posts: 593
Location: .switzerland

PostPosted: Sun Aug 15, 2010 7:44 am    Post subject: Reply with quote

Quote:
You were correct IsNull. Thank you so much!
PS: Awesome name.

Awesome Name? If you think so... Laughing

@kaka:
I'll have a look at these issues.
_________________
http://securityvision.ch
AHK 2D GAME ENGINE
Back to top
View user's profile Send private message Visit poster's website
ls121
Guest





PostPosted: Mon Aug 16, 2010 4:18 am    Post subject: Cannot get to work on ubuntu! Reply with quote

I just installed ubuntu on a new partition PURELY to try this out (ahk is the only reason I'm still using Windows).

I CANNOT figure out how to run a simple script! I can't even double click the .exe nor drag .ahk files onto it. Can somebody point me to a simple instruction on how to get a simple script going on ubuntu?
Back to top
Guest






PostPosted: Mon Aug 16, 2010 11:19 am    Post subject: Re: Cannot get to work on ubuntu! Reply with quote

ls121 wrote:
I can't even double click the .exe...

...wow, unless I'm completely missing the point, if you wanna run this on Ubuntu (or Linux), you wouldn't download the exe (.exe's are for Windows {& maybe WINE}). For Linux/Ubuntu, I think you'd download the source & compile it.
Back to top
polyethene



Joined: 11 Aug 2004
Posts: 5248
Location: UK

PostPosted: Mon Aug 16, 2010 11:46 am    Post subject: Re: Cannot get to work on ubuntu! Reply with quote

ls121 wrote:
Can somebody point me to a simple instruction on how to get a simple script going on ubuntu?
  1. Install the package libmono-winforms2.0-cil (click Search on Synaptic)
  2. Download the nightly binaries
  3. Extract the zip and browse to the contents
  4. Open terminal (usually right click > Open Terminal Here)
  5. Type mono IronAHK.exe Example.ahk

If you install IronAHK with setup.sh you can run scripts the standard way with #!/usr/bin/env ironahk as the first line then running with ./Example.ahk or similar. This is how all kinds of scripts are used in Linux (PHP, Ruby, Python, Perl, etc.)

Quote:
if you wanna run this on Ubuntu (or Linux), you wouldn't download the exe (.exe's are for Windows {& maybe WINE}). For Linux/Ubuntu, I think you'd download the source & compile it.

.NET exe files are slightly different to regular Win32 executables. Apart from the installers, all the precompiled packages for IronAHK work interchangeably on every operating system with .NET or Mono. For Mono the file extension is meaningless, but .exe is typically used for any CLR application with an entry point.
_________________
GitHubScriptsIronAHK Contact by email not private message.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Guest






PostPosted: Mon Aug 16, 2010 1:38 pm    Post subject: Re: Cannot get to work on ubuntu! Reply with quote

polyethene wrote:
.NET exe files are slightly different to regular Win32 executables.

...ah, I was wondering about that...but...
  • How is the Mac app download different from the rest of the downloads (can't Macs do the same a Linux?)
  • Is there any reason to download the sources? (for Linux)
polyethene wrote:
Type mono IronAHK.exe Example.ahk

...is there a way to make double clicking the .exe or .ahk work? Instead of running it that way all the time?

polyethene wrote:
...you can run scripts the standard way...

...any other ways to make double clicking work, like in Windows?

polyethene wrote:
#!/usr/bin/env ironahk

...that seems like a weird shebang line. Why "/usr/bin/env" with a param of "ironahk" (what does running env do?) & not something like...
    #!/usr/bin/ironahk
Also, just now, looking at the downloads, I'd like to ask you: How do you create the msi files? I've read some steps somewhere online about formatting a computer to a "clean state", making a snapshot, installing manually, taking another snapshot & creating an msi from the differences. Is that REALLY the steps everyone goes thru to make an msi? That seems exceedingly convoluted to me: reformat/reset an "example computer" every time you make a new msi? There HAS to be a better way.
Back to top
polyethene



Joined: 11 Aug 2004
Posts: 5248
Location: UK

PostPosted: Mon Aug 16, 2010 2:39 pm    Post subject: Reply with quote

Quote:
How is the Mac app download different from the rest of the downloads (can't Macs do the same a Linux?)

The App Bundle makes it easier for Mac users to run the program. Like .jar files it is essentially a .zip with a certain structure. I don't have a Mac so I could not test it myself, but others have told me it works. Mac users can still run IronAHK the Linux way.

Quote:
Is there any reason to download the sources? (for Linux)

Not unless you prefer to compile yourself. The nightly build server is CentOS with Mono 2.6.7 and the stable releases are built on my Windows 7 laptop with Visual Studio 2010 Professional. However none of this matters since the resulting binaries are practically identical.

Quote:
...is there a way to make double clicking the .exe or .ahk work? Instead of running it that way all the time?
Quote:
...any other ways to make double clicking work, like in Windows?

Yes it is possible but requires kernel modifications. This will be provided for Debian/Ubuntu users when I write .deb packages.

Quote:
Why "/usr/bin/env" with a param of "ironahk" (what does running env do?) & not something like...

/usr/bin/env is more portable, but you can specify the absolute path if you like.

Quote:
How do you create the msi files?

With WiX.
_________________
GitHubScriptsIronAHK Contact by email not private message.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
test1337
Guest





PostPosted: Mon Aug 16, 2010 10:19 pm    Post subject: Really? Reply with quote

So just to be clear: with IronAHK I can have an AHK script which I wrote in Windows which binds tons of my keys to unique actions (such as minimizing windows or switching to Firefox if it's not active) run on *Ubuntu* with little to no modification of the original script?

If so, I think there is no reason to use Windows anymore!
Back to top
polyethene



Joined: 11 Aug 2004
Posts: 5248
Location: UK

PostPosted: Mon Aug 16, 2010 10:29 pm    Post subject: Re: Really? Reply with quote

test1337 wrote:
So just to be clear: with IronAHK I can have an AHK script which I wrote in Windows which binds tons of my keys to unique actions (such as minimizing windows or switching to Firefox if it's not active) run on *Ubuntu* with little to no modification of the original script?

Yes, that was the purpose of creating this project Wink
_________________
GitHubScriptsIronAHK Contact by email not private message.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ls121
Guest





PostPosted: Tue Aug 17, 2010 3:40 am    Post subject: Reply with quote

Thanks for the simple instructions! This simple keybind won't work when I try to compile in Ubuntu though:

CapsLock::Send {Escape}


It literally sends the keystring "Escape". How do I get it to press the escape key? This would work under AHK in windows.
Back to top
Guest






PostPosted: Tue Aug 17, 2010 4:41 am    Post subject: Reply with quote

ls121 wrote:
This simple keybind won't work...

...1st of all, are you using 0.5.7 or a nightly build?...(if so, which?). 2nd, I have no idea if that part is written yet (send command with {special} keys), but since IronAHK is not 1.0 yet, some things don't work/aren't written yet. polyethene will be able to tell you if it should work yet (or is a bug that it don't work).
Back to top
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2, 3 ... 19, 20, 21 ... 34, 35, 36  Next
Page 20 of 36

 
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