CTRL-click (or command, or ALT or...)

Hello,
I'm trying to build a custom Photoshop CS4 panel with Flex.
I've successfully followed the Adobe Photoshop Panel Developer's
Guide. My needs are very basic: I have buttons that should call
Javascript code in external jsx files, and that's ok.
I wasn't able to implement a Command-click (or Shift-click,
or ALT-click, it doesn't really matter) that works. Let's put
(that's the code attached) I have two buttons that I'd like to
merge in one. First button calls the action A, second calls the
action B. I'd like to have a single button that calls A with a
click, B with a keyboard modifier-click. (I know there's a timer
workaround if I'd like to implement a single click / double click
instead). Currently it works A all the time.
In the commented part of my code there's my unlucky try.
Strangely, if I write != instead of == in the if statement, it's
option B thats the only working so it seems that the button is
really unable to "feel" the modifier pressed when I click.
Any help or suggestion is really appreciated.
Kind Regards,
D. Barranca

I'm encountering the same phenomenon, only my dashboard takes over after a random click in Safari. I'm using a Logitech wireless mouse, and the latest version of Leopard and Safari. I have had this problem off and on for several months -- probably since I upgraded to Leopard. The only way I've found to seize control back is to hit Control-F2 on the keyboard, use the down arrow key to maneuver to Restart, then restart the Mac.

Similar Messages

  • How can I force Firefox to override javascript when opening links with ctrl+click?

    There are certain sites that always open up a link in the active window despite said links being opened by ctrl+clicking it. Basically what happens is that a java script on the site forces the active window to load the link while at the same time Firefox follows the ctrl+click command and loads it in a new tab. You end up with two tabs with the same information and always have to go back in your original tab to be able to open other links.
    Usually you can open the link the way you want by right-clicking and selecting 'Open Link in New Tab' but for some reason ctrl+click is treated as if it was a regular click. How can I stop this from happening and force Firefox to ONLY load the new tab?
    This problem is not specific to the version of Firefox I'm using or the operating system, but seems to be caused by java script on the site. Disabling java scripts makes the problem go away but sometimes it also disables the sites.

    If you're trying to protect your browser from hackers, I'd recommend setting up a master password for your saved passwords. Other than that, your anti-virus and firewall are responsible for keeping your computer safe.
    If you're trying to protect your browser from someone else (i.e. somebody who can physically use the computer) just lock your entire computer with a password. If someone else has to use it, you could try letting them use the guest account.

  • Please tell me how I can disable the Ctrl-Click shortcut

    I have a three (or more) button mouse, and have had for years.
    Many applications and website need to use the Ctrl key as a modifier for certain actions. However, on my Mac trying to do this always brings up the bloody right-click pop-up menu.
    I do not need the Ctrl-click command, but can find no way to turn it off. Does anyone know how this can be done? Or is there some shareware/freeware app I can download to turn off this annoying feature (similar to Cocktail, or other utilities)?
    I urgently need help with this. Thank you.
    Best,
    A.

    If any Mac apps are using control-clicks for something other than contextual menus, I'd be surprised. Of course, seems to me that if an app's developers want to use control-click for something else, it would either work, and you wouldn't have a problem, or it wouldn't work, and thus the app wouldn't use control-click that way.
    Which means I'm not sure I understand your problem. When you say things are using "the Ctrl key as a modifier", what exactly does that mean, and how is that colliding with a control-click? What applications and web sites are the culprits?

  • I am trying to sort my bookmarks A/Z. I go to organize book marks and click that command and it puts everything A/z but when I go back to my normal page and click bookmarks it is not A/Z. One I organize it how do I save it that way?

    I am trying to sort my bookmarks A/Z. I go to organize book marks and click that command and it puts everything A/z but when I go back to my normal page and click bookmarks it is not A/Z. One I organize it how do I save it that way?

    Sorting Bookmarks in the Library window (Bookmarks > Organize Bookmarks) is for temporary display. The Bookmarks are not permanently sorted.
    To permanently sort, open the Bookmarks Sidebar (Ctrl+B opens or closes the Bookmarks Sidebar ---- Cmd+B in OSX), right-click (Cmd+click in OSX) the "Bookmarks Menu" folder and choose "Sort by Name".
    See: [[Sorting Bookmarks]] '''''~~red:and~~''''' http://kb.mozillazine.org/Sorting_and_rearranging_bookmarks_-_Firefox
    For automatic sorting of Bookmarks see the add-on SortPlaces:
    Add-on: https://addons.mozilla.org/en-US/firefox/addon/9275
    More info about SortPlaces: http://www.andyhalford.com/sortplaces/index.html

  • How to override Ctrl-Click behavior in Java L&F

    On the Mac, Ctrl-Click is the popup trigger. While Java L&F designers were obviously aware of this (it is warned about in the Java Look and Feel Design Guidelines, 2nd ed, page 106). However, just two pages later (page 108), they then generically specifify that Ctrl-Click is used in lists and tables to toggle the selection.
    The implementation of the Java L&F does not appear to consider the Mac's use of Ctrl-Click and still toggles selection. If there is an additional mouse listener that shows a menu in response to the popup trigger, it will ALSO open the menu on Ctrl-Click.
    What is the best way to overide the Ctrl-Click behavior in JTable etc. to NOT do the toggle selection? Note that this is a mouse event and not a key event, so it can't be turned off or changed by the getActionMap() mechanism.
    Also, does anyone know what the "Command" modifier on the Mac (Command-Click is supposed to toggle selection on Macs) shows up as in the InputEvent (isMetaDown(), isAltGraphDown()...)?

    Try extending the JList and override the processMouseEvent(MouseEvent evt) method and show your popup menu when the user clicks the mouse while holding the CTRL key down. The code below demonstrates the same.
    import java.awt.BorderLayout;
    import java.awt.event.MouseEvent;
    import java.util.Vector;
    import javax.swing.JFrame;
    import javax.swing.JList;
    import javax.swing.JOptionPane;
    import javax.swing.JScrollPane;
    import javax.swing.ListModel;
    import javax.swing.WindowConstants;
    public class Temp extends JFrame {
         public Temp() {
              super("Temp");
              setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
              String [] items = {"One", "Two", "Three", "Four", "Five"};
              JList list = new MyList(items);
              JScrollPane scroller = new JScrollPane(list);
              getContentPane().add(scroller, BorderLayout.CENTER);
              pack();
              setVisible(true);
         class MyList extends JList {
              public MyList() {
                   super();
              public MyList(Object[] listData) {
                   super(listData);
              public MyList(Vector listData) {
                   super(listData);
              public MyList(ListModel dataModel) {
                   super(dataModel);
              protected void processMouseEvent(MouseEvent evt) {
                   System.out.println(evt.isPopupTrigger());
                   int onmask = MouseEvent.CTRL_DOWN_MASK | MouseEvent.BUTTON1_DOWN_MASK;
                   if(evt.getModifiersEx() == onmask) {
                        JOptionPane.showMessageDialog(this, "Control + click");
                   else {
                        super.processMouseEvent(evt);
         public static void main(String[] args) {
              new Temp();
    }Hope this helps
    Sai Pullabhotla

  • Ctrl click to layer in a group?

    Is there a hot key combo to ctrl click to layer that's inside a group..not jsut to the group itself.

    With most tools, if you use Ctrl+Alt right click in the document on the
    screen, that will select the layers instead of the groups.
    MTSTUNER

  • Ctrl-clicking layer name does not load layer opacity mask (CS2)

    Q: Ctrl-clicking a layer name does not load the layers opacity as a selection in CS2 as it did in older versions?
    A: You must ctrl-click the layer thumbnail, not the layer name, to select the opacity of the layer. Ctrl-clicking a layer name is now connected to the new way of selecting multiple layers in Photoshop CS2, as per the standard way of selecting multiple objects in the Win OS.

    Thanks for the replies:
    I tried the shift, ctrl & alt keys on start up of PS2 and received a msg fm windows Vista about the PS short cut. I said OK and nothing happened.
    I started PS2 and then held the shift, ctrl & alt keys while it was starting. This seemed to reset some things because the original message that comes with PS came up. But the mask problem is still there.
    I went further in your instructions and found the "reset all tools". Did that. Still have the problem with my mask not clearing totally.
    Any more suggestions???? Thanks, Al

  • Shift-Click, Ctrl-click weirdness

    This is just a rant, nothing much to be done about it, I suppose.
    I've always favored Mac UI principles over Windows, since they were articulated better.
    Unfortunately, LabVIEW, even on OS X, has adopted Windows principles, even where they clearly don't make sense.
    CASE 1: Windows Shift- click REMOVES things from selection.  In Explorer (Finder), create a list of 5 folders: A, B, C, D, E.  
    Click on A: selection is [ A ]
    Ctrl-click (command-click) on E: selection is [ A  E  ]
    Shift-click on C
       OS X:  selection is [ A  C  D  E ]
       Windows:  selection is [ C  D  E ]  {why remove the "A" ? Do you really think that's the intent?}
    CASE 2: Same test, except use a LabVIEW LIST BOX with A, B, C, D, E
    Click on A: selection is [ A ]
    Ctrl-click (command-click) on E: selection is [ A  E  ]
    Shift-click on C
      LV OS X:  selection is [ A  B  C ] removes E for some reason.
      LV Win , same as explorer. selection = [ C  D  E] (removes the A for some reason).
    CASE 3: In Explorer (Finder), create a list of 5 folders: A, B, C, D, E.   
    Click on A: selection is [ A ]
    Ctrl-click (command-click) on E: selection is [ A  E  ]
    Ctrl-click (command-click) on E: selection is [ A  ]
    Shift-click on C
       OS X:  selection is [A  B  C]
       Windows: selection is [ C  D  E ]  ???
    OK, just when you thought LV was adopting Windows all the way, there's this:
    CASE 4: same test, except use a LabVIEW LIST BOX with A, B, C, D, E
    Click on A: selection is [ A ]
    Ctrl-click (command-click) on E: selection is [ A  E  ]
    Ctrl-click (command-click) on E: selection is [ A  ]
    Shift-click on C
       OS X:  selection is [A  B  C]
       Windows: selection is [ C  D  E ] 
    Since I'm trying to match behavior between a LISTBOX (built-in behavior) and a TABLE (I create the behavior) this makes it difficult.
    < rant = OFF >
    Steve Bird
    Culverson Software - Elegant software that is a pleasure to use.
    Culverson.com
    Blog for (mostly LabVIEW) programmers: Tips And Tricks

    Shift click in windows doesn't actually remove items from a list.  It is more like adding items to a list from the first click to the 2nd click.  If you already having something else selected that is not in that range, the it does remove the item.
    What you want to do is a ctrl-shift-click.  Ctrl is the modifier to actually add to your selected items.  Shift is the modifier to select a range of items from first click to 2nd click.  Doing both in combination keeps your original list while adding to it with the "range" of the new items you are adding.
    Now how well LabVIEW adopts the Windows principles, I can't say.

  • Right Click/Ctrl Click Addresses in Mail and Address Book

    I used to be able to right click an email address in a mail message to copy just the address - now that action copies the entire entry: "FirstName LastName <[email protected]>" - so this handy feature is now gone.
    Rt Click/Ctrl Click on the email address in Address Book used to bring up 'New Message' in a pop-up menu, this feature is gone too.

    Terrific! Thanks for the speedy response. Here's the important part of that post, for posterity:
    I did some digging and found a very relevant preference setting, AddressesIncludeNameOnPasteboard.
    1) Quit Mail
    2) Go to your Terminal, and copy and paste the following command (all on one line).
    defaults write com.apple.mail AddressesIncludeNameOnPasteboard -bool NO
    3) Open Mail
    When you open Mail again, copying addresses will be back to the 10.5 behavior.

  • Modify ctrl + click menu

    I'd like to modify the "ctrl + click menu" so that "Search in Google" has the option to bring up a new Tab. Any help would be great.....rob

    Adrian Clarke1 wrote:
    Edit: Actually I can't get anything to open selected text>control click in anything but the same tab no matter what key I hold while clicking "Search in Google". Which was OP's original problem... Am I missing something or is it a Leopard feature? (I'm back on Tiger, Leo too slow on my aging iBook.)
    I'm not certain – I'm using Leopard. But make sure you're following the right sequence:
    1) Highlight some text.
    2) Control-click on that text
    3) Release the Control key
    4) Scroll to "Search in Google" so it's highlighted
    5) Command-click on that menu item
    That might be what you tried; I can't quite tell. But that works for me every time.
    Message was edited by: Rachel R

  • Ctrl + Click = ERRORS!!!

    I have no clue what this problem could be but here is the issue. When I Ctrl + Click any item, It doesn't display the options, instead it shows a capitol letter followed by an interger:
    http://www.implicted.com/ErrorOptions.jpg
    When I Secure Empty the trash, this displays:
    http://www.implicted.com/ErrorDelete.jpg
    Certain files have messed up information displayed under the item. "IV9" "IV6" "IV8" etc.
    http://www.implicted.com/ErrorIV9.jpg
    If anyone can help... please do!!
    Thanks.
    Powerbook G4 12"   Mac OS X (10.4.9)   1.2GB Ram

    Hi
    Try relaunching the Finder:
    cmd-alt-esc
    Select Finder
    Click Relaunch
    If that doesn't work try going into Users/shortname/Library/Preferences, moving com.apple.finder.plist to the Desktop & then restarting. If that works, trash the plist on the desktop.
    Steve

  • How do I open multiple locations from the History after selecting them with Ctrl+click?

    Let's say I want to read some of the Mother Jones and Alternet articles I'd linked to from e-mails over the past in two months. I open my Firefox history. I do a search of the history libary to get a list of all the relevant locations. Then I use Control+click to select the few articles I want to read. I'd think Ctrl+O would open all those selected, but it doesn't. There must be a more efficient way than what I'm doing now, which is to open a new tab in the browser window, go to history, double click one line, wait for the page to load; open a new tab, go back to the history search results, click on a new location, wait as it loads, repeat.

    Where are you viewing your History? <br />
    Have you tried the History Sidebar? {Ctrl + H} <br />
    You can {Ctrl + Click} the pages you want to open in new Tabs, one at a time. <br />
    Also, if you have your Options > Tabs pref deselected for '''When I open a new tab, switch to it immediately''', it might be less distracting with all those pages opening in the background.

  • Mail: CTRL Click popup gone (Copy, Paste, Open in. etc) popup no longer working in Yosemite Mail.

    Hi Folks,
    Current model Macbook Air, Up-to-date Yosemite. In Mail, the Control Click function no longer works on attachments. I've been using that as an option all the time, and today when I went to CTRL click on a file (PDF) to open it a different application, I realized that you no longer can even get a popup to appear. I need to open a pdf in Adobe Acrobat Pro instead of in preview. While I can certainly use workarounds, this is annoying. Is this intentional or a glitch ?.

    Send Apple feedback. They won't answer, but at least will know there is a problem. If enough people send feedback, it may get the problem solved sooner.
    Mail Feedback
    Or you can use your Apple ID to register with this site and go the Apple BugReporter. Supposedly you will get an answer if you submit feedback.
    Feedback via Apple Developer

  • Safari 2.0.4 Ctrl-Click not working

    Hi,
    I have searched and searched for an answer for this, but no luck so far.
    I'm on 10.4.10 with Safari 2.0.4 (419.3). Somehow, I've lost the ability to ctrl-click on a link in Safari, doing it does nothing. The status bar at the bottom of the window says "Display a menu for <URL>", but the menu very doggedly does not display...
    This happened weeks and weeks ago, and I've been searching for an answer to no avail. Today I was on another Mac and opened Safari and tried ctrl-clicking on a link and I got the expected menu. I love it when it works.
    I have just tried swapping the Preview plugin for the Adobe reader plugin, and that didn't help...
    Does any body have any ideas what might be wrong?
    Many thanks,
    bk

    Hi
    Back to my earlier suggestions in this order:
    Reapply the 10.4.10 Combo Update. Do not use the computer while the Update is running. After the restart, "repair permissions" using Disk Utility in your Utilities folder. Start Safari.
    If no change, then I suggest reinstalling Safari 2.0.4. Here's how to do it:
    Have a look at this Apple article for installing other software, including Safari, from the Tiger DVD - see the section titled More custom reinstallation options with Mac OS X 10.4.
    Other Steps
    Move the Safari.pkg file in the HD>Library>Receipts folder to the trash.
    As a precaution, prior to reinstalling Safari, move your Safari folder, found via the Finder in your Home Folder>Library to the Desktop. It has your bookmarks, history etc. Once the reinstall is completed, move the folder back to its original location writing over the newly created folder.
    Remember too, the version of Safari you install will be specific to the Version on your installer DVD. Therefore, run Software Update and see if Safari updates appear. If not, reapply the 10.4.10 combined update to bring Safari up to the current version.
    "Repair Permissions" via Disk Utility in your Utilities folder when you are finished.

  • Hyperlink + ctrl click opens the page in new tab in my website. it should open it in the same window of my website

    When i do a ctrl+hyperlink click in my website running in firefox, it opens up in a new tab, I dont want the ctrl+hyperlink click to open in new tab or new window. It should open in the same browser. (works as required in IE 7)
    == This happened ==
    Every time Firefox opened

    Ctrl+left click on a link or bookmark will open in a new tab. That is a standard Firefox keyboard shortcut. Middle-click will do the same (Middle-click = press the scroll wheel). On the following page, scroll down to "Web Navigation" or Find (Ctrl+F), enter "Ctrl+lef" (without quotation marks) in the Find box. Read the footnote 4 about how to change from background tab to foreground tab.
    See: http://www.7is7.com/software/firefox/shortcuts.html
    To open a link or bookmark in the currently active tab, simply click on the link or bookmark. Your current tab will be over-written with the new link or bookmark.
    The following page shows the shortcuts for IE7. Click "Working with tabs". It shows Ctrl+click will "Open links in a new tab in the background" and on the next line, it shows CTRL+SHIFT+click will "Open links in a new tab in the foreground".
    See: http://windows.microsoft.com/en-US/windows-vista/Internet-Explorer-keyboard-shortcuts#
    Maybe you have installed something to change the shortcuts on your installation?
    <u>'''''Other Issues''''': to correct security/stability issues</u>
    <u>'''Update Java'''</u>: your version 1.6.0.18; current version 1.6.0.20 (<u>important security update 04-15-2010</u>)
    ''(Windows users: Do the manual update; very easy.)''
    See: '''[http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates Updating Java]'''
    Do the update with Firefox closed

Maybe you are looking for

  • App Store Genius in iOS 6 on iPad - does it still show iPad version of apps?

    I've used the App Store Genius feature on an iPad that indicates when an iPad version of an installed app is available.  The concept, in detail, is that if you have copied or downloaded an iPhone version of an app onto your iPad, this Genius feature

  • Cannont access itunes store on computer

    opening the itunes store on phone (3GS) works fine but when i try to open itunes from my computer, it just freezes before itunes is fully loaded. Have had itunes for probably 2 years, all updates are done and the rest if itunes appears to work ok, ju

  • How to create Image from 8-bit grayscal pixel matrix

    Hi, I am trying to display image from fingerprintscanner. To communicate with the scanner I use JNI I've wrote java code which get the image from C++ as a byte[]. To display image I use as sample code from forum tring to display the image. http://for

  • Can't reduce iPod Classic's volume

    I have just bought my first iPod (classic model, 80GB) and I'm experiencing a lot of problems for adjusting it's volume. The minimum default volume seems to be set at a really loud level, so I can't reduce it or silence it at any time, it only lets m

  • Color Management Settings in Windows 7/Vista

    I know this is not exactly the right forum to ask, but I also know that some people very knowledgable in color managment read/write here: Can somebody explain to me what the setting of "Device Profile" in "Windows Color System Defaults" really does/a