I have created a pre-login agent which uses CGEventPost for simulating
keyboard. FYI I am developing a remote control app similar to teamviewer.
Keyboard (I tried other event sources too)
CGEventRef keyEvent = CGEventCreateKeyboardEvent( NULL, keyCode, down ) ;
CGEventPost( kCGHIDEventTap, keyEve
> On Jan 4, 2017, at 2:42 PM, Lorenzo Thurman wrote:
>
> What you have to do is when you get the didselect notification in the one
> table, you need to unselect from the other table. There are a couple of small
> issues with this still, and you lose the selection in the first table, if
> that
On Jan 4, 2017, at 14:11 , Jean-Daniel wrote:
>
> When using storyboard, the only way to instantiate window is by getting a
> reference to the window controller (by using
> -instantiateControllerWithIdentifier:), so it should not be an issue.
The problem I was referring to is when the window [
> On Jan 4, 2017, at 2:00 PM, cocoa-dev-requ...@lists.apple.com wrote:
>
> Hi all
> I would like to get your experience of using tableViewSelectionDidChange
> notification of NSTableView. I have 2 table using in my application. When I
> click first table row, it is selected and row shown as blu
> Le 4 janv. 2017 à 20:37, Quincey Morris
> a écrit :
>
> On Jan 4, 2017, at 02:30 , Daryle Walker wrote:
>>
>> I always had to guess how to retain a non-document window. I usually get it
>> after a bunch of hacking, but I want more official advice. Like I can get
>> from here.
>>
>> I thi
Sandor, just to let you know, all I did was go into the Date & Time System
Preference, and do the following:
Set the Time options to
- Use a 24 hour clock
- Open ~/Library/Preferences/com.apple.menuextra.clock.plist
- Copy and paste the contents into the email.
Set the Ti
Alex,
This is interesting, and thanks for digging it up.
Using this plist it appears that I could use [[NSUserDefaults
standardUserDefaults] addSuiteNamed:@"com.apple.menuextra.clock"] and access
this data with the key 'DateFormat'. I'm not sure I want to do this. I expect
there is a degree
On Jan 4, 2017, at 02:30 , Daryle Walker wrote:
>
> I always had to guess how to retain a non-document window. I usually get it
> after a bunch of hacking, but I want more official advice. Like I can get
> from here.
>
> I think there are three scenarios:
> - a window with 0 or 1 instances lik
Jeremy,
> On Jan 4, 2017, at 08:56, Jeremy Pereira wrote:
>
>
>> On 3 Jan 2017, at 16:34, Sandor Szatmari
>> wrote:
>>
>> Jeremy,
>>
>>> On Jan 3, 2017, at 10:30, Jeremy Pereira
>>> wrote:
>>>
>>>
>>>
>>> It seems obvious to me that method 1 only refers to the clock display in
>
> On 3 Jan 2017, at 16:34, Sandor Szatmari wrote:
>
> Jeremy,
>
>> On Jan 3, 2017, at 10:30, Jeremy Pereira
>> wrote:
>>
>>
>>>
>>
>> It seems obvious to me that method 1 only refers to the clock display in the
>> menu bar and nothing else. It’s a sub setting of
>> “Show date and time i
The NSDocument system makes sure the windows it creates are retained until
closing. You can see this in default new-project code. If you run the default
code for non-document apps, you see that there's no way to bring back the
initial window if closed, and therefore has no chance to show proper
11 matches
Mail list logo