rdata/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
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
___
Ma
he garbage collector that no longer
exists. Is that incorrect?
--
Stephen Horne
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macruby-devel
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 "Sy
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. Does
ject using RubyMotion 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 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 reason
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 wrote:
>
t store set.
Although I can then set it by calling a method from a menu that calls the
"add_persistent_store(url)" method, and make 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 apprecia
txtStor.attribute(NSFontAttributeName,atIndex:index,effectiveRange:range)
>
> my `range` is always `#`. Also, `p range` gives
> me `#`.
>
> Any ideas how to implement this correctly?
>
> Thanks
> K
> ___
> MacRuby-devel mail
1.9 required "rubygems" by default! Thanks!
>
> On 30/11/2012 10:22, Joshua Ballanco wrote:
>> Do you have a "require 'rubygems'" in your script? Unlike Ruby 1.9, MacRuby
>> doesn't automatically load RubyGems by default.
>> On Friday, Novem
uot;rvm use system".
> Otherwise, try looking at your environment to see if any environment
> variables related to RubyGems are set.
> On Friday, November 30, 2012 at 9:09 PM, stephen horne wrote:
>
>> That reads:
>>
>> #!/Library/Frameworks/MacRuby.framework/Versions/0.
>
> On Friday, 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
>>
rubygems'" 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
>> uninstalle
macgem? You 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
`load'
from /Users/fatboy/.rvm/gems/ruby-1.9.3-p125/bin/macbacon:19:in `'
Can anyone see what's wrong with my setup?
Thanks.
--
Stephen Horne
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macruby-devel
ngs, and then query their stringValue or integerValue.
Hope that helps.
--
Stephen Horne
On 21/11/2012, at 20:04, Carolyn Ann Grant wrote:
> I've done a bit of Googling, but couldn't find anything on this. I'd like to
> use something like SmartProperties (for lightweight situati
nd
class Klass
def callback(hash)
puts hash[:paths_pointer][0]
end
end
callback_object = Klass.new
f = FolderWatch.new("/Users/fatboy/Desktop", :callback, callback_object)
f.start
--
Stephen Horne
___
MacRuby-devel mailing list
Ma
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
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 dele
le Resources'.
I tried adding another copy files after that one, but it still compiles them.
I've tried googling it, but no luck. Am I missing something obvious?
Thanks
--
Stephen Horne
On 21/06/2012 at 08:25, Joshua Ballanco wrote:
> Hey Stephen,
>
> You will need to cr
urces' phase 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
t the installer runs is found here:
>
> https://github.com/MacRuby/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
ething with your setup of Xcode, could 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 wrote:
>
>> It's been a while since I installed a nightly build b
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
7;ve spent 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
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 repositor
e needed to check 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
pscript/trunkAl
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 applicatio
uild frameworks, but maybe I should just 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
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 pa
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 get
32 matches
Mail list logo