NULL);
But this does not work on 10.6. Why? The authorization is ok, as I tested it
with other commands and works fine. The syntax for pmset is right also...
Thanks in advance,
--
Luca C.
___
Cocoa-dev maili
Hi Kyle,
Thanks for the reply.
So, are you saying I should use a setuid tool instead of AEWP? Can you
suggest some recommended way to do it?
2010/7/20 Kyle Sluder
> On Tue, Jul 20, 2010 at 1:34 AM, Luca C.
> wrote:
> > Hi everyone,
> > I'm having a strange prob
I use and release autorelease pools in sub threads, etc.
What happens is that the app crashes randomly. Usually 2 times will crash,
and the 3rd will run normally.
How can I fix this? Where should I look?
P.S. I'm on Snow Leopard.
Thanks in advance
--
Luca C.
___
products are in an order, just go serch for
your order in the array of dictionaries and get it. This is just to clarify
that you haven't to search for strange things.
This is not performant - it's just to help you figure it out.
--
Luca C.
___
Thanks for your reply - solved. The problem was because of a goto: placed
before any init happened.
2010/9/9 Bill Bumgarner
>
> On Sep 9, 2010, at 4:27 AM, Luca C. wrote:
>
> > 0 libobjc.A.dylib 0x7fff8766c11c objc_msgSend +
> 40
> > 1
ke a look here
<
http://developer.apple.com/DOCUMENTATION/Carbon/Reference/LaunchServicesReference/Reference/reference.html#//apple_ref/c/func/LSOpenApplication
>
The Process Manager's LaunchApplication works well, too.
<
http://developer.apple.com/DOCUMENTATION/Carbon/Reference/P
Essentially they are the same, but the word "value" fits nicely with KVC.
--Luca C.
___
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-
whenever and wherever you want.
Caching its value is quite useless and needs more code, as you should
update it every time your view will be resized.
--
--Luca C.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin re
hat would be to implement your own tooltips.
You may be interested in -mouseEntered:, -mouseExited: and -mouseDragged:
methods of NSView (inherited from NSResponder).
--
--Luca C.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do
oa_-_ID3Tag_framework.html>
--Luca C.
2009/3/25 Andrew Farmer
> On 24 Mar 09, at 23:58, ldl0313036 wrote:
>
>> I want to extract an audio file's basic information in my application.
>> Like the iTunes ,when importing a song,
>> the song's information (for exa
ator 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/luca.pazzerello%40gmail.com
>
> This email sent to luca.pazzere...@gmail.com
>
--
your
tracks will be added after the user closes the dialog window.
Run the script in a separate thread so it won't block your application's
interface in any case. This could happen in some situations. You may want
to take a look to the NSThread class, in particular the
detachN
either applescript or SB will cause a block of the app
if iTunes has dialog windows opened.
The solution could be writing a command line application, wich does all
the work you need, either using AS or SB.
--Luca C.
___
Cocoa-dev mailing list (Cocoa-de
2009/4/1 Ammar Ibrahim
> On Wed, Apr 1, 2009 at 10:21 PM, Luca C. wrote
>>
>>
>> I didn't realize the unsafety of NSAppleScript - so I have been quite
>> lucky, because my usage of applescript in non-main threads haven't caused
>> me
>> any
Hi there, is there a clean way to let the user edit a cell of a table view
using a ctrl click event? Do i have to subclass my table view or there is
another trick to do this?
Thanks,
--Luca C.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com
tm/NSApplication/sendEvent
:>
--Luca C.
___
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/U
ven't tested with Leopard yet, but I'm sure it works there.
HTH
--Luca C.
___
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(
uot; and I've connected it with
> the method:
>
> - (IBAction)exitApp:(id)sender
> {
>// TODO
> }
>
> Now my question is: "Which call I have to do to quit my application instead
> of // TODO?"
> Is there a NSsomething to call?
--
--Luca C.
le while loop check against the
> previous value. So while it wasn't equal to the last it would be used. So
> this isn't using an Array by any means for anything.
> What's the best way to do this in Obj-C? The same way in AS3? I just w
2009/4/14 Uli Kusterer
> On 14.04.2009, at 01:44, Luca C. wrote:
>
>> You can put every (unsigned) value you want in there, though in
>> general it's used passing (unsigned)time(NULL) as parameter. This way
>> you'll always get a different int.
>>
>
20 matches
Mail list logo