[MacRuby-devel] MacRuby scripting bridge speed

2011-12-16 Thread Stephen Horne
I'm new to all this, so apologies if I'm doing something daft. I'm trying to create a MacRuby GUI application to parse a load of information from InDesign documents. I've previously made this application using applescriptObjC, but I was constantly bouncing off the walls of applescript and

Re: [MacRuby-devel] MacRuby scripting bridge speed

2011-12-23 Thread Stephen Horne
Hi Josh. Joshua Ballanco 22 December 2011 15:04 On Friday, December 16, 2011 at 10:17 AM, Stephen Horne wrote:I am afraid I don't have a copy of InDesign, so I cannot test your specific situation. However, it would be interesting to know what part

Re: [MacRuby-devel] MacRuby scripting bridge speed

2011-12-23 Thread Stephen Horne
get a grip. Fb Al Stephen Horne 16 December 2011 15:17 I'm new to all this, so apologies if I'm doing something daft. I'm trying to create a MacRuby GUI application to parse a load of information from InDesign documents. I've previously made this application using

Re: [MacRuby-devel] MacRuby scripting bridge speed

2011-12-23 Thread Stephen Horne
Stephen Horne 16 December 2011 15:17 I'm new to all this, so apologies if I'm doing something daft. I'm trying to create a MacRuby GUI application to parse a load of information from InDesign documents. I've previously made this application using applescriptObjC, but I

Re: [MacRuby-devel] MacRuby scripting bridge speed

2011-12-23 Thread Stephen Horne
at runtime which version was being used.Steve___MacRuby-devel mailing listMacRuby-devel@lists.macosforge.orghttp://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel Stephen Horne 23 December 2011 12:39 Alan Skipp

Re: [MacRuby-devel] MacRuby scripting bridge speed

2011-12-24 Thread Stephen Horne
Hi bbiker. It's actually very simple to set it up, I just found it confusing because I, like Steve, have very little idea about Xcode and frameworks and the like. So download the source files from https://github.com/dnagir/appscript/tree/master/macruby-appscript/trunk I got the whole

Re: [MacRuby-devel] App Store

2012-03-16 Thread stephen horne
some time figuring out online. I'm not sure exactly what should be going on the wiki, but If this type of page is something people feel is useful I will continue to add to it. Stephen Horne On 16/03/2012, at 02:53, Matt Aimonetti wrote: It would be great if is someone could contribute

[MacRuby-devel] Failing installers

2012-05-02 Thread stephen horne
It's been a while since I installed a nightly build because I get a error in the installer (Installation failed, and An error occurred while running scripts from the package “macruby_nightly-2012-05-02.pkg”), and I haven't had the time to look into it. I've just given it another go, and, to my

Re: [MacRuby-devel] Failing installers

2012-05-02 Thread stephen horne
you please log a bug with details? This seems like it should be a blocker for release. Sent from my iDevice On 2012-05-02, at 12:42, stephen horne fat...@gmail.com wrote: It's been a while since I installed a nightly build because I get a error in the installer (Installation failed

Re: [MacRuby-devel] Failing installers

2012-05-03 Thread stephen horne
/MacRuby/blob/master/misc/release/package_script/postinstall I would guess that it is not able to get the Xcode dir properly and failing to set it up. On 2012-05-02, at 2:03 PM, stephen horne wrote: Ok, thanks. Xcode is installed, and I don't remember doing anything funny

[MacRuby-devel] Adding ruby 1.8.7 scripts to an application bundle during build

2012-06-20 Thread Stephen Horne
of the project's Build Phases in Targets. Does anyone know a way to do this? Thanks, -- Stephen Horne ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Re: [MacRuby-devel] Adding ruby 1.8.7 scripts to an application bundle during build

2012-06-21 Thread Stephen Horne
Consider yourself my hero Mark. Oddly, they appear in the bundle uncompiled, but with their extensions back on =] Thanks for the help. -- Stephen Horne On 21/06/2012 at 12:02, Mark Villacampa wrote: I'm going to risk this being a stupid answer, but have you tried deleting the file

[MacRuby-devel] $stderr in MacRuby

2012-06-30 Thread Stephen Horne
, but this is on the old system so I'm not sure. Does anyone know how to do this in MacRuby? Thanks. -- Stephen Horne ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Re: [MacRuby-devel] MacBacon problem

2012-11-30 Thread stephen horne
might have to uninstall any other versions you've installed. I never had much luck with RVM+MacRuby; I always installed MacRuby using the installer from the website. This might have been fixed though. dw On Fri, Nov 30, 2012 at 10:46 AM, stephen horne fat...@gmail.com wrote: I'm trying

Re: [MacRuby-devel] MacBacon problem

2012-11-30 Thread stephen horne
' in your script? Unlike Ruby 1.9, MacRuby doesn't automatically load RubyGems by default. On Friday, November 30, 2012 at 8:11 PM, stephen horne wrote: Thanks Daniel, you were right - I'd gem installed it. I've now gem uninstalled it and tried with macgem, but whilst that claims to install

Re: [MacRuby-devel] MacBacon problem

2012-11-30 Thread stephen horne
, November 30, 2012 at 8:39 PM, stephen horne wrote: Hi Joshua, No, I had missed that in my script, but now it's there I still get the same error. It seems to be happening in /usr/local/bin/macbacon itself, before it gets to my script. Stephen On 30/11/2012, at 18:22, Joshua Ballanco

[MacRuby-devel] NSDocument problems

2013-02-13 Thread stephen horne
the document window display the data. Am I missing something? I've been banging my head against this one for hours now. Any help is greatly appreciated. -- Stephen Horne ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org https

Re: [MacRuby-devel] NSDocument problems

2013-02-14 Thread stephen horne
I figured out my problem. I had put an object representing the document into the nib where the document was also set as the file's owner, making each document call init twice. A hard-learned lesson. At least I won't forget it. On 14/02/2013, at 01:39, stephen horne fat...@gmail.com wrote

Re: [MacRuby-devel] Fwd: OS X10.9 MacRuby's future...

2013-05-17 Thread stephen horne
From what I understand, the only thing missing in Rubymotion is eval() There's an article by Clay Allsop about meta-programming in Rubymotion at http://clayallsopp.com/posts/rubymotion-metaprogramming/ I tested to see if eval() works in desktop Rubymotion apps (I read somewhere that the

Re: [MacRuby-devel] Fwd: OS X10.9 MacRuby's future...

2013-05-17 Thread stephen horne
n without making any (major) changes? - Matt ___MacRuby-devel mailing listMacRuby-devel@lists.macosforge.orghttps://lists.macosforge.org/mailman/listinfo/macruby-devel stephen horne 17/05/2013 13:26 >From what I unde

Re: [MacRuby-devel] Fwd: OS X10.9 MacRuby's future...

2013-05-17 Thread stephen horne
Oh, and "load()" isn't supported either. That's a shame because it means MacRubyReload by Jean-Denis Muys won't work. I had a nifty version of that that reloaded your source files as you save them too =[ fb david kramf 17/05/2013 13:19 Is RubyMotion  a full Ruby.

Re: [MacRuby-devel] send keystrokes with system.events?

2013-07-04 Thread stephen horne
Hi Bryan, I've done this in the past using quick and dirty NSApplescript: def applescript_exec(script_string) pnt = Pointer.new_with_type("@") as = NSAppleScript.alloc.initWithSource(script_string) as.executeAndReturnError(pnt) end script_string = %{ tell application

Re: [MacRuby-devel] Mavericks and Macruby

2013-11-03 Thread Stephen Horne
. Is that incorrect? -- Stephen Horne ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macruby-devel

Re: [MacRuby-devel] Mavericks and Macruby

2013-11-03 Thread Stephen Horne
On 3 Nov 2013, at 11:22, Steve Clarke wrote: The garbage collector is deprecated but it's still there in Mavericks. Steve Ah, thanks. I've been thinking for months that it was going with this release. -- Stephen Horne ___ MacRuby-devel mailing list

Re: [MacRuby-devel] MacRuby on Mavericks

2013-11-05 Thread Stephen Horne
/username.xcuserdatad/UserInterfaceState.xcuserstate Bob Rice -- Stephen Horne ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macruby-devel