Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

pcwiz

macrumors member
Original poster
May 28, 2008
55
0
OK, so I am installing the Sparkle framework on an AppleScript Studio app. I am running Mac OS X 10.5.2 Leopard (Intel) with Xcode 3.1 and Interface Builder 3. I got to step 3 in the install instructions for Sparkle but I am stuck on the last 2 steps:

4. Select SUUpdater and go to Classes > Instantiate SUUpdater.
5. Create a “Check for updates...” menu item in the application menu and connect it to checkForUpdates: in SUUpdater (using Control+drag).

I cannot find the Instantiate SUUpdater option. I've looked through the menus and buttons and tabs but I cannot find that option. I know that Interface Builder 3 has some changes to the interface, but I'm still having trouble. Screenshots on how to do this would be very appreciated.

Thanks in advance
 

lee1210

macrumors 68040
Jan 10, 2005
3,182
3
Dallas, TX
I pieced this together from a few pages... you'll need to include Sparkle.framework in applescript studio. Once you've done this, you'll need to make the Objective-C call. I couldn't find a clean link right to it, but go here:
http://developer.apple.com/document...ce/StudioReference/Index/index_of_book.html#C
And choose call method. It has the documentation on making an Objective-C call from applescript.

You can then hit the Sparkle documentation on what you'll need to call in the framework to do.. whatever it is that Sparkle does (lets users of your app to see if there are updates?).

This doesn't seem particularly easy, but does seem possible. My sources are the link above, and this post:
http://lists.apple.com/archives/Cocoa-dev/2005/Feb/msg01717.html

I think you can make subroutines in applescript. i would highly recommend using one to handle this, as it could get a little messy.

Good luck!

-Lee
 

pcwiz

macrumors member
Original poster
May 28, 2008
55
0
Thanks

Thanks lee, but the thing is Sparkle already provides easy instructions on their site:

http://sparkle.andymatuschak.org/wiki/Documentation/Basics

Its a 5 step install procedure, and it works with Applescript studio easily from what I've heard. I've already gotten Sparkle.framework as a linked framework, and I have SUUpdater set up as a class in Interface Builder, the problem is I don't understand steps 4 and 5 (posted in the first post). I think this is due to the fact that those instructions were meant for an older version of Interface Builder and IB3 does this differently.

I just need some screenshots or something to show me how to do those 2 steps in Interface Builder.

But thanks for trying anyway :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.