Process type

2010-04-30 Thread Matthew Mashyna
I have an app that acts as a monitor for some other critical apps and one thing the spec calls for is the need to look at other running apps and figure out if they are running in 32 or 64 bit mode. The Activity monitor knows this. How can I find a process's bit-ness? Sorry, not sure it if

Re: How do you use an Application ID for an iPhone application

2009-11-24 Thread Matthew Mashyna
It's simple once you get it to work the first time. If you made your provision for the domain com.skeyn then in the properties tab your identifier should be com.skeyn.${PRODUCT_NAME:rfc1034identifier} The last part of this is a macro that xcode will use to figure out what it needs to

Re: wait for the event?

2009-10-05 Thread Matthew Mashyna
On Oct 5, 2009, at 12:51 PM, jon wrote: i have a webView loading, and need to wait until it is finished loading... so far i've set up this notification in the wakeFromNib: NSNotificationCenter *center = [NSNotificationCenter defaultCenter]; [center addObserver:self

Re: wait for the event?

2009-10-05 Thread Matthew Mashyna
of thing, and have the runLoop wait for that flag, the flag needs to be in the webViewProgressFinished to work (it was not before).. yet i still need that flag thanks, Jon. On Oct 5, 2009, at 3:46 PM, Matthew Mashyna wrote: On Oct 5, 2009, at 12:51 PM, jon wrote: i have a webView

Re: wait for the event?

2009-10-05 Thread Matthew Mashyna
, but it was not to be. My brain is trying to refactor, and it is fighting mightily... trying to keep up with the young-uns who have no such baggage... I'll look into NSLock thanks, Jon. On Oct 5, 2009, at 7:45 PM, Matthew Mashyna wrote: you need some time to come around to a different way of thinking. You

Re: [iPhone] UITableViewController headache

2009-05-11 Thread Matthew Mashyna
On May 11, 2009, at 12:20 AM, James Lin wrote: Hi all, This is strange, i don't know what to make of it. I have a view with a TableView in it. If i use UITableViewController class, which is supposed to be the correct class to use, the tableview (which has 1 UILabel and 1 UITextField

NSWorkspaceWillPowerOffNotification from a daemon

2009-03-12 Thread Matthew Mashyna
I have a daemon that gets started from /Library/LaunchDaemons. It monitors the system and alerts another remote machine when certain status changes. What I want to monitor is when the machine powers on and off, sleep, monitor sleep. Everything works fine except catching the shutdown. I

Re: NSWorkspaceWillPowerOffNotification from a daemon

2009-03-12 Thread Matthew Mashyna
On Mar 12, 2009, at 8:45 PM, Nick Zitzmann wrote: On Mar 12, 2009, at 6:11 PM, Matthew Mashyna wrote: The sleep calls work fine but the PowerOff doesn't work ever. Is there another way to catch shutdown ? Can I catch some signal to handle it ? Did you remember to call NSApplicationLoad

Re: 10.4 square button backgrounds go white when clicked

2008-11-11 Thread Matthew Mashyna
On Nov 6, 2008, at 10:49 AM, Matthew Mashyna wrote: I have some square buttons along the top of a textured window. The window does not have an NSToolbar. These buttons have images (pngs) with transparent backgrounds on them. When I click on them on 10.5 they darken and look good. On 10.4

10.4 square button backgrounds go white when clicked

2008-11-06 Thread Matthew Mashyna
I have some square buttons along the top of a textured window. The window does not have an NSToolbar. These buttons have images (pngs) with transparent backgrounds on them. When I click on them on 10.5 they darken and look good. On 10.4 the backgrounds turn white and look bad. iTunes

Help window and Modal Dialogs

2008-10-08 Thread Matthew Mashyna
I have an app that, at times, gets locked into a modal window. One of the windows, for instance, sets up a CD burn and we don't want them doing anything else in the app at the same time so we make the setup window modal. There are lots of options, though, and we want to offer help. When

Accessibility Voiceover questions

2008-09-10 Thread Matthew Mashyna
I have a custom view that is a subclass of NSView with a bunch of subviews. When Voiceover is on it will speak the text that is in the subviews but that's not what I want. I would like my view class to control what is spoken but I can't figure out how to do it. I would also like to have

Control-Click vs Right-Click in NSTableView

2008-08-20 Thread Matthew Mashyna
I have an NSTableView subclass whose only override method is rightMouseDown. I override it so I can have it select the table row before validating and presenting the context menu (by then passing it up to [super rightMouseDown]). This works nicely but I have found that it does not work for

Re: Control-Click vs Right-Click in NSTableView

2008-08-20 Thread Matthew Mashyna
On Aug 20, 2008, at 6:09 PM, Jean-Daniel Dupas wrote: Le 21 août 08 à 00:02, Matthew Mashyna a écrit : I have an NSTableView subclass whose only override method is rightMouseDown. I override it so I can have it select the table row before validating and presenting the context menu

Disc write speed options

2008-08-12 Thread Matthew Mashyna
I'm trying to figure out how I can ask a DRDevice what burn speeds it's capable of so I can offer a choice to the user. When I call the status and info messages I don't see anything that looks useful. How can I get and set the burn rate ? Thanks, Matt