I know. I just want to discourage the baby crackers. Codesign looks
interesting. Ptrace seems to have been strengthened in Leopard, too.
At least I wasn't able to bypass it as easily as outlined by steike.
Always something :-)
Thanks!
On Thu, May 22, 2008 at 1:22 PM, Jean-Daniel Dupas
<[EMAIL PRO
Hi all,
is there a way to tell if my executable was launched by/attached to
some other process? Basically, I just want to kill myself as soon as I
sense those prying eyes, in order to make it just a little it harder
for the crackers.
TIA
___
Cocoa-dev
Thanks Jens. Sounds to me we don't need the quotation marks round "bug".
On Sat, May 3, 2008 at 5:46 PM, Jens Alfke <[EMAIL PROTECTED]> wrote:
>
> On 3 May '08, at 6:44 AM, [EMAIL PROTECTED] wrote:
>
>
> > I'm having this problem where I cannot hide menu items in my dock
> > menu. [menuItem setHi
Hi,
I'm having this problem where I cannot hide menu items in my dock
menu. [menuItem setHidden:YES] does nothing, nor does checking the
"Hidden" checkbox in IB. The dock menu itself is created in IB and
connected to NSApp's dockMenu outlet. Is this a bug or am I missing
something?
I know I can j
.com)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> http://lists.apple.com/mailman/options/cocoa-dev/slasktrattenator%40gmail.com
Oh, right. I didn't think of that. Thanks for the correction and clarification.
F.
On Sat, Apr 12, 2008 at 6:46 PM, Ken Thomases <[EMAIL PROTECTED]> wrote:
>
> You're grabbing all defaults from all domains with the above, and promoting
> them all into the NSArgumentDomain below, changing their p
o not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> http://lists.apple.com/mailman/options/cocoa-dev/slasktrattenator%40gmail.com
>
> This email sent to [EMAIL PROTE
#x27;t cut a swath that wide.
> >
> > No doubt both OP and iTunes have their reasons for screwing around with
> the
> > scroll bars. They just aren't good reasons.
> >
> >
> >
Thanks Ken! That worked perfectly. Still curious why tweaking the
argv[] array didn't, though. I did use a preceding dash for the key,
and so it should have been the exact same thing as the code below, no?
Anyway, here is a working example for anyone interested. Thanks again.
int main(int argc, ch
; ___
>
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update you
>
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
>
Hi,
I'm trying to add some launch arguments to my executable by modifying
the arguments passed to main.m, but find that the new arguments are
completely ignored. No matter what I pass to NSApplicationMain the
executable launches with the same old default argsv[]. Is this not the
right approach? Sh
Thanks Mike, adding a default to NSArgumentDomain (i.e. by passing
{"-AppleScrollBarVariant", "Single"} to the executable on launch) did
the trick.
On Thu, Apr 10, 2008 at 1:24 AM, Mike Abdullah
<[EMAIL PROTECTED]> wrote:
> I believe one normally does this system-wide via the user defaults. I
> su
On a similar note, how can I find out what the current
AppleScrollBarVariant is? The docs don't cover this either :-/
On Thu, Apr 10, 2008 at 12:12 AM, <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm looking for a way to override the user's AppleScrollBarVariant
> setting, and force the arrows on my c
Hi,
I'm looking for a way to override the user's AppleScrollBarVariant
setting, and force the arrows on my custom NSScroller to be displayed
at both ends of the scroller. The documentation has no mentioning of
this. Does anyone know if this is possible?
Thanks.
F.
not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> http://lists.apple.com/mailman/options/cocoa-dev/slasktrattenator%40gmail.com
>
> This email sent to [EMAI
the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> http://lists.apple.com/mailman/options/cocoa-dev/slasktrattenator%40gmail.com
>
> This email sent to [EMAIL PROTECTED]
>
___
the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/slasktrattenator%40gmail.com
>
> This email sent to [EMAIL PROTECTED]
>
___
Cocoa-dev mail
Thanks for the reply. Actually I read those posts already, that's why
I threw out the question here to see if someone could confirm it's a
bug. Guess I'll have to revert to setting up the full screen
environment manually.
On Fri, Apr 4, 2008 at 11:24 PM, Sean McBride <[EMAIL PROTECTED]> wrote:
>
>
Hi,
I'm having a small problem with NSView's
enterFullScreenMode:withOptions: method. The windowed view handles
keyboard events by overriding keyDown:, but once I enter fullscreen
mode it stops receiving these events, all I get is a NSBeep. I have
correctly set the new fullscreen window's delegate
This works perfectly, just what I was looking for. Many thanks!
F.
On Sat, Mar 29, 2008 at 4:39 PM, Steve Weller <[EMAIL PROTECTED]> wrote:
>
> Try looking at the source for TextEdit. TextEdit adds a pop-up at the
> end of the horizontal scroller by overriding NSScrollView's tile:
> method. Yo
Thanks Troy for the in-depth account. Yes, my goal is to customize the
scroller's appearance, and yes, I wish this process involved less
guess-work. As you say, there is no empty space when you let the
scroller draw normally. You only see this when drawing a custom
scroller based on the rects retur
Yes, I meant scroller, not slider. Just had a glass of wine too much :-)
Actually I don't want to add an accessory view, I want to get rid of
the one that appears to be there by default. I have attached a
screenshot showing what I'm talking about. The yellow part is the
knob, drawn by filling the
Thanks, but the corner view is the right side corner of the header
view, right? I was talking about the small view just below it, on top
of the vertical slider and part of the slider itself. It's a tiny view
of about 2 pixels height. I believe it corresponds to
NSScrollerNoPart, but I'm not sure.
Hi,
NSScroller has a small view, by default two pixels high, just above
the scroller and below the NSTableHeaderView's corner view. How can I
get at this view? If you look at the XCode interface you can see they
have put an icon in this view (the one that splits the editor view)
and made it larger
t admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/slasktrattenator%40gmail.com
>
> This email sent to [EMAIL PROTEC
}
> >> }
> >>
> >___
> >
> >Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> >
> >Please do not post admin requests or moderator comments to the list.
> >Contact the moderators at cocoa-
I narrowed this down by removing the filters, and the leak is still
there. And what a leak! Everytime I draw the view the memory usage
increases with the size of the drawn image. Yet this exact same code
is used in the Core Image Programming Guide. So I figure it's a bug in
Core Image. But how can
Thank you!
On Mon, Mar 10, 2008 at 8:04 PM, Christopher Nebel <[EMAIL PROTECTED]> wrote:
>
> On Mar 10, 2008, at 4:56 AM, [EMAIL PROTECTED] wrote:
>
> > Anyone know how to get the index of the current iTunes track using
> > Scripting Bridge? With Applescript, it's as simple as "tell iTunes
> >
Hi,
I'm applying a Core Image filter to an image in a NSImageView
subclass. The drawing works fine, except it leaks memory, not sure
why. This is my drawRect method. Anything wrong with it? Thanks.
- (void) drawRect:(NSRect)rect
{
[[self image] setFlipped:YES];
CIImage *image =
Right, thanks. That was a typo in Mail. Still doesn't do the trick
though. However, I found it does if I do a "get" on the
[currentPlaylist tracks] and [iTunes currentTrack]. But this seems to
cause a memory leak, so I'm not sure it's the right way to go.
On Mon, Mar 10, 2008 at 3:49 PM, Jean-Dani
Followup... I tried two workarounds, both however return an incorrect result:
// Try #1
iTunesPlaylist *currentPlaylist = [ iTunes currentPlaylist ] ;
SBElementArray *currentTracks = [currentPlaylist tracks];
int index = [currentTracks indexOfObject:[iTunes currentTrack] + 1];
NSLog(@"%d", index)
Anyone know how to get the index of the current iTunes track using
Scripting Bridge? With Applescript, it's as simple as "tell iTunes to
return index of current track", but iTunes SB has no such property
(well, there is one, but it only refers to the index of the current
playlist). It seems the iTu
33 matches
Mail list logo