How can I get a cursor position?

Hi Everyone!
In my TextArea, there is a blinking cursor.
How can I get the cursor position not the mouse position.
Thanks,

Thanks JefferyGong!
That is selection index number, not the coordinate point.
I want to know point position.
Gyi

Similar Messages

  • How can I get the cursor's position in a opened file and display a menu?

    Hello,
    I want to make a program by which I will be able to display a panel/pops up menu at the corsor's current position, (In any text/doc file or in the desktop, we can display a menu by right click of the mouse.) Now I want my program to do the same task.
    More clearly-
    1. First I would save some words or sentences in a file(aa.txt).
    2. Then I would open another text file/ a word/ excel/ or any other editor( bb.txt / cc.doc / dd.xls / ee.html ).
    3. While editing or writing something in the opened file, if I click the right mouse button/ press a key (ctrl+space), a menu will appear containing the sentences I saved in the file(aa.txt) previously.
    My program will tell me the cursor's position in bb.txt / cc.doc / dd.xls / ee.html that i opened. And display a menu. my problem is not reading / writing in a file.
    My problem is how can I get the cursor's position in a opened file display a menu at that position by a mouse/key action*.
    Would you please help me on this regard.
    Thanks

    DrClap wrote:
    I think the OP wants to start up an application like MS Word and then operate it from a Java program.Doesn't The Monkey's Paw do that? What a second, according to Wikipedia:
    [http://en.wikipedia.org/wiki/The_Monkey%27s_Paw]
    <quote>
    ...the paw of a dead monkey is a talisman that grants its possessor three wishes, but the wishes come with an enormous price.
    The moral of the story is contained in this description of the paw: "It had a spell put on it by an old fakir," said the sergeant-major, "a very holy man. He wanted to show that fate ruled people's lives, and that those who interfered with it did so to their sorrow."
    </quote>
    So I guess that a non-sequitor ... or is it?

  • How can I get the cursor value from a waveform graph

     Is there a way to get the value of cursor position on the waveform graph so mathematical calculations be performed on those values. We can see the value in cursor legend, but can we extract those values for future calculations in the block diagram somehow.

    Right-click on the waveform graph icon.  Select Create>Property Node>Cursor>Cursor Position.  That spits out a a xy cluster for the current cursor position.
    If you have more than one cursor, you can either set up a loop and set the Active Cursor property node (right click the property node and select "Change to Write") or you can pull everything you ever wanted to know about every cursor with the Cursor List property node. 

  • How can I get the cursor to appear in the main search window on the Google home page by default?

    The cursor in my Firefox appears in the address bar. I would like it to appear by default in the main search window on my default home page, Google.com. How?

    This is all very Greek to me. Is it really this hard just to get the cursor to appear in the main search window when Google.com is one's default home page?
    I don't really know much about Firefox extensions. My list includes Adblock Plus 1.3.8; Duplicate This Tab 1.2; Java Console 6.0.25; Java Quick Starter 1.0; Microsoft .NET Framework Assistant 0.0.0; New Tab Homepage 0.4.3. Nothing unusual is indicated for either Java item, Console having been updated 4/27/2011.
    What to do next?
    Thank you.

  • Audio Selection in 3.0: How can I get the cursor to move smoothly?

    I need to be very precise in editing clips in Multitrack View. Right now, the only way I can get the cursor to move smoothly (and not in that herky-jerky motion between zero-crossing points or whatever that it defaults to) is by holding down the CTRL key while using the Hybrid tool. Is there a setting for this somewhere so I don't have to do this every time? Thanks.
    Steve

    Right click on the timescal at the bottom of the waveform display. You will get a drop down box that allows you to change DisplayTime Format, Snapping and Zooming. Go to the Snapping menu and turn on or off those that you want to use.

  • How to get the cursor position in the text edit box?

    Hi, all.
    I want to get the cursor position in the text edit box
    to insert some data.
    But I don't know how to get.
    Can someone give me some advice?
    BestRegard.
    Miya.

    Hi Miya,
    Write your own textSelectionSuite for this.
    and use ITextTarget->GetRange() function.
    Thanks and Regards,
    Yopangjo.

  • When initiating an e mail to someone with several addresses used in the past the one I use most often does not come up in the first position.  How can I get these multiple e mails prioritized?

    When initiating an e mail to someone with several addresses used in the past the one I use most often does not come up in the first position.  How can I get these multiple e mails prioritized?

    We are talking about the Mail app, right? In the Mail menubar, click on Window and then Previous Recipients:
    That eliminates the previous recipients. If you are talking about the suggestions because there are 10 people with the name 'Steve' in your Contacts, then I do not know how to eliminate those unless you change the name slightly or wait until you type the last name or some other differentiator.

  • How can I get the direction handles to show up for the Position attribute?

    How can I get the direction handles to show up for the Position attribute?
    I have CS3 and I did the formentioned test and was able to make the handles work for the scale attribute but they don't seem to show when editing the position values.
    *I am in the graph editor looking at the "value graph"
    *I select the keys and convert the keys to auto bezier (I also tried the ease in and out buttons)
    *It changed the graph the way you might think (no longer linear) however the handles are not showing to edit further.
    *I also tried using the "convert vertex tool" (part of the pen tool) and still no luck getting those handles.
    *the handles only show up in the speed graph but that does me no good.
    Please help!
    THANKS 

    I don't have CS3 installed on any of my machines any more but your value graphs for position should look something like this:
    There are no handles for position in the Graph editor. You adjust the position curve by editing the motion path in the composition window. Press the G key to bring up the pen tool, then use the modifier keys Crtl/Cmnd and Alt/Option to temporarily switch between select and convert vertex to adjust the paths. Changes will be reflected in the value graphs. You will get editable handles with scale and rotation because these are not spatial properties. Spatial properties, position, Anchor Point, all XY & Z coordinates are edited in the comp window or in the layer window after revealing the properties. IOW, you edit anchor point position paths by opening up the layer window and choosing Anchor Point from the display options.
    The Manual isn't wrong. Here's a link to the live docs.

  • Whenever I ask Siri a question it just links me to a website instead of just saying the answer.  The reason I ask Siri is because i am not in a position to look at my phone.  How can I get Siri to just answer my questions??

    Whenever I ask Siri a question it just links me to a website instead of just saying the answer.  The reason I ask Siri is because i am not in a position to look at my phone.  How can I get Siri to just answer my questions??

    I found that the only time Siri will read anything to you is if it finds a Wikipedia article. Siri will let you know it found that, and ask if you want it to be read out loud. Other than that you will hear the "I found this, take a look".
    The only other thing you can do is activate "Speak Screen". It will involve you taking a look at your phone for a moment, selecting what you'd like to look at, but Siri will read the content to you. It's in Settings > General > Accessibility.  Once activated, all you have to do is slide two fingers from the top of the screen and you will have it read to you. I use it all the time because of my astigmatism. It's pretty useful.

  • After creating a table, how do I type outside of it?   I can't get a cursor to come up.

    After creating a table, how do I type outside of it?   I can't get a cursor to come up.

    Barker,
    If by "outside" you mean "on the right or left of" a table, you must make the Table a Floating Object to do that.
    If you must use Inline Tables, you can do this:
    Add a Floating Text Box with the text that needs to be "outside" the table. Arrange, then Group the Text Box with the Floating Table, and then set the Group to Inline.
    Jerry

  • How can I get extract the data between two cursors on an XY graph

    How can I get extract the data between two cursors on an XY graph

    Well, you say xy graph, so this might be a more complicated problem.
    For a waveform graph it's trivial. Simply get the two cursor indices (property: cursor index) and apply them to array subset of the data. Is that all you need?
    Here's how the above code would look like. using cursor.index instead of cursor.x elimnates the need to include scaling information.
    For an xy graph, there could be multiple segments (e.g. imagine a spiral that passes the desired x range multiple times from both sides). This would neeed significantly more code for a general solution.
    Message Edited by altenbach on 11-24-2009 07:53 AM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    cursorsubset.png ‏17 KB

  • My cursor somehow is displaying a magnifying window.How can I get rid of it.

    My cursor is displaying a magnifying window that I can't seem to get rid of.What did I press by mistake and how can I get rid of it?

    Try clicking On then back Off again.
    If you still have trouble, try deleting the preference files assoicated with Universal Access.
    Quit System Preferences if it's open.
    Go to  ~/Library/Preferences
    To find the Home folder in OS X Lion, open the Finder, hold the Option key, and choose Go > Library
    Move the   com.apple.universalaccess.plist   file from the Preferences folder to the Trash.
    Relaunch System Preferences > Universal Access
    edited by:  cs

  • How can i get the position of my object

    HI,ALL! i get a queation now. when i picking some transfromgroup,and move it.(use picktranslatebehavior),i want to get the position of the transformgroup after it has been moved.so how can i get it?!Apology for my bad english .thanks!:)

    Check out:
    http://forum.java.sun.com/thread.jspa?threadID=633485&tstart=15

  • How can I get the position assigned to the user in CRM .

    Hi all ,
    How can we get the positions to which a  user is assigned as a holder in CRM .
    Thanks ,
    Naval bhatt .

    Hi,
         Use the PPM toolkit class CL_CRM_PPM_UM_TOOLKIT. You can use the method You can use the method GET_ASSIGNMENTS_OF_USER which returns positions held by an user(user name).  You may also find the method GET_POSITION_OF_USER useful. It accepts username and the organization ID and will return the positions held by the user under that organization.
      This class always uses the current plan (01). If you want otherwise, you can use the FM RH_STRUC_GET. As to how this FM should be used, look inside the above said methods.
    Regards,
    Arun Prakash
    Edited by: Arun Prakash Karuppanan on May 11, 2010 11:40 AM

  • TS3361 Hello.. I have a MACBook that is 3 years old..recently the WiFi status is stuck in the off position..how can I get it to turn on.I tried turning it on but its not budging.

    Hello.. I have a MACBook that is 3 years old..recently the WiFi status is stuck in the off position..how can I get it to turn on.I tried turning it on but its not working.

    There are some instructions here.
    wireless issues with Mavericks in particular.
    This might fix some issues with the Airport Extreme or TC if people upgrade installed.
    https://discussions.apple.com/thread/5219345?tstart=30

Maybe you are looking for

  • Moving music from my i phone to my laptop?

    I am trying to move music from my i phone to i tunes on my laptop but I used to have my phone synced with my old laptop and it's saying that i will have to erase my i phone music. Is tere another way to move or sync all the music to my laptop? Thanks

  • SAP TDMS

    Hello All, Our client needs to get homogeneous master, customizing, workbench and transactional data from production environment to the quality and development systems. Actually we are heading this small project  and we have found that a useful tool

  • My Time Capsule says it is full

    My Time Capsule says it is full and cannot complete another backup. How do I delete files from Time Machine to allow room? Thanks!!

  • Shipping and Transportation Multimodal - Pricing Error

    Dear Friends, I have created a Shipment Cost document with the T-Code VI01. There are 3 legs in the Transportation document viz first through Road, second through Rail and the last through Sea. The pricing procedure used for all the three legs are di

  • Can't copy song!!

    Hi, I'm using ipod 80 gb. I got one problem. When I connect ipod to my macbook, I can't copy any song from ipod to the desktop. iTunes can't allow me to do this. Is there any chances to copy some song from ipod into one folder or into desktop please?