Browser-like CTRL-F functionality in AIR?

Is there a way to implement in AIR simple CTRL-F (find on page) functionality as seen in standard web browsers? I figure I can do such a thing in JavaScript, but it'd be awfully slow for longer pages. Does AIR have a native solution for this?

No, AIR does not provide any native solution for support for Ctrl-F. You will have to implement it on your own.
-romil

Similar Messages

  • Undo-Function in IOS like Ctrl-Z in Windows?

    Is there an undo-Function in IOS like Ctrl-Z in Windows?

    thanks - unfortunately you can classify only one answer as "correct" - though both were right.
    I would add, that you have to shake the phone in all directions. First I've tried shaking only to the left and right and was about to say it don't work ... before posting I've tried again shaking up and down also ... yes it does work!

  • I just bought an ibook pro and want to download a browser like google chrome which I am familiar with. Safari just seems to be a lot of icons for shopping and I would like to disable it and put something more functional in its place. How do I ?

    I thought I just posted this question but maybe not. I'm going from a PC to an iBook and am trying to customize it. Can I add a browser like google chrome or even foxfire and disable safari? Safari jst seems to be an app store. Thnaks

    It sound like you did something wrong. Try another download and install.
    Download of Chrome
    https://support.google.com/chrome/answer/95346?hl=en
    Direction to install
    Download the installer file
    Open the file called "Google Chrome.dmg" after it's downloaded.
    In the window that opens, drag the Chrome icon to the Application folder. This installs Chrome for all user accounts on your computer. Your home page settings and browser history will automatically be imported from your default browser.If you don't have administrative rights, drag the icon to a location on your computer where you do have rights, such as your Desktop. Chrome will only be installed for your user account.
    The first time you open the browser, the Finder will ask you to confirm that you want to open the application downloaded from the Internet. Click Open to continue.
    You'll see a message letting you know that you can search with Google directly from the address bar (also known as the omnibox). If you'd like to change yourdefault search engine, click Change.
    Unmount the Google Chrome disk image on your Desktop by dragging it to the Eject icon in the Dock. (Make sure you're dragging the disk image and not the Google Chrome application icon.)
    Allan

  • Time Machine--Browse Other Disks not functioning

    Hi, i'm having trouble using the "browse other backup disks" function in Time Machine. I am able to see all other backup disks (there are 4 in total in my case) from my external hard drive, and i can select any of the disks, but no matter which one i select Time Machine opens and displays backups for my current computer, not the backup disk i selected. I've tried this on my MBP retina and MB Air, same problem. My external HD is WD My Passport Ultra and formatted in OS Extended (Journaled). I'd like to restore some files from my old computers to my new one. Any help is appreciated! Thanks!

    How do I go about accessing backups from different computers if Time Machine won't let me?
    Apple would suggest that you use Migration Assistant. It's located on your Mac in Applications > Utilities > Migration Assistant
    There is another way to access files from other Macs, which is probably NOT supported, so no guarantees on this procedure......which works for me....but I cannot say if it will work for you.
    Connect the external drive with the backups to your Mac
    Open the drive when it appears on the desktop
    There is a folder named Backups.backupdb for each Mac that was backing up
    Select the one that you want and open it up
    Double click on the name of drive
    A list of folders with backup dates will appear.....select the one that you want and open it
    Open Macintosh HD
    Open Users
    Open the User Name folder
    Select the folder that you want to open

  • Pass C++ Class Member Function as a callable function in AIR Native Extension

    I'm writing an ANE and I'd like to know if anyone has been able to pass a C++ class member function pointer as a callable function from AIR? I have tried this so far with a little bit of C++11 trickery and it's crashing. I've also statically linked the libstdc++ into my library, according to the documentation, in order to ensure that these features I use work correctly. I have code like so:
    FakeWorld* world = new FakeWorld();
    *numFunctions = 1;
    memberFunctions = (FRENamedFunction*) malloc(sizeof(FRENamedFunction) * (*numFunctions));
    ANEMemberFunction mCreateFakeBody = std::tr1::bind(&FakeWorld::createFakeBody, world, std::tr1::placeholders::_1, std::tr1::placeholders::_2, std::tr1::placeholders::_3, std::tr1::placeholders::_4);
    ANEFunction* createFakeBody = mCreateFakeBody.target<ANEFunction>();
    memberFunctions[0].name = (const uint8_t*) "createFakeBody";
    memberFunctions[0].functionData = NULL;
    memberFunctions[0].function = createFakeBody;
    FRESetContextNativeData(ctx, (void*)world);
    I just realized I'm using C here for allocating the member functions array.. silly me, but I don't think this is the cause of my issue. I refuse to believe that Adobe has built to the Native Extensions portion of the runtime in such a way that I have to cram every single function I want to create (natively) into a global, C formatted namespace (Especially since the documentation says that C is only required for the extenion and context initializing function interfacing and the rest of the code can be done in C++ or objective-C). So please let me know if and how this is possible and I thank you so much in advance for your time!P.
    P.S. Currently when I run this code, I can do the object initialization just fine. As soon as I invoke the "createFakeBody" method on the native side, the runtime dies and simply says:
    Problem signature:
      Problem Event Name: BEX
      Application Name: adl.exe
      Application Version: 3.1.0.4880
      Application Timestamp: 4eb7612e
      Fault Module Name: StackHash_0a9e
      Fault Module Version: 0.0.0.0
      Fault Module Timestamp: 00000000
      Exception Offset: 00000000
      Exception Code: c0000005
      Exception Data: 00000008
      OS Version: 6.1.7601.2.1.0.256.48
      Locale ID: 1033
      Additional Information 1: 0a9e
      Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
      Additional Information 3: 0a9e
      Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
    Read our privacy statement online:
      http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
    If the online privacy statement is not available, please read our privacy statement offline:
      C:\Windows\system32\en-US\erofflps.txt
    Thanks again for your assitance.

    It's been a little while since i've dealt with C++ and not up to speed on tr1 or C++0x, so forgive me if i'm not helping.
    The the examples of std::tr1::bind that i'm seeing out there seem to be either dereferencing the bound 'this' pointer when creating the bound method, i.e. in your case *world instead of world, or using std::tr1::ref(*world), therefore i believe that bind expects the bound parameters to be passed by reference.
    Given that the result of std::tr1::bind is callable (basing that on http://stackoverflow.com/questions/3678884/virtual-member-functions-and-stdtr1function-how -does-this-work) could you simplify to the following:
    memberFunctions[0].name = (const uint8_t*) "createFakeBody";
    memberFunctions[0].functionData = NULL;
    memberFunctions[0].function = std::tr1::bind(&FakeWorld::createFakeBody, *world, std::tr1::placeholders::_1, std::tr1::placeholders::_2, std::tr1::placeholders::_3, std::tr1::placeholders::_4);
    Or for an even simpler starting point, creating a test member function 'helloWorld' in FakeWorld that takes no arguments and using:
    memberFunctions[0].name = (const uint8_t*) "helloWorld";
    memberFunctions[0].functionData = NULL;
    memberFunctions[0].function = std::tr1::bind(&FakeWorld::helloWorld, *world);
    Hope this helps.

  • Browser Like Application

    Hi Everyone,
    I am going to create a browser-like application in Java. This application can read and render html file. Links provided in the html file is an information to any application and if click, it launches the specified application.
    At first, I created an Active-X control and a sample html file that uses this active-X control. Specified in the PARAM of the OBJECT tag is the application path as well as the application exe file. So when the Active-X control is clicked,
    it launches the specified application (set in the PARAM). But my manager told me not to use any browser but to create my own browser in Java.
    Does anyone has any idea how to implement a browser like application? I may be using DTD to create a set of properties like the OBJECT tag. Any help is greatly appreciated.
    Thank you very much,
    Ferdinand

    hi,
    I am just giving a code written in swings for simple web browser.This may not have much features but it is functional. Hope it would help you.
    import javax.swing.*;
    import javax.swing.event.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.net.*;
    import java.io.*;
    /** Very simplistic "Web browser" using Swing. Supply a URL on the
    * command line to see it initially, and to set the destination
    * of the "home" button.
    public class Browser extends JFrame implements HyperlinkListener,
    ActionListener {
    public static void main(String[] args) {
    if (args.length == 0)
    new Browser("http://www.yahoo.com");
    else
    new Browser(args[0]);
    private JIconButton homeButton;
    private JTextField urlField;
    private JEditorPane htmlPane;
    private String initialURL;
    public Browser(String initialURL) {
    super("Simple Swing Browser");
    this.initialURL = initialURL;
    // addWindowListener(new ExitListener());
    // WindowUtilities.setNativeLookAndFeel();
    JPanel topPanel = new JPanel();
    topPanel.setBackground(Color.lightGray);
    homeButton = new JIconButton("home.gif");
    homeButton.addActionListener(this);
    JLabel urlLabel = new JLabel("URL:");
    urlField = new JTextField(30);
    urlField.setText(initialURL);
    urlField.addActionListener(this);
    topPanel.add(homeButton);
    topPanel.add(urlLabel);
    topPanel.add(urlField);
    getContentPane().add(topPanel, BorderLayout.NORTH);
    try {
    htmlPane = new JEditorPane(initialURL);
    htmlPane.setEditable(false);
    htmlPane.addHyperlinkListener(this);
    JScrollPane scrollPane = new JScrollPane(htmlPane);
    getContentPane().add(scrollPane, BorderLayout.CENTER);
    } catch(IOException ioe) {
    warnUser("Can't build HTML pane for " + initialURL
    + ": " + ioe);
    Dimension screenSize = getToolkit().getScreenSize();
    int width = screenSize.width * 8 / 10;
    int height = screenSize.height * 8 / 10;
    setBounds(width/8, height/8, width, height);
    setVisible(true);
    public void actionPerformed(ActionEvent event) {
    String url;
    if (event.getSource() == urlField)
    url = urlField.getText();
    else // Clicked "home" button instead of entering URL
    url = initialURL;
    try {
    htmlPane.setPage(new URL(url));
    urlField.setText(url);
    } catch(IOException ioe) {
    warnUser("Can't follow link to " + url + ": " + ioe);
    public void hyperlinkUpdate(HyperlinkEvent event) {
    if (event.getEventType() == HyperlinkEvent.EventType.ACTIVATED) {
    try {
    htmlPane.setPage(event.getURL());
    urlField.setText(event.getURL().toExternalForm());
    } catch(IOException ioe) {
    warnUser("Can't follow link to "
    + event.getURL().toExternalForm() + ": " + ioe);
    private void warnUser(String message) {
    JOptionPane.showMessageDialog(this, message, "Error",
    JOptionPane.ERROR_MESSAGE);
    import javax.swing.*;
    public class JIconButton extends JButton {
    public JIconButton(String file) {
    super(new ImageIcon(file));
    setContentAreaFilled(false);
    setBorderPainted(false);
    setFocusPainted(false);
    Bye.
    -Dani

  • How to make Ctrl  + N function as down key in finder

    I want to make Ctrl + N function as down key and Ctrl + P function as up key in finder application for easy keyboard navigation. How can i do this?

    You're misinterpreting the way the Keyboard shortcuts you add in preferences work.
    For you to be able to turn the key sequence into a shortcut for some action that action has to exist as a menu item in the application. That is if you want to make say Show Clipboard (one menu item without a shortcut already assigned) you would put the command Show Clipboard into the section Menu Title and ad the key sequence in the Keyboard Shortcut section.
    But as there is no menu item for down one line in Finder there is nothing to put into the Menu Title section so no way to map it.
    As it turns out for text editing OS X already recognizes ^N as down one line (in fact a lot of the Emacs key bindings are recognized out of the box) Unfortunately these only apply to editing situations.  There is no way I know of to map motion commands like you are looking to do here.
    There is the possibility of adding a keybindings dictionary to your home library folder, google for something like emacs key bindings mac mavericks
    <edit> I dont't think you'll be able to do it this way either but it is worth a look</edit>
    regards

  • Display Like and Share functionality in SharePoint 2013 search result

    Hello Experts,
    I dont Know whether i am asking a good question or bad one . but i am not very much expert in search.
    I have to display No of Likes , Share functionality in SharePoint Search Results. 
    i know little basic about how display templates works. i want to implement these like and share functionality as actions  in Item_common_hoverpanel_Actions template. show that i can see in preview.
    please if any body can help me . i will be highly thankful to you.
    Mukesh

    This will be difficult. The number of likes has a managed property called LikesCount but it is not populated by the search crawler. So your JavaScript will have to read the "LikesCount" field of the corresponding list item. That would be a
    lot of code to execute in the item display template just to display the number of likes. You could have a button that displayed a callout that would get the information and display it. The Sharing could be done via JavaScript in your item display template
    using a REST call. You can see an example of code to do that here:
    http://sharepointfieldnotes.blogspot.com/2014/09/sharing-documents-with-sharepoint-rest.html?showComment=1428595550241#c3227376854590814312
    Just remember the user must have permission to share these documents, so your code will have to handle this.
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

  • Audio captcha is not working in mac safari 5.1.7. We used below code snippet that is working in other browser like IF 7,8,9, crome and firefox. Audio refresh is also not happening. When submit Audio Captcha then jcapcha framework giving InvocationTargetEx

    Audio captcha is not working in mac safari 5.1.7.
    We used a code snippet that is working in other browser like IF 7,8,9, crome and firefox.
    Audio refresh is also not happening.
    When submit Audio Captcha then jcapcha framework giving InvocationTargetException.
    <Edited By Host>

    Audio captcha is not working in mac safari 5.1.7.
    We used a code snippet that is working in other browser like IF 7,8,9, crome and firefox.
    Audio refresh is also not happening.
    When submit Audio Captcha then jcapcha framework giving InvocationTargetException.
    <Edited By Host>

  • HT1222 When there is a browser update like this Safari 5.1.4, Is there an article that instructs one the ideal way to update to a newer version of a browser like this newer version of Safari?  Is it best to close Safari and all other apps, restart...

    When there is an update to a newer version of a browser like this update to Safari 5.1.4, is there an article that goes over the best way to update to a newer version of a browser that one knows of? Is it best to close all apps, install the update, turn the computer off, turn it on and hold down the shift key until the gear and progress bar are showing, when this is finished, do a restart of the computer.  I hav always wondered the best way (if there is a best way) to update to a newer version of a browser so you avoid potential problems.  Is there a Support Article that goes over installing and updating to a newer version of one's browser, in this case Safari?
    Thanks.

    The following may or may not apply to Lion:
    Repairing permissions is important, and should always be carried out both before and after any software installation or update.
    Go to Disk Utility (this is in your Utilities Folder in your Application folder) and click on the icon of your hard disk (not the one with all the numbers).
    In First Aid, click on Repair Permissions.
    This only takes a minute or two in Tiger, but much longer in Later versions of OS X.
    Background information here:
    http://support.apple.com/kb/HT1452?viewlocale=en_US
    and here:
    http://docs.info.apple.com/article.html?artnum=302672
    An article on troubleshooting Permissions can be found here:
    http://support.apple.com/kb/HT2963
    By the way, you can ignore any messages about SUID or ACL file permissions, as explained here:
    http://support.apple.com/kb/TS1448?
    If you were having any serious problems with your Mac you might as well complete the exercise by repairing your hard disk as well. You cannot do this from the same start-up disk. Reboot from your install disk (holding down the C key). Once it opens, select your language, and then go to Disk Utility from the Utilities menu. Select your hard disk as before and click Repair.
    Once that is complete reboot again from your usual start-up disk.
    More useful reading here:
    Resolve startup issues and perform disk maintenance with Disk Utility and fsck
    http://support.apple.com/kb/TS1417?viewlocale=en_US
    For a full description of how to resolve Disk, Permission and Cache Corruption, you should read this FAQ from the X Lab:
    http://www.thexlab.com/faqs/repairprocess.html
    Apple's advice on general maintenance:
    http://support.apple.com/kb/HT1147?viewlocale=en_US

  • How to design a browser-like swing app ?

    I'm about to write a browser-like application. There is a login screen and there are multiple windows much like these old web browser before they got tabs.
    - Should I extend JFrame and implement Runnable or shall I extend Thread and handle the JFrame inside ?
    - Should I put the class with generates the main window(s) inside another class which handles the number of threads and the login ?
    - Where should I put the database access ? (opening and closure of the database link ?)
    - Are there any patterns for this ?

    - Should I extend JFrame and implement Runnable or shall I extend Thread and handle the JFrame inside ?You should never extend Thread, IMO. Better to implement Runnable.
    The larger question is: Why are you making your class a JFrame and a Runnable? Where's the MVC separation here? The Runnable should be the Controller. The JFrame is View. They should be separate.
    - Should I put the class with generates the main window(s) inside another class which handles the
    number of threads and the login ?I think this is what I'd call the Controller.
    - Where should I put the database access ? (opening and closure of the database link ?)A separate object that the Controller instantiates and invokes should handle database access.
    - Are there any patterns for this ?I think MVC is pertinent, among others.

  • How to use an external start button for 6024E w/ sc-2345, I would like it to function like a start button in LabView but I don't know how to connect the external button to the sc-2345's connector block

    I am confused as to how to connect my external start botton. I would like it to function like a start button on a front panel of a VI. I would like to use the +5V on pin 14 but I really don't know where to go from here. Any guidence for a novice would be most appreciated.

    phod,
    This is the LabVIEW Real-Time forum, so I suggest that in the future that you post this type of question to the Multifunction DAQ forum.
    For the simplest solution you will have to connect your button to a digital line of your board, consult the sc-2345 user manual for a diagram of where these lines are exposed. You will have to connect your start button in series with a line that is high, such as your 5V pin or another digital line. Then connect this to a digital line that will be your start trigger.
    Your program can poll the digital line that is connected to your button in a while loop and when it goes high, it lets the rest of the program execute. For the programming, I suggest you take a look at the shipping examples that come with LabVIEW. If yo
    u have LabVIEW 7.0 go to Help>>Find Examples. Open Hardware Input Output>>Traditional DAQ>>Digital Input and Output>>E Series for some examples of digital I/O programming with E-series boards.
    Hope that gets you started.
    Gerardo

  • HT3131 I would like to darken my Mac Air screen, so I can use may external display and the keyboard on the notebook--it is possible on a PC-does it work on a Mac?

    I would like to darken my Mac Air screen, so I can use may external display and the keyboard on the notebook--it is possible on a PC-does it work on a Mac?

    Sure it's possible.
    Go to System Preferences (under the Apple logo on the top left of the menu).
    Choose "Display".  There's a slider bar for the screen brightness.  Adjust it and you're all set.

  • Where is the ctrl  f function now on iPad in safari?

    Where is the ctrl + f function now on iPad in safari?

    If you want to search for something on a webpage then start typing it in the URL field and you should get a screen where one of the options on it is 'on this page' :

  • I would like to buy Mac book Air. how much tax i have to pay in U.S.

    i would like to buy Mac book Air. how much tax i have to pay in U.S.

    Seems silly to make multiple threads on the same issue, no?
    https://discussions.apple.com/thread/4484681?tstart=0

Maybe you are looking for