I'm looking for a show to show the "split keyboard" instead of the regular one.
I know that the user can drag the regular and show the "split", but is it possible to show directly the split?
Thanks (and sorry if very easy!)
No, you can not pre-set the location of the keyboard. It starts off in the way it sees best, and the user can adjust it if needs be.
Related
I would like the user to be able to click on the system tray icon to hide a window if it is visible, or show it if it isn't. However I can't see way to detect the show/hide state of the window.
I looked here but couldn't see anything that would give me what I need. The only way seems to be to keep track of if my last call was to show() or to hide(). Is there a better way?
I've needed this myself just recently, but as far as I know the best (only?) way is to set a boolean (e.g. var showing = true;) and then on every change (including the minimize and restore events) set the boolean to the correct value. Then you could simply make an if statement when clicking on the tray icon to see if the window is showing, and if it is hide the window, otherwise show it.
Hope I helped you a bit, I'm still looking for a better way myself but this is all I have found so far.
i'm making a windows application that would open a program and click on certain coordinates, first i need to know how to get a coordinate, which i already know, but how do I let my mouse click on a certain position? Simply it would be somthing like mouse.Click(coordinate). I don't know, could anyone help?
Regards
I tried putting this as a comment, but SO wouldn't put the comment up after I typed it, so I had to put what I had as an answer.
Here are two links that might have what you're looking to do: http://social.msdn.microsoft.com/Forums/vstudio/en-US/7b68f005-1d09-4085-b236-b05797df3bf0/how-to-make-the-mouse-click
and
http://social.msdn.microsoft.com/Forums/vstudio/en-US/a2518c35-ed77-42b3-a9c4-705238d714c2/mouse-click
And if you just want to click a button, you could use
button.Performclick()
But I don't think that there's any simple way (such as Mouse.Click()) to make the mouse click anywhere.
HTH
I don't know the specific name for this button, but it is the one with the microphone that when you press it, it allows you to speak, and it will convert your speech into text.
I haven't been able to find anything on this, but when I click to edit a textfield I want that button to be pressed automatically so I can just begin to speak and then click done so that it will convert the audio to text.
I don't know if this is possible and can't seem to find anything on it... Probably because my search is weak since I have no idea how to ask it.
If anyone knows how to do this, or knows where there is anything on it, I would appreciate it greatly.
You cannot do that.
That is a part of Siri.
Till now Apple not provided any api to interact with siri.
This is a part of the iTunes smart playlist creation window; for my application I need to create something very similar to this:
The changes I'll be making would be the column that says artist would be integers (but still a pop up button), same with the second column. The third column would be text input like in the picture. I would like to keep the functionality of the "+" and "-" buttons but I don't have much use for the "..." button. Is there any easy way to recreate this? I need the user to be able to add as many or few fields as necessary.
Thanks in advance!
If you don't need to support 10.4, take a look at NSPredicateEditor. It should allow you to easily recreate iTunes' interface with the changes you describe. http://nvie.com/posts/nspredicateeditor-tutorial/ may be useful to help you get started.
I am a newbie in Mac application development. I want to write a GUI application in Cocoa using Interface Builder. I want multiple screens i.e. when one button on a screen is clicked, another screen should be displayed. How can I activate a new screen at button click event?
I would heartily recommend Aaron Hilegass's book Cocoa Programming for Mac OS X. It took me from feeling like everything was impossible to being relatively competent in the space of a few short weeks. I was very impressed with it.
Apple's documentation is amazingly good, but it takes a while to get used to the style, and you will need to know which objects actually exist before you can look up how to use them, which is where Aaron's book comes in.
Your library may have a copy of it, or be able to order one for you if they don't.
I think you mean windows, not screens. Screens are the displays (monitors) on which all the user's windows from all the user's applications appear.
And I second Jonathan's recommendation of the Hillegass book.
The button has a target. That should link to the new window. As its action you can tell the window to show itself.
Take a look at:
http://developer.apple.com/DOCUMENTATION/Cocoa/Conceptual/WinPanel/WinPanel.html
I think what you want is the type of interface like that seen in Coda, or System Preferences where there is a toolbar on the top of the screen that can be used to select between the content of the window.
The simplest method I have found is to use BWToolkit.
Another method is to use a series of views, and switch between them when the toolbar is clicked. I've found one description here, but that's not the one I used first (which may have been originally in Ruby Cocoa, IIRC).
NSTabView.