Fn functionality switching according to focused application

I am trying to find a way to switch my Fn keys behavior depending on the application I have in focus.
Example: use Fn keys as media keys (brightness, volume, exposé etc) as default but when Textmate is in focus, switch them to function keys (F1, F2 etc). When Textmate loses focus, switch back to default.
Has anyone found an application that can do just that?
The closest I have come to an answer is FunctionFlip (http://kevingessner.com/software/functionflip/)

Take a close look at your requirements, and then also consider ViewStack. In any case, here are some links that will either answer your question or help out:
http://livedocs.adobe.com/flex/3/html/navigators_3.html
http://learn.adobe.com/wiki/display/Flex/ViewStack
http://livedocs.adobe.com/flex/3/html/help.html?content=controls_15.html

Similar Messages

  • What is business function switch?

    Hi,
        Can anyone tell me what business function switches are? And also how they are to be checked in the
    program (as to whether a business function is switched on or not)? Thanks.
    Regards,
    Suhas

    Hi,
    Here are the links which give wealthy info on Enhancement Frame Work(SWITCH).
    /people/thomas.weiss/blog/2006/01/24/what-the-new-enhancement-framework-is-for-150-its-basic-structure-and-elements-for-beginners
    /people/thomas.weiss/blog/2006/03/15/the-new-enhancement-framework-part-2--what-else-you-need-to-know-before-building-an-enhancement
    /people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-series
    /people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework
    /people/thomas.weiss/blog/2006/05/03/source-code-enhancements--part-5-of-the-series-on-the-new-enhancement-framework
    /people/thomas.weiss/blog/2007/12/12/the-three-use-cases-of-the-enhancement-and-switch-framework--part-1
    /people/thomas.weiss/blog/2008/01/07/the-three-use-cases-of-the-enhancement-and-switch-framework--part-2
    /people/thomas.weiss/blog/2008/01/14/the-three-use-cases-of-the-enhancement-and-switch-framework--part-3
    /people/thomas.weiss/blog/2008/01/23/the-three-use-cases-of-the-enhancement-and-switch-framework--part-4-the-many-ways-to-enhance-a-sap-application-with-the-new-framework
    /people/thomas.weiss/blog/2008/02/04/the-three-use-cases-of-the-enhancement-and-switch-framework--part-5-the-basics-about-switching
    Creating Switch.
    1. in SFW1, Once you create your SWITCH and assign your package and Activate it, it shows in Active mode but the SWITCH is not still Active GLOBALLY.
    2. To activate it, create a Bussiness Function in SFW2 and assign your SWITCH to this and Activate it.
    2.1 Here if you select the Business Function as type ' INDUSTRY ', then again you need to assign this Business Function to Business Function Set in SFW3.
    2.1.1 In SFW3, Create a Business Funstion Set, and assign this Business Function to it and Activate it. But your SWICT is still it not active Globally.
    2.1.2 Go to SFW5, and Activate your Business Function Set here, then your SWICT is GLOBALLY ACTIVE
    2.2 If your Business Function is of type ' Add On ', then there is no need to assign it to any Business Function Set.
    2.2.1 Directly, go to SFW5, click on type ' Add Ons ', and after identifing your Business Function, Activate your Business Function here, then your SWITCH is GLOBALLY ACTIVE.
    But the final problem is : Once you activate your SWITCH, there is no other way to deactivate your SWICTH.
    Enhancement implementations are switchable.
    Steps to assign a switch to BADI Implementation:
    1) Assign the Enhancement Implementation containing the BADI implementation to a Package/development class.
    2)Assign this Package/development class to a switch in transaction SFW1.
    3)Make sure the switch you are using has state ON. For this assign this switch to an ACTIVE business function using transaction SFW2. A switch inherits the state of the business function.
    Reward Points if answer is useful.
    Regards,
    Raj.

  • Windows - get focused application

    Hi there,
    does anyone know what dll & what functions windows uses to get information about the actual focused application:
    Name, file, ....
    Sincerely
    Jeb

    Hi
    If you really "striving to become an expert", start with a simple application showing all files in a directory using JTable, letting the user select a new directory to show, go back to the privies director ans some more options.
    If you like what you done so far, go into the JTree class and learn how to use it, then combine this class with what you already done.
    Next step will probably be looking into Drag and Drop interface
    This will use SWING, if AWT is what you want, your application will look poorer or you will spend a lot of time writing all this classes.
    You can find all the info in this forum, spend a day or 2 to search and write. If you will do it all by yourself it will be the first step to become an expert .
    Good luck
    Noah

  • Implementation of type-ahead functionality in Endeca JSP Ref application

    Hi all,
    I am trying to implement the type-ahead functionality in Endeca jsp reference application which Oracle is shipping with it's products. The type-ahead functionality is not present by default. Can anyone help me to implement the same thing or provide sample code/strategy to achieve the desired results ?
    Basically typeahead functionality is present in Endeca Information's quick start's search box (EID) but not it JSP reference application .
    Waiting for the replies...
    Regards,
    Hoque

    Type-ahead functionality can mean different things and be implemented in different ways. It is usually based on what behavior your user-space would benefit from.
    In the commerce space, one popular use-case is to return Category matches based on what a user has started typing. Within Endeca, this boils down to doing a dimension search and having the Category dimension enabled for dimension search. If a user starts typing "cam", the type-ahead would then recommend:
    Category: Cameras
    You can match on multiple dimensions though, so long as they are enabled for dimension search. For example, if a user starts typing "ca", the type-ahead could return:
    Category: Cameras
    Brand: Canon
    Furthermore, this behavior can be extended by enabling Compound Dimension Search. Compound Dimension Search is enabled via a flag on the dgidx process and on your ENEQuery. It provides the following behavior. If a user searches for "canon cam", it would suggest:
    Category: Cameras + Brand: Canon
    Clicking on the type-ahead would return the intersection of Category = Cameras and Brand = Canon, eliminating a click if the user is after Canon brand Cameras.
    With regards to implementation, it basically boils down to an AJAX call to a service/URL that responds with dimension search results. Then populate an empty <div> with links.
    Other scenarios involve returning Product/Record matches instead of Dimension matches.
    Edited by: gose on Sep 11, 2012 8:31 AM

  • Business Functions Switch to activate Enhancement Package 4

    Hi SAP experts,
    can you help me?...
    We will implement SAP CRM 7.0 with scenario of creation ERP Quations & ERP Sales Orders, therefore we have installed Enhancement Package 4 in our ERP, but I've been looking for information to know which Business Functions (switch) we need to activate for this scenario, but in all documentation I've been looking doesn't indicate this.
    Can you let me know wich switches we need to activate or share documentation about this?
    Your help is most highly appretiated.
    Regards
    Gonzalo C.

    > We will implement SAP CRM 7.0 with scenario of creation ERP Quations & ERP Sales Orders, therefore we have installed Enhancement Package 4 in our ERP,
    So there was any business reason to install EHP4? Who told you? And those people should also be able to tell you what to activate
    I'd go through SFW5 and click the "documentation" button next to the functions, this will open a browser window explaining what this function is about.
    Markus

  • Switching out of fullscreen applications

    How can I switch out of fullscreen applications (like WoW) back to the desktop or to Safari or something. Command-Tab doesn't work when fullscreen.

    It may be different for each app, but most of the ones I use in full screen revert to the small screen by using the escape key.

  • Functional document of CRM-PCUI application

    Hi,
        I have CRM installed in my system.But want to know more functional details of the
    CRM_BSP_FRAME application->select.htm.
       Earlier i worked on a cproject(PLM) suite.I had
    a clear documentation with screen on what each screen does functionally by SAP.
         Is there a similar document in CRM .
    It would of great help for a beginner like me.
    Thanks in advance.
    Regards,
    Swathi

    Sorry but I think this kind of documentation does not exist. However, the applications funcionality is the same (almost all) that in SAP GUI environment.
    If you find some similar documents that you're saying plese send me to [email protected] Thanks
    Regards
    Message was edited by: Javier Merino Vivar

  • My ipad is stolen ,, and i want to reopen find my ipad application because as i know once the ipad switched off and switched on again the application needs to be reopened ,, any one can help me please to find my ipad again

    my ipad is stolen ,, and i want to reopen find my ipad application because as i know once the ipad switched off and switched on again the application needs to be reopened ,, any one can help me please to find my ipad again

    Stolen
    http://support.apple.com/kb/HT5668
    Erase iPad
    http://support.apple.com/kb/ph2701
    Lost Mode
    http://support.apple.com/kb/PH2700
    Reporting lost or stolen iPad
    http://support.apple.com/kb/HT2526

  • How to provide the F4 functionality to the files on application server

    Hi,
    How to provide the F4 functionality to the files on application server at selection screen.as it is F4_FILENAME for files on desktop , is there any Function module for this purpose also. I did a search in R/3 but didnt get any FM .Please advise.
    Regards,
    sam.

    You can get to it  using frontend class CL_GUI_FRONTEND_SERVICES if you know the host name and have the correct permissions, for example, this program works great for me in my system.
    report zrich_0001 .
    data: ifiletable type filetable.
    data: xfiletable like line of ifiletable.
    data: rc type i.
    parameters: p_file1 type localfile default'\sapprdusr'.
    at selection-screen on value-request for p_file1.
    call method cl_gui_frontend_services=>file_open_dialog
       EXPORTING
    *    WINDOW_TITLE            =
    *    DEFAULT_EXTENSION       =
    *    DEFAULT_FILENAME        =
    *    FILE_FILTER             =
         INITIAL_DIRECTORY       = '\sapprdusr'
    *    MULTISELECTION          =
      changing
        file_table              = ifiletable
        rc                      = rc
    *    USER_ACTION             =
      EXCEPTIONS
        FILE_OPEN_DIALOG_FAILED = 1
        CNTL_ERROR              = 2
        ERROR_NO_GUI            = 3
        others                  = 4.
    read table ifiletable into xfiletable index 1.
    if sy-subrc = 0.
      p_file1 = xfiletable-FILENAME.
    endif.
    Regards,
    Rich Heilman

  • How to activate functional switch - LOG_EAM_CI_1

    Dear all experts,
    Can any one tell about how to activate the functional switch LOG_EAM_CI_1 and after activating what changes will  occur..........

    Greetings Vicky,
    usually, it will be the BASIS team who will turn on the Business Fuction for you in t-code SFW5. But they only throw the switch, you need to perform a functional analysis beforehand. Usually, this would involve turning the Business Function on in a Sandbox system.
    Follow the link posted by Pete Atkin to understand the functionalities behind this Business Function. This one should not have any regression impact on your current functions...

  • Replace() function doesn't work in Application Designer?

    I'm using PeopleSoft Application Designer 8.51. I'm trying to do a simple Replace function so I can escape single quotes rather than allow them to blow up the sql query.
    &deptid = Replace(&deptid, "'", "''");
    App Designer chokes when I hit Save: "Invalid function parameter type. (2,19)"
    According to the docs I'm using this correctly: http://docs.oracle.com/cd/E26239_01/pt851h3/eng/psbooks/tace/book.htm?File=tace/htm/tace14.htm#H4095
    Even if I try to execute the example right out of the documentation, I get the same error: REPLACE("StringFun", "Fun", "Number");
    Is this a bug in app designer? REPLACE is a super common thing, it's not something obscure. How can this not work?
    Thanks in advance.

    I figured this out. “Replace” is a strange duck function that relies on offsets. “Substitute” is the magic I needed, works just like I was expecting Replace to work. The documentation I was reading on Replace was for “ PeopleSoft Analytic Calculation Engine” rather than peoplecode. I’ll pay closer attention to that next time. Maybe this will help someone else...

  • Help! Selection tool functions switched / reversed!

    This is driving me crazy and impeding my work.
    The functionality of the selection tool (v) and the direct selection tool (a) have apparently switched. The selection tool behaves exactly like the direct selection tool should (example: click-dragging a selection over a point or path selects that point or path, not the whole object). The reverse is also true: the direct selection tool behaves as you would expect the direct selection tool should (example: click-dragging a selection over a point or path selects the whole object, not the point or path.
    Platform: MacBook 2.4 Ghz, OS 10.6.5, CS5
    Attempts at fixing: Deleted preferences for Illustrator (multiple times), including quitting Illustrator and restarting machine
    Also, I went so far as creating a new user on my Mac, opening Illustrator, and testing the selection tools. Under a different user, these tools behave as expected, the selection tool behaves like the selection tool should, the direct selection tool behaves like the direct selection tool should.
    Google and forum searches have yielded no help.
    Any help is appreciated. Thanks!

    Yes, absolutely:
    1) Quit Illustrator
    2) Delete preferences
    3) Restart Illustrator
    I have tried deleting these files and folders:
    1) user/Library/Preferences/Adobe Illustrator CS5 Settings
    2) user/Library/Application Support/Adobe/Adobe Illustrator CS5
    Perhaps there's some preferences file hierarchy that I'm not aware of, and I
    need to delete a file higher up this hierarchy? Like
    "com.adobe.CSXS2Preferences.plist"?
    ( It appears someone else has or had this problem:
    http://forums.adobe.com/message/2488436#2488436 )
    Thanks

  • Google Chrome & Lion bug keeps switching app window focus

    Since installing Google Chrome, when I type something into the url bar, it immediately switches the Chrome window to the bottom most of all application windows that are open. Very annoying.
    For example, if I have 5 app windows open and then in Chrome, start typing in the URL bar, the Chrome window is pushed to the back of all windows. What's weird is although the window is moved to the lowest layer of visibility, as I continue typing, it still is typing in Chome. So no window focus but still abe to type in it.
    A very weird bug but also makes Google Chrome almost unusable in Lion. Shame.

    I have the same thing.  However it is not just Chrome.  It often happens when typing in Outlook or Word.  It does not happen every time and a reboot often solves the problem.  Has anyone else experienced this and - more importantly - found a solution?
    I am using an iMac and the only change since upgrading to Lion is that I followed a workaround for NAS access listed at: http://www.alexanderwilde.com/2011/04/os-x-lion-connection-error-with-afp-and-wo rkaround/

  • Issue with switching spaces via clicking application in the dock

    Hey guys,
    Sometimes, not all the time, when I click on an application in the dock that has windows open in another space, it switches to the appropriate space, but with the application I clicked on not in the foreground. If I have other application windows open in that space, sometimes they occupy the foreground, and subsequently, the application I have clicked on on the dock is not in view. It is highly annoying when I click on the dock icon, to find that I have to go down and click on the dock icon a second time to bring the app into view. Does this happen to anyone else?
    Cheers guys,
    Ric.

    Thanks KXsig.
    I've been upgrading from 10.5.8 to 10.6.4 last sunday. Since then, switching between different Spaces with Magic Mouse, i've got that issue of a third party application dedicated to Spaces number 6, and appearing also in background of Spaces 4 dedicated to Safari, or also in any free Spaces spot, when the application dedicated is not opened.
    That didn't happened with Leopard, thanks a lot for the keyboard shortcut "Command + Tab".
    Maybe a fix in 10.6.5 to come..

  • Passing arrays with Call Library Function does not work after application builder

    Calling a DLL with Call Library Function which requires an array of data works correctly in Labview, but after building an exe with application builder, the call no longer works.  Dereferecing the pointer in the DLL retuns all 0s and not the actual values.
    Solved!
    Go to Solution.
    Attachments:
    TEST.zip ‏28 KB

    I did not run your code because it is a little unclear to me what it does.
    Two things:
    First, is the DLL you are calling the DLL-ified version of PopUpNames.vi? Then the problem is likely that the panel is not being built into the DLL.
    When LabView builds an application / dll, it strips the front panel and block diagram from all VIs that it doesn't think need to show a panel at run time. This reduces file size and increases code security. The App Builder's panel inclusion logic can be overridden by Build Specifications -> Source File Settings -> Remove front panel. A better method is to put a property node on a control in a window you want to show marking it "visible"; this is sufficient to tell the App Builder it should keep the panel.
    Currently Source File Settings shows "no dependencies" (clearly incorrect---another evil side effect of Express VIs I guess) but if you change the settings as shown below to keep ALL panels, one might hope the App Builder can figure it to keep the panel when it deconstructs the Express VI. (Alternatively convert the Express VI into a regular one.)
    A second comment: I am a bit flummoxed at the larger goal here. You are calling LabView DLL from LabView, which doesn't make a lot of sense, so I assume your larger goal is to call LabView from C or vice-versa. In that case be aware that your DLL is x86 (32-bit) but you are passing 64-bit ints as your pointers. In this case it is 32-bit LabView with 32-bit pointers in embedeed in 64-bit containers calling 32-bit LabView with 32-bit pointers in embedeed in 64-bit containers, so it all works, but if your going to call this from C or whatnot you're going to have to follow that same design.
    When calling C code the LabView Call Library Function does have a "unsigned pointer-sized integer" data type that always appears to be 64 bits in the dev env but which actually passes a 64 or 32-bit int to the DLL depending on the environment. The "pointer sized int" has to be 64 bits in the "LabView" part of the code because LabView's strong typing requires the data type to be determined at compile time. Casting all pointers to the largest data type in LabView makes it possible to write platform-independent code, but down at the Call Library level you still have to put the right number of bytes on the stack.

Maybe you are looking for