Re: NSFilesPromisePboardType

2010-01-09 Thread Nick Paulson
ht simply be a byte order bug with the value in the > promisedFlavor field in the PromiseHFSFlavor data on the pasteboard (though > that doesn’t really help when accessing the data via NSPasteboard.) > > On Jan 8, 2010, at 11:37 PM, Nick Paulson wrote: > >> I am trying t

Re: NSFilesPromisePboardType

2010-01-08 Thread Nick Paulson
I am trying to get the path of an item dropped onto a view by iTunes. iTunes seems to only do this with NSFilesPromisePboardType. Maybe I am wrong, though. --Nick On Jan 8, 2010, at 11:33 PM, Jim Correia wrote: > On Jan 8, 2010, at 10:24 PM, Nick Paulson wrote: > >> I am doing t

Re: NSFilesPromisePboardType

2010-01-08 Thread Nick Paulson
pasteboard, but found none. I am dragging from iTunes in list view to my own view. Am I making a mistake somewhere? --Nick On Jan 8, 2010, at 9:51 PM, Jim Correia wrote: > On Jan 8, 2010, at 7:52 PM, Nick Paulson wrote: > >> Can someone please explain to me how I handle NSFilesPromise

NSFilesPromisePboardType

2010-01-08 Thread Nick Paulson
Hello list, Can someone please explain to me how I handle NSFilesPromisePboardType? I register for the dragged types, but I don't understand exactly how to get the data. Thanks, Nick Paulson___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Ple

Re: Using AppleEvents to copy and past text from any application

2010-01-05 Thread Nick Paulson
If you have a solution to this, please report back. I am interested in what you come up with. --Nick Paulson On Jan 5, 2010, at 11:10 AM, Jesse Grosjean wrote: > I know most apps don't support AppleScript directly, but I thought > there was some way to automatically script the me

Re: Looking up a NSString constant at runtime

2010-01-04 Thread Nick Paulson
The constant *is* an NSString; essentially you could do: NSString *constValue = NSDeviceResolution; Though, that may be a little redundant. --Nick Paulson On Jan 4, 2010, at 6:09 PM, David Alter wrote: > This would work for finding out what the name is as well as logging it. > > Wh

Re: Revolving scoreboard

2010-01-04 Thread Nick Paulson
Take a look at the first post in the following link: http://www.cocoadev.com/index.pl?CoreAnimation Basically, you just have the view's animator as a receiver rather than the view itself. This will automatically do the default animations for you. --Nick Paulson On Jan 4, 2010, at 1: