How to assign keyboard shortcutkey in my js file?

Hi,
I want to assign shortcutkey for my control in JS.
Anyone can tell me how to do or give me one example?
Best Regards.
goldbridge
2008.4.7

Hi,Dave
Thanks for your reply,but I want to assign shortcutkey for my control not for JS.
Anyone can give me some advice?
Best Regards.
goldbridge

Similar Messages

  • How to assign special FilePermission in a policy file

    Hi,
    I'm using jaas 1.0 with JDK1.3.
    I want a user to be able to specify a file (a password file : login-password) and to be able to access it before being authenticated. (and so without any permissions to access it)
    I'd like to assign FilePermission not for a file in particulary but for files with an extension in particular (*.pwd in my example). How can I do it in a policy file ?
    Check my code :
    I am in the e:/dvpl directory.
    if I specify that the file must be passwd2.pwd, that's ok, that works, but
    if I want to give read permissions for all the files in conf/ or just for *.pwd, that doesn't work.
    How can I do ?
      //permission java.io.FilePermission "e:/dvpl/conf/passwd2.pwd", "read";
      permission java.io.FilePermission "./conf/-", "read";
      permission java.io.FilePermission "e:/dvpl/conf/-", "read";
      permission java.io.FilePermission "e:/dvpl/conf/*.pwd", "read";Thanks for any help.
    Yann P.
    JOnAS The EJB Server
    http://www.objectweb.org/jonas/index.html

    if you want to give read permissions for all the files in conf:
    permission java.io.FilePermission "\\dvp\\conf\\-","read";
    Hope this help!

  • How to change File Kind (not "how to assign an application to open a file?)

    I build the toc.ncx file (part of the ePub setup) automatically, based on user input and source file content. It's fine, except that the file Kind (as shown in Finder Preview, for example) is Plain Text.
    The Kind should be Unix Executable File (the actual description is "zmedia-type="application/x-dtbncx+xml") in order for the file to function correctly with the rest of the ePub generation.
    I could set the file Kind in the program (I think!), except that I do not know what the code for such a Kind is.
    Can you help?
    Message was edited by: David Neale1
    Message was edited by: David Neale1

    To make the file a Unix executable can be done as follows:
    Open the Terminal application in the Utilities folder and enter the following:
    sudo chmod 755 /pathto/filename
    Press RETURN. Enter your admin password at the prompt; it will not be echoed. Alternatively put a space after "755" then drag the file's icon into the Terminal window.
    If you want the Unix icon simply set the file's default application to Terminal by selecting the file then Press COMMAND-I to open the Get Info window. Change the default application in the Open With section. If you want all .ncx files the same way then click on the Change All button.

  • How to change keyboard map fmrweb.res for different forms

    I'm using Oracle Forms 10g with Oracle Forms and Reports Application server 10g.
    I know how to change fmrweb.res to change how keys function on web forms. The problem I'm having is I only know how to assign the fmrweb.res file when connecting to the application server, which means all forms running on that session have to use the same keyboard mapping.
    I know you can change the defualt fmrweb.res for all the forms executed on the application server
    and you can change the fmrweb.res file in the URL like
    server/forms/frmservlet?Form=login.fmx&config=dataentry
    (where dataentry is defined in the formsweb.cfg file)
    and in the config section I have
    [dataentry]
    term=fullpath/fmrweb_new.res
    My question is, is there a way to pick a different fmrweb.res file based on the form?
    Can you specify multiple forms in the basexxx.htm file(basejini.htm) in the PARAM section like
    <PARAM NAME="serverArgs"
    VALUE="module=form1.fmx term=fillpath/filename1.res"
    VALUE="module=form2.fmx term=fillpath/filename2.res"
    VALUE="module=form3.fmx term=fillpath/filename3.res"
    VALUE="module=form4.fmx term=fillpath/filename4.res">
    Is there a way to pass term=fullpath\filename.res to the Oracle Forms Web Runtime process for each form using call_form, open_form, or new_form?
    Edited by: user537213 on Sep 19, 2008 5:38 PM
    Edited by: user537213 on Sep 19, 2008 6:24 PM

    Posiible approach (i now it sounds strange):
    Configure your enter-key to fire the KEX-EXEQRY-Trigger.
    In the dataentry-form-module: Overwrite the KEY-EXEQRY-Trigger so thtat is just does a NEXT_ITEM; .
    I know there may be other implications depending of the compelixity of your dataentry-form, but maybe this helps.

  • How to assign TAB Sequence ?

    Hey..
    Can anybody tell me how to assign tab sequence...? I mean if I have some buttons & controls on the front panel try to visualize front panel of login ; whenever I press TAB from keyboard i want the selection of the buttons & controls should be in sequence... Can anyone tell me how to do this...?  
    Solved!
    Go to Solution.

    See Edit\Tabbing Order and, right-click on control Advanced\Key Navigation
    Cheers!
    "Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)

  • Assigning keyboard shortcuts to volume controls

    Hi, I have a new MacBook, with the default that F4 brings up Dashboard. I don't like Dashboard, and would rather have F4 show the desktop, next to F3, which shows all windows as the default. Moreover, I'd like to reclaim F7, F8, and F9, which are taken over by audio/video play controls. So I thought I'd tick the box under Keyboard preferences to use F1 etc. keys as standard function keys. Under the Keyboard shortcuts preference pane, I can assign F1 and F2 to brightness controls, F3 to show all windows, and F4 to show desktop. So far so good.
    BUT, I can't figure out how to assign my volume controls to F keys. Any thoughts?
    Thanks in advance,
    Ken

    http://www.macosxhints.com/article.php?story=20010508131542947
    http://forums.macosxhints.com/showthread.php?t=1215

  • How to assign drum pads of mpk mini in Ultrabeat????

    This question has probably been answered before but i could not for the life of me find a thread or response anywhere that helped me solve my issue which is:
    I have an mpk mini controller it has 25 key keyboard, 8 drum pads with 2 banks, and 8 knobs. I am new to Logic and especially Ultrabeat and have been having major trouble when it comes to assigning my controller. Specifically i need help with how to assign the drum sounds in ultrabeat to the drum pads on my midi controller. I have heard that ultrabeat has a learn function but i cant seem to figure out how to use it in Ultrabeat. The keys on the keyboard work fine, when i hit them i can hear the drum sounds in Ultrabeat and can see the coresponding keys on the Ultrabeat interface lighting up so that is all well and good. But im trying to figure out how to program/assign my 16 pads(8pads w/ 2 banks) in Ultrabeat itself without having to use the editor software that came with my midi controller...is this possbile? I can see @ the top of the Ultrabeat window 4 drop down boxes grouped as "midi controller assignments" but when i click them and select "learn" nothing happens when i hit the notes with my mouse on Ultrabeat and then try to hit the pad i want that note to be assigned to. I know im missing a step here or doing something wrong.... Any help with this is greatly appreciated. Thanks.

    FLdrummer wrote:
    How do you assign certain sounds to certain triggers of a midi device in logic? I >cant figure it out for the life of me :\
    You can create a Mapped Instrument object in the Logic Environment and cable to the Ezdrummer Channel strip. Set the Mapped Instr object to "No Port" and create a track for the Mapped Instr in the Arrange. Double click the M.I to open its dialog. You will find a column where you can change/transform the Note Pitches. For example SN1 from D1 to E1 etc. You can select the M.I track and record events on it. Note during play the note events will be transformed in real time but if try to record you will fined that your original notes are recorded. If want to record the transformed notes then you must patch the M.I between the Physical Input and the Sequencer Input in Click & Ports layer.
    !http://img59.imageshack.us/img59/4967/aglogo45.gif!

  • How to assign shortcuts to special characters?

    Hello everyone,
    I have a question about assigning shortcuts, so here I go: I would like to know if there is a way (and if yes, how) to assign personal shortcuts to special characters on my newly acquired MacBook Pro running Mac OS Lion.
    The problem is that I use the Swiss-French keyboard layout and that I cannot use directly the keyboard to insert characters, such as 'Ó' or 'Í' (capital letters), whereas – strangely – I can insert their respective lower case characters. I also happen to use various other characters from different languages, such as 'ð' or 'þ', to which I would like also to assign personal shortcuts, so as not to constantly have to change my keyboard layout for every single one of them.
    Thank you very much for helping me out!
    Cheers!

    Wow! Thank you very much for your very clear explanations Barney-15E!
    Here is what I get when I try to do what you said (and what is actually what I have been doing up to now).
    So basically this is what I get when I open Keyboard Viewer (I remind you that my keyboard layout is Swiss-French):
    I then have two options to type either of the two accents:
    Shift+^ to get `
    Option+^ to get ´
    The first accent works perfectly well. I can type all the needed letters bearing a ` accent, regardless of their respective case.
    However, a problem arises when trying to type capital letters accentuated with  ´ accent.
    Here is what I get for the lowercase (Option+^):
    Everything is fine (except that the ý is missing... Which is another concern of mine)...
    But look what happens when I try to do the same for capital letters.
    What the devil happened to the Á, Í, Ó and to the Ú? Only the É seems to remain...
    And thus my problem. I cannot type Ó,... Using this method. What I get is a silly ´O or ´I... Uppercase letters are not accentuated.
    I hope this time my problem was easier to understand...
    The best way to solve this would probably be to assign shortcuts to special characters, but as mentioned above, apparently such a method does not exist, unfortunately...

  • Need to assign keyboard shortcuts to open applications!

    How can I assign keyboard shortcuts to open applications such as mail, safari, iphoto, fcp, shake and etc...
    Thanks in advance,
    Zia

    It's a bit confusing, but you cannot assign a keyboard short-cut to launch an app. That window is for assigning a keyboard shortcut to an EXISTING menu command in the app you selected, if that menu command does not have a keyboard shortcut already.
    So if you select System Preference as the app, and enter Menu Title of "About System Preferences" and enter Opt-Cmd-A as the shortcut, once you close and reopen System Preferences, Opt-Cmd-A will open the About System Preferences window, which is an existing command under the File menu that previously did not have a keyboard shortcut.
    You may be able to do what you want with a macro program like Quickeys.

  • Assigning keyboard layout automatically to certain applications?

    i want to assign my keyboard layout to automatically switch to swedish or US when i switch to certain applications. the reason is because of some keyboard layout collision with shortcuts bug in some applications.
    example: i use swedish layout in my writing apps like text edit, mail and ichat, and US layout in some of my working apps because of the shortcut bug problems. so when i switch to ichat i want the keyboard layout to autmomatically switch to swedish and when i switch back to the working app id like it to switch to US.
    so far ive used the input menu, but its a drag doing that all the time, i did assign the input menu switching to a shortcut which makes the process a bit easier but sometimes i tend to forget to do it and the application shortcuts stop functioning when i activate the buggy app and i have to restart it. ugh!
    also i tried with checking the "allow a different input source......" setting in international but its just really what im looking for.
    anyway, it gets really annoying doing this manually everytime when switching, which i do really often.
    is there a way to do this, maybe some third party application? i've tried to google it but i didnt find an app that lets me do such a configuration.
    powerbook hi-res 7200rpm   Mac OS X (10.4.3)  

    im not sure how that OS9 keyboard layout thing works
    but im not using classic at all on my computer.
    The point is that you can use OS9 keyboard layouts that are based on KCHR resources in OS X just by changing the name and installing them in Users/username/Library/Keyboard Layouts. I have no idea if it would solve your problem, but I think it would be worth a try. You can download Swedish.rsrc here (using a Mac):
    http://homepage.mac.com/thgewecke/fs/FileSharing9.html
    Another approach is to take a keyboard that does work and try editing it so it works like a Swedish layout even though programs think it is US or whatever.

  • How to assign numbers in external number range?

    Dear experts,
    Since NUMBER_GET_NEXT can only be used to assign numbers in internal number range, how to assign numbers in external number range?
    So far, I only know the NUMBER_CHECK function module to deal with external number ranges and it only check a number whether it lies in any external number range or not, but it doesn't update any number range status. What I need is a function module like NUMBER_GET_NEXT that supports external number range.
    Thanks in advance.
    Regards,
    Haris
    Edited by: harissahlan on Oct 19, 2011 5:44 AM

    With external number range, there is no updating of the number range objectt. The only thing you need to know is whether the number you wish to assign is allowed according to the external number range. And also check if there isn't already an object/document with the same number in the database.

  • How to assign a task to Reuestor in OIM 11g

    How to assign a task to a requestor (who has raised a request for other user).
    I created a Task assignment adapter and mapped variable in Process definition as
    Map To: Request Info
    Qualifier: Requester User Login
    Still it returns null and default task is assigning to System adminstrator. I am pasting the Task Assignment code here. User key value coming as Null.
    Do you have any idea what is the exact mapping required in Process definition.?? Pls note: I am using OIM version 11.1.1.5.0
    public class TaskAssignmentToUserAdapter {
         Logger logger = Logger.getLogger("COM.IDM.PROV.COMMON.ADAPTERS");
         public String getTargetType(String targetType){
              return targetType;
         public String assignTaskToUser(String userKey,tcDataProvider dataProvider ){
              System.out.println("The user key value:" +userKey);
              return userKey;
         }

    Not sure what sample code I can give you, but you need to do a query in your adapter like:
    select REQUEST_KEY from OIU where ORC_KEY='?'
    Here ORC_KEY should be mapped to the process instance key.
    Once you have the Request key, you can use RequestServcie APIs to get the requester information. http://docs.oracle.com/cd/E14571_01/apirefs.1111/e17334/oracle/iam/request/api/RequestService.html#getBasicRequestData_java_lang_String_
    Or if you don't care then get the requester key from the request table. Thus you can have the final query as:
    select USR_LOGIN from USR where USR_KEY=(select REQUESTER_KEY from REQUEST where REQUEST_KEY = (select REQUEST_KEY from OIU where ORC_KEY='?'))
    HTH,
    BB

  • How to assign an order to a GL account

    Hi all,
    Can anybody please let me know how to assign an order to the GL account?
    Thanks,
    S.Sumana.

    Hi,
    There is no such an assignment. When you post a document, you define your G/L accounts and cost objects. If you want to make a default internal order for certain cost element, you can go to KA02 or OKB9 and define the defaults there.
    Regards,
    Eli

  • How to Assign a Constant Value to a Dim. Member when pulling Master Data?

    BPC Gurus:
    I am trying load Vendor and Customer Master data into BPC dimension.  My Dimesnion has memebrs: ID, EVDESCRIPTION, PARENTH1, TYPE.  I have successfully pulled the ID and the description from 0CUSTOMER and 0VENDOR.  However, I
    need to have a ttext value for 'PARENTH1' and 'TYPE'.  For Customers, I want to add a FIXED value "'CUSTOMER' for every
    Customer ID pulled in and also for "TYPE", I want a value of "CUSTOMER".  When I maintainthe Dimension, I want to see
    th followingvalues:
    ID                          EVDESCRIPTION                                   PARENTH1                         TYPE
    0000000001         WALMART                                            CUSTOMER                        CUSTOMER
    0000000002          TARGET                                               CUSTOMER                        CUSTOMER
    and so ON
    Since we have Vendor Numbers in the same Diemsnion, when I pull Vendors, I need to have similar values as:
    ID                          EVDESCRIPTION                                   PARENTH1                         TYPE
    0000005050         ABC Supply Inc.                                   VENDOR                            VENDOR
    0000005051         BASF                                                    VENDOR                            VEDOR
    and so ON
    How can assign a Fixed value to the member Propert?  Can I achieve it in Conversion file....? 
    ( My atempts failed...).
    Any suggestion recommendation would be gretaly appreciated.
    Munna.

    Hi,
    For adding fixed values to the properties, you can use the transformation file. In the mapping section, you can specify a constant value. This value will be written to properties of all the members while importing master data. However, for parenth, its a bit different. First thing is that, you need to have a member called CUSTOMER, then only you can have CUSTOMER in the parenth column. Even if you add it and use the mapping section for this purpose, then it will write CUSTOMER to parenth for all the members (even to CUSTOMER member). And this will be wrong. So, you will need to write it manually.
    Hope you got the idea.

  • How to assigne multiple value in key of read table

    Hi gurus,
    I want read table xxxx with key field1 = ' xxx' or field1 = 'yyy'.
    how to assign multiple value as key for the same field while reading internal table.
    Regards
    sagar

    Hi ,
    You can loop the internal table like
    loop at  <table xxxx> where field1 = ' xxx' or field1 = 'yyy'
    or you can write two read statements to read the internal table in wrk area.
    read table   <table xxxx> with key field1 = ' xxx'.
    if sy-subrc <>0
    read table   <table xxxx> with key field1 = 'yyy'.
    if sy-subrc = 0
    endif.
    else.
    do your data processing.
    endif.
    Thans.

Maybe you are looking for

  • How do I work with FK in a data profile?

    Hello People: I am new in OWB tools and I have many doubts. Therefore, I would like to know if anyone can guide me a bit with the theme of FK and profiles. How do I work with FK in a data profile? If I have a table that has a FK to most of the tables

  • ITunes won't open after installing upgrade and restarting

    When I click on my iTunes icon in the dock, iTunes won't open. Instead, a message box comes up: "The file iTunes "library" cannot be read because it was created by a newer version of iTunes." Just before this happened, I imported a lot of music into

  • Ipod 5G Video - Sync Mac/PC

    I initially synced my ipod to my PC. I now have a Macbookpro and just starting to use for often then my PC. Should I have a problem if I resync to my Mac ???? Can one switch back and forth from PC to Mac???? zimer

  • Since upgrading to Yosemite, I can no longer print to my Kodak AiO.  The fix on Kodak site does not work.

    Since upgrading my Macbook to Yosemite 10, I can no longer print to my Kodak AiO 5250.  The fix on Kodak site with Terminal does not prompt to password like it says it will.  Macbook has all available upgrades completed.  Printer works with a PC. 

  • Search in Mail stopped working

    Suddenly, search in Mail has stopped working. I can type in a simple word like "we" (without the quotes, of course) and nothing appears in the list. It doesn't matter if I choose a specific mailbox or "All Mailboxes," or "From" "To" "Subject" or "Ent