Brad Stone wrote:
On Mar 19, 2011, at 11:04 PM, Brad Stone wrote:
I do need it to work for any app, not just Word or XL.
I guess a poor workaround would be since it's not possible to reliably check if
the file is open>
I can force the user to quit the file's default app before allowing them
I am trying to determine the state of a menu item in another application. I
have tried via AppleScript UI scripting, and via AppleScript Studio's state of
menu item. I am coming up empty. I can get to the menu and select the item fine
- but I can't get the status. I am interested whether or not
From the compiler standpoint
though, IBAction is equivalent to "void", so let's just assume the
method in question reads like the following, and we'll break it down:
-(void)someMethod: (id)inSender;
...
3. someMethod: this is the name of the method
Care needs to be take here. The name of the
Alex Zavatone writes:
If we spend the time to enter bugs that don't get fixed, it ends up being a waste of our time.
We have no control over if Apple choses to fix our bugs or not. Do we waste time working around a bug, then waste time reporting it?
I've got capitalization on an NSString fa
Steve Mills asked:
So is there no way in Cocoa to assign key equivs by key code instead of by string? The Carbon menu
item could be set by glyph (SetMenuItemKeyGlyph) or by key code (SetMenuItemCommandKey), which sure
were handy. The key equiv would clearly show numpad glyphs with a rounded re
Message: 1
Date: Mon, 06 May 2013 22:20:13 -0500
From: Steve Mills
To: Cocoa dev
Subject: Re: Showing numpad key equivs in menu items
Message-ID: <79380da0-718d-4d1f-980b-03ea7e7de...@makemusic.com>
Content-Type: text/plain; charset=iso-8859-1
On May 6, 2013, at 16:58:10, gweston wrote
Steve Mills said:
Such software has already established the precedent that it needs lots and lots
of keyboard shortcuts. (Finale is well over 10 years old, IIRC.) Steve isn't
condemning users to a keyboard shortcut nightmare, he's continuing a
well-established though specialized UI pattern.
Rick C. wrote:
I write an NSString and NSData object to my app’s .plist and of course read it
back when needed and this works fine 99% of the time. On occasion a user
reports some trouble to me and I ask for the .plist and find out that this
NSString/NSData object is missing. Digging deeper I
On Jun 07, 2012, at 10:22 PM, Graham Cox wrote:
On 07/06/2012, at 9:23 PM, Gregory Weston wrote:
Does anyone know of existing code or a trivial technique to get a CGPath or
NSBezierPath that describes the shape of the desktop? I'll write and share it
if it's not out there, but I'd rather no
koko asked:
I need to set a file's TYPE in the ancient FinderInfo to TEXT as an older program needs to use the file and it OS8 Open filters on TYPE.
I have looked at a number of FSSpec and FSRef but have had no success.
If anyone has done this successfully I would sure like to hear about it
Is there an API (carbon or cocoa) to determine if an item is in the trash?
NSFileManager, NSFileHandle and carbon Files.h do not have anything.
Or do I just do a path search looking for ".trash"?
You definitely do *not* do that. The name and location of the trash directory is an
implementation
Quincey Morris wrote
No matter what you do, file a bug with the 3rd-party framework. Their macros
should not leak.
The thing that bothers me is why macros should be substituting into method
parameter names at all. It potentially brings *pieces* of method names into the
global symbol namespa
H Miersch wrote:
then why does Xcode complain about an unused result? this is just another example of a TOTALLY USELESS error message.
anyway, i fixed it, and now it works. thanks.
ok, it looks like i've sorted the original problem. but here's the next one:
i have this line:
for (i = 0; i
13 matches
Mail list logo