DW CC 2014: Undo switches between files.

Scenario: I'm editing a HTML file with a styles.css related file. So I have one tab open and on top i have 'Source code' and 'styles.css' (as the css file is automatically detected and shown).
Say I edit some text in the html file, switch to styles.css to edit the color, then switch back to the html file and noticed I made a typo and want to undo the text change. When hitting undo (Cmd-Z on Mac) I get switched to the css file and the color change I did there is undone, hitting Cmd-Z again changes back to html file and undoes the text change... I don't want that! Undo should only undo changes in the file i'm currently working in. As it did in cc 2013, cs6, cs5, cs4 etc... I guess this is some new 'feature' in CC 2014 and I really need to disable it because it's *bleep*ing annoying. But how?
Edit: Current workaround is disabling 'Enable Related Files' and edit the css file in a different tab but I love the related files feature.

This is a deal-breaker for me. I write my code in code view. I don't have a linear work flow, working in one document at a time. This undo/redo functionality is really confusing, frustration and utterly worthless for me. I really can't understand how the development team didn't realise that this is a big drawback for many users?
Dreamweaver has many advantages over Eclipse/VS when it comes to my PHP-based development, but at least I won't have to be afraid to press "Ctrl + z" and risk to change stuff in files I didn't want to touch - and to might loose context of what I just undid!
("[undo-undo-undo and all of a sudden something was undone in a related file]
Me: Oh... Was this related to what I wanted to undo? If I press redo, I go back to the main file, so I can't find out. So exactly what did I just undo? Hm, I guess I have to redo the last step, open the related file, find the right location and check the code. If I want to  keep the changes, I will have to copy it to the clipboard, go back to the file I started with and undo the rest of the steps I wanted to reset and then go back to the related file again and paste the content back... Really smooth! Said no one."  )
Please, please make it possible to turn off this phoney "feature" and use the classic undo/redo functionality!

Similar Messages

  • Can't switch between  fill and outline.

    Here's the problem: I'm on an iMac, new, trying to use illustrator CS5. after using CS3 for a few years. In CS5, if I draw a shape, flat, in the illustration, then try to give it an outline, or change the outline, or do anything with the outline, I can't. If I click on the Shape tools in the toolbox and draw out an oval, for example, I can switch between outline and fill without any problems. Select shape, go to toolbox, select curved arrow for switching from one to the other. That's it. But if I draw a freehand shape, then try it, i can't do it. THIS IS A BIG CHANGE FROM PREVIOUS VERSIONS OF THE APP. GET IT? What is the problem? If it's something I have done, fine, tell me and I'll fix it. I tried calling Adobe support in Bangalore, and it took 30 minutes just to get the problem thoroughly appreciated by the techies. They just couldn't get the idea for half an hour! I had to go over it 4 or 5 times. And they couldn't come up with an answer. they were no help at all. I'm hoping the forum will yield better results. This is pathetic, guys. Your 90-day tech support is a worthless piece of crap, guys. The only tech support we have is this catch-as-catch-can forum. I've been using Illustrator since 1987, (illustrator 88) believe it or not, it's true. And I've always been able to get tech support to cure the ills. Not any more. Is that the way Adobe plans to offer tech support? if there were a way to contact Adobe Tech Support by going around Adobe Bangalore, i would use it. But, alas, I am stuck with this.

    Dear Monika and Mylenium: I figured out part of the problem, but not the solution: The shape I had drawn -and coudn't  switch between fil and stroke on-is one I had already done a gradient mesh on, too. I had later abandoned the gradient mesh by using the option key to delete mesh lines, but that didn't take the shape all the way back to its original flat state. So it wasn't a plain drawn shape any more. So how do I release the gradient mesh  to get back to  a flat shape? I'm also having trouble keeping the shapes in RGB or CMYK mode-they keep defaulting back to greyscale. Could that also be a symptom of using gradient mesh? Note: I'm using gradient mesh for the very first time now; I've never used it before. It seems to leave a lot of unexpected baggage behind. I would send a screen shot, but if I start up Grab or Voila, all the AI pallets go away, and that's half the information.  So how do I control gradient mesh?

  • Can't switch between HDMI and VGA displays

    I have a new H430, with hdmi and vga ports. My HP zr2240w monitor permits switching between AVG and HDMI displays, which I would like to do. But when I plug in both cables (HDMI and VGA) only VGA will work. If I  switch to HDMI or make it the default display,  the screen freezes at the desktop background: no mouse, no taskbar etc. Is is possible that the D430 video card will not support switching between displays (on  a single monitor)
    thanks,
    saintmaur

    Dear Monika and Mylenium: I figured out part of the problem, but not the solution: The shape I had drawn -and coudn't  switch between fil and stroke on-is one I had already done a gradient mesh on, too. I had later abandoned the gradient mesh by using the option key to delete mesh lines, but that didn't take the shape all the way back to its original flat state. So it wasn't a plain drawn shape any more. So how do I release the gradient mesh  to get back to  a flat shape? I'm also having trouble keeping the shapes in RGB or CMYK mode-they keep defaulting back to greyscale. Could that also be a symptom of using gradient mesh? Note: I'm using gradient mesh for the very first time now; I've never used it before. It seems to leave a lot of unexpected baggage behind. I would send a screen shot, but if I start up Grab or Voila, all the AI pallets go away, and that's half the information.  So how do I control gradient mesh?

  • I have a mac book pro with Windows for Mac, I have really been struggling to figure out a keyboard shortcut to switch between 2 excel files can someone suggest a solution please ?

    I have a mac book pro with Windows for Mac, I have really been struggling to figure out a keyboard shortcut to switch between 2 excel files can someone suggest a solution please ?

    someonehelpmaddy wrote:
    My Mac knows that it is connected to the montior...
    Open your Displays system preferences.  Is there an Arrangement tab and does it show two screens?  If no Arrangement tab then your mac does not know it has two screens.  Maybe smc and pram reset will shake it free and maybe not.  Maybe there's something wrong with the connection.  Thunderbolt plugs are similar to mini-displayport plugs so make sure the plug is pushed firmly in so that essentially all the metal part disappears inside the socket.  The plugs can be a little tricky in that you need to make sure the plug is fully seated in their socket.
    If you do see two screens in the Arrangement tab then click Detect Displays and Gather Windows to get the Displays preferences of the other monitor on to your main monitor.  Check the resolution and if there is a refresh rate check that as well.

  • Easy Switch between xorg.conf files enable disable tvout

    Hello,
    This is my first post on this forum, so i'am not sure were to put my post, but i think here is the best place
    summary:
    Easy Switch between xorg.conf files, and enable/disable startup applications. Script does this:
    detect which xorg.conf file is used and then depending on which one is used do 1 or 2:
    1. copy tvout.conf to xorg.conf and disable all startup applications + enable one or more startup application(s) defined in the script startupappsoff
    2. copy xorg.conf.backup to xorg.conf and enable all startup applications + disable one or more startup application(s) defined in the script startupappson
    I thought it would be nice to share the script i created for an easy switch between two xorg.conf files. Myself preferred to switch between two xorg files for personal need.
    Beside only switching between two xorg.conf files i would like to enable/disable some startup apps, therefor i created the scripts startupappsoff and startupappson.
    If you want to use these scripts, look in this code for comments, and custimize at the points A. to I. Further read the comments on top of each script.
    If something is not clear or is not correct, your free to ask!
    have fun!
    The script to be run to switch:
    tvout
    #!/bin/sh
    #summary: This programm switches xorg.conf file with an other and back. Also it calls the programms startupappsoff and startupappson.
    #in order to get this as a command, copy this program to: /usr/bin/
    #to execute without password, add: <username> ALL=NOPASSWD: /usr/bin/tvout (replace <username> with your own)
    #A. this script needs to recorgnize the different xorg.conf files you want to use. So put on top of your xorg.conf files in the first line: #tvout or #original
    var1=$(head -1 /etc/X11/xorg.conf)
    if [ $var1 == "#original" ]
    then
    #B. put here the path to your own custimized xorg.conf
    sudo cp /mnt/data1/Arch\ Files/xorg.conf.tvout /etc/X11/xorg.conf
    zenity --info --text 'tv-out enabled, to switch press CTRL+ALT+BACKSPACE'
    #C. put here the path to startupappsoff and change username
    su rob /mnt/data1/Arch\ Files/startupappsoff
    fi
    if [ $var1 == "#tvout" ]
    then
    #D. put here the path to your backuped xorg.conf or second custimized xorg.conf
    sudo cp /mnt/data1/Arch\ Files/xorg.conf.backup /etc/X11/xorg.conf
    zenity --info --text 'tft-out enabled, to switch press CTRL+ALT+BACKSPACE'
    #E. put here the path to startupappson and change username
    su rob /mnt/data1/Arch\ Files/startupappson
    fi
    startupappsoff
    #!/bin/sh
    #this programm turns startup programms off and turns only the startup programms defined here on
    for file in $(ls ~/.config/autostart/);
    do
    #switch all startup apps off
    #G. change rob to your own username
    sed -i 's/X-GNOME-Autostart-enabled=true/X-GNOME-Autostart-enabled=false/g' /home/rob/.config/autostart/$file
    #H. switch only these startup apps on, change rob to your own username
    sed -i 's/X-GNOME-Autostart-enabled=false/X-GNOME-Autostart-enabled=true/g' /home/rob/.config/autostart/appchk.desktop
    sed -i 's/X-GNOME-Autostart-enabled=false/X-GNOME-Autostart-enabled=true/g' /home/rob/.config/autostart/yakuake.desktop
    done
    startupappson
    #!/bin/sh
    #this script turns all startup programms of, and only turns on the startup programms defined here:
    for file in $(ls ~/.config/autostart/);
    do
    #switch all startup apps on
    #I. change rob to your own username
    sed -i 's/X-GNOME-Autostart-enabled=false/X-GNOME-Autostart-enabled=true/g' /home/rob/.config/autostart/$file
    #J. switch only these startup apps off, change rob to your own username
    sed -i 's/X-GNOME-Autostart-enabled=true/X-GNOME-Autostart-enabled=false/g' /home/rob/.config/autostart/xbmc.desktop
    done
    Last edited by Rob (2010-11-24 14:10:58)

    Many thanks, I am actually using your script minus the app changing script - to change my xorg from my dual screen display to a single screen display and my s-video tvout.
    Now I need to tune my xorg to work, but I am trying to add the <username> ALL=NOPASSWD for the script to work without password but I do not know where to add the line and the format of the line?
    Again many thanks for your script,
    looking forward for your reply,
    Regards

  • NetworkManager - switching between wired and wireless

    Hello!
    I’ve set up a new laptop with Arch and now have a question concerning NetworkManager. Is it possible in NM to switch between wired and wireless connections like it is with Connman (https://wiki.archlinux.org/index.php/Co … d_wireless)?
    So far it appears that NM only disables the wired connection when wireless is used but keeps the wireless alive when switching to wired.
    I have already looked for a corresponding configuration but couldn’t find anything that helps.
    Thanks in advance.

    Easy Mode:
    You can install the tlp-rdw package and edit the /etc/default/tlp configuration file which has an option that does that.
    Hard Mode:
    If you don't want to install a package and its dependencies, you can write your own script and put it in /etc/NetworkManager/dispatcher.d and have the NetworkManager dispatcher hook run the script (which is actually what tlp-rdw does but you don't have to install the tlp package as a dependency)
    Note: tlp is a power manager and if you have any other power managers installed it might conflict with them so be wary of that.
    Here is the wiki page on tlp https://wiki.archlinux.org/index.php/Tlp
    Last edited by fungle (2014-08-05 23:05:00)

  • Dreamweaver 6.1 - JavaScript error when switching between open tabs

    When switching between open tabs a sequence of javascript
    errors occurs. I had not used Dreamweaver for about 2 weeks, and
    last time I used it with no problems.
    I have tried uninstalling it, OKing removal of all files when
    asked, re-installing it and updating with dwmx61_updater.exe, but I
    still get the same errors.
    This has rendered the software virtually unuseable, so any
    help would be greatly appreciated, as I'm working to a
    rapidly-approaching deadline.
    "While executing Browse_Back enabled in toolbars.xml, a
    JavaScript error occurred"
    followed by
    "While executing Browse_Forward enabled in toolbars.xml, a
    JavaScript error occurred"
    followed by
    "While executing Browse_Stop enabled in toolbars.xml, a
    JavaScript error occurred"
    The relevant code seems to be :
    <!-- Browser nav toolbar -->
    <toolbar id="Browser_Toolbar" platform="win"
    label="Browser Navigation" container="document"
    initiallyVisible="false">
    <button id="Browse_Back"
    image="Toolbars/images/MM/back.gif"
    disabledImage="Toolbars/images/MM/back_dis.gif"
    tooltip="Back"
    label="Back"
    enabled="dw.getDocumentDOM().browser.isCmdEnabled('back')"
    command="dw.getDocumentDOM().browser.backPage()"
    update="onEveryIdle"/>
    <button id="Browse_Forward"
    image="Toolbars/images/MM/forward.gif"
    disabledImage="Toolbars/images/MM/forward_dis.gif"
    tooltip="Forward"
    label="Forward"
    enabled="dw.getDocumentDOM().browser.isCmdEnabled('forward')"
    command="dw.getDocumentDOM().browser.forwardPage()"
    update="onEveryIdle"/>
    <button id="Browse_Stop"
    image="Toolbars/images/MM/stop.gif"
    disabledImage="Toolbars/images/MM/stop_dis.gif"
    tooltip="Stop"
    label="Stop"
    enabled="dw.getDocumentDOM().browser.getPageBusy()"
    command="dw.getDocumentDOM().browser.stopPage()"
    update="onBrowserPageBusyChange"/>
    <button id="Browse_Refresh"
    image="Toolbars/images/MM/browserRefresh.gif"
    tooltip="Refresh"
    label="Refresh"
    enabled="true"
    command="dw.getDocumentDOM().browser.refreshPage()"/>
    presumably the next error is caused by the previous ones
    failing :
    "While executing getCurrentValue in AddressURL.htm, a
    JavaScript error occurred"
    the relevan tcode :
    function getCurrentValue()
    var dom = dw.getDocumentDOM();
    var value = dom.browser.getURL();
    if (value && value.length)
    //check if is it not a temp file
    //extract the tail of the url
    var filename = value;
    var slashIndex = filename.lastIndexOf("/");
    filename = filename.substring(slashIndex+1);
    var tempIndex = filename.indexOf("TMP");
    if (tempIndex != 0)
    addRecentAddress(value);
    return value;

    You can try this simple fix -
    Quit DW.
    Find this folder -
    C:\Documents and Settings\<username>\Application
    Data\Macromedia\Dreamweaver
    8\Configuration\WinFileCache-*.dat
    (these folders are normally hidden - you may have to use
    Explorer > Tools >
    Folder Options to unhide them)
    and delete it.
    Restart DW. Works better?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "earthdoctor" <[email protected]> wrote in
    message
    news:[email protected]...
    > When switching between open tabs a sequence of
    javascript errors occurs. I
    > had
    > not used Dreamweaver for about 2 weeks, and last time I
    used it with no
    > problems.
    >
    > I have tried uninstalling it, OKing removal of all files
    when asked,
    > re-installing it and updating with dwmx61_updater.exe,
    but I still get the
    > same
    > errors.
    >
    > This has rendered the software virtually unuseable, so
    any help would be
    > greatly appreciated, as I'm working to a
    rapidly-approaching deadline.
    >
    >
    > "While executing Browse_Back enabled in toolbars.xml, a
    JavaScript error
    > occurred"
    > followed by
    > "While executing Browse_Forward enabled in toolbars.xml,
    a JavaScript
    > error
    > occurred"
    > followed by
    > "While executing Browse_Stop enabled in toolbars.xml, a
    JavaScript error
    > occurred"
    >
    > The relevant code seems to be :
    >
    > <!-- Browser nav toolbar -->
    >
    > <toolbar id="Browser_Toolbar" platform="win"
    label="Browser
    > Navigation"
    > container="document" initiallyVisible="false">
    >
    > <button id="Browse_Back"
    > image="Toolbars/images/MM/back.gif"
    > disabledImage="Toolbars/images/MM/back_dis.gif"
    > tooltip="Back"
    > label="Back"
    >
    enabled="dw.getDocumentDOM().browser.isCmdEnabled('back')"
    > command="dw.getDocumentDOM().browser.backPage()"
    > update="onEveryIdle"/>
    >
    > <button id="Browse_Forward"
    > image="Toolbars/images/MM/forward.gif"
    > disabledImage="Toolbars/images/MM/forward_dis.gif"
    > tooltip="Forward"
    > label="Forward"
    >
    enabled="dw.getDocumentDOM().browser.isCmdEnabled('forward')"
    > command="dw.getDocumentDOM().browser.forwardPage()"
    > update="onEveryIdle"/>
    >
    > <button id="Browse_Stop"
    > image="Toolbars/images/MM/stop.gif"
    > disabledImage="Toolbars/images/MM/stop_dis.gif"
    > tooltip="Stop"
    > label="Stop"
    > enabled="dw.getDocumentDOM().browser.getPageBusy()"
    > command="dw.getDocumentDOM().browser.stopPage()"
    > update="onBrowserPageBusyChange"/>
    >
    > <button id="Browse_Refresh"
    > image="Toolbars/images/MM/browserRefresh.gif"
    > tooltip="Refresh"
    > label="Refresh"
    > enabled="true"
    > command="dw.getDocumentDOM().browser.refreshPage()"/>
    >
    >
    >
    > presumably the next error is caused by the previous ones
    failing :
    >
    > "While executing getCurrentValue in AddressURL.htm, a
    JavaScript error
    > occurred"
    > the relevan tcode :
    >
    >
    > function getCurrentValue()
    > {
    > var dom = dw.getDocumentDOM();
    > var value = dom.browser.getURL();
    > if (value && value.length)
    > {
    > //check if is it not a temp file
    > //extract the tail of the url
    > var filename = value;
    > var slashIndex = filename.lastIndexOf("/");
    > filename = filename.substring(slashIndex+1);
    > var tempIndex = filename.indexOf("TMP");
    > if (tempIndex != 0)
    > {
    > addRecentAddress(value);
    > }
    > }
    > return value;
    > }
    >
    >

  • How to make my applicatio​n programmat​ically switch between English and Russian

    Greetings from Colorado...
    My application needs to be switchable between English and Russian.  Future languages to add are Spanish and Chinese.  The user selects a language
    from a control before starting the program and then the program changes the Captions, Boolean Texts, Graph Labels, and Enum Type Strings to the
    chosen language.  For Russian, this requires a different set of characters.  I have made substantial progress by:
    Control Panels>Region and Language>Keyboards and Languages>Change Keyboards added Russian>Keyboard>Russian on my development
    computer.
    In the LabVIEW.ini file, I added UseUnicode=TRUE (thanks to a suggestion found in this forum)
    Made property nodes for controls and used properties such as Interpret As Unicode (True for Russian, False for English), Text, Font Name, Font Size, etc.
    I have used fonts Arial and Arial CYR for Russian and MS Sans Serif for English
    Set the keyboard for Russian and enter Cyrillic characters into text constants that are set for Arial or Arial CYR font.  Sometimes one works and
    sometimes the other works.  As long as I set the font name in the property node the same way the text went into the text constant, it generally
    works.  I wish I could understand why one works sometimes and the other works other times!
    I have had trouble with the Boolean Text going off-center when changing fonts and languages and it seems that by setting the Lock Text In Center
    property to False and then True again, it seems to work.  Often changing Boolean texts between short and long texts causes some of the long text
    to be non-displayed; I have remedied this by explicitly setting the width of the Boolean text in a property node.
    Often, the Russian text appears as gibberish with strange right-angle characters, :s, =s, and tiny numbers.  I have been able to remedy this on my
    development computer by ensuring that the text constant on the block diagram has the same size as the caption is supposed to have.  This
    is not necessary for normal programming in English, but it seems to help here.  But it doesn't always solve the problem.
    Sometimes the English text appears as Chinese gibberish in an Enum Type selection list or in a graph label.  On my development computer,
    it seems that making the text the last property to change helps here.
    By changing the sequences of assignments to a single property node with a long list of properties, I have been able to make some of these
    controls to switch between languages without gibberish showing up.
    A few hours ago, I had the Russian strings in the Enum Type control working, except that when selecting from the available items, only the first
    word of the Russian string was displayed.  Two of the items start with the same word, so the user can't distinguish them.  
    At that time the English strings were appearing as Chinese gibberish while the list during the selection process displayed in English.  As soon
    as I changed the selection, future attempts to change the selection gave Chinese gibberish during the selection process, too.  But this was only
    a problem in the executable version; the source-code version worked fine.
    In an attempt to get rid of the Chinese gibberish, I made new constants and retyped the items into them.  This worked!  But then, the Russian
    stopped working and gave gibberish angles and tiny numbers, even though I didn't touch any of the code that sets the properties in Russian mode.
    After trying a few sequences of setting the properties for the graph X label on page 2 of my tab control, this label started working correctly for both
    languages.  But the text of that label comes through on page 1 of the tab control, partly obscured by other controls on that page.  After the
    program runs a few more seconds, these shadows disappear.
    Most times I restart LabVIEW, I get an error message saying there was a crash due to fontmgr.cpp, line 7494.  But there actually wasn't a crash.
    My computer has Windows 7 64-bit.  Deployment Computer has Windows 7 32-bit.  LabVIEW version is 8.5.  
    I have probably 50 or 100 more controls and indicators to change to language programmability and figuring out all this stuff for each one is
    terribly time-consuming and there is no assurance that all of them will ever work.  
    At this point, I'm hoping that I am on an entirely wrong path and someone will send me a clue to get me on a path that is more predictable.
    Thanks in advance to all who post ideas!
    Cheers
    Halden 

    Hi All,
    I've made a lot of progress on this translation, but it's been really hard.  There are lots of weird things going on that must be logical because they're in a computer, but I can't figure out what the logic is.  When changing a font on a caption using the front panel, it sometimes changes the font on the caption and sometimes doesn't although the indicator always indicates the new font.  Removing the first character of the unicode font string being sent to the caption seems to help...huh?  Anyway, tabs still can't change language programmatically, and niether can ring controls (some kinds will take the new list of strings, but when selecting, they only display the first word of the string!).  Boolean text can be reprogrammed, but only if the boolean text is set to be the same for both true and false states.  When reprogramming captions on a non-displayed page of a multi-page tab-controlled user interface, the new text appears on the current page until I change pages back and forth.  What a pain!
    Sooo, NI....does LabVIEW 2011 have support for unicode fonts?  Or, is there anything else in the new control style that will support programmatic language changing?
    Halden 

  • How to change Switch between open documents keyboard shortcut (default Control + Tab or Cmd + ~)

    I use Control + Tab and Control + Shift + Tab or Cmd + ~ and Cmd + Shift + ~ to switch between tab back and forth alot how do I change the shortcut to something else?
    On Photoshop CC 2014 mac

    No, there isn't. you can't even set your own shor cut keys as you don't know what the documents will be named. Normally you can add short cuts keys but only for those menus options that already exist but your documents will change. I have searched for the answer earlier as I also want it.
    There is in the Pages Help menu an option for  Keyboard shorcuts but nothing is mentioned ther about changing document windows.

  • Major delay when switching between folders in Mail

    More often than not when I switch between folders (inbox-to-trash or junk-to-inbox, etc) none of the messages in that folder show up and it says on top "0 messages".
    Sometimes they come back after 5 or 6 seconds. Other times it takes over a minute. There usually aren't that many messages in either the folder I'm coming from or going to.
    Any thoughts?

    Based on the tons of new messages showed up in the Trash, I suggest the following.
    Quit Mail first and using the Finder go to Home > Library > Mail.
    Copy the Mail folder and place the copy on the Desktop for backup purposes.
    Using the Finder, go to Home > Library > Mail > Envelope Index.
    Delete the Envelope Index file and empty the Trash.
    The Envelope Index file stores an index of all mailboxes and messages.
    Launch Mail and you will be prompted to import mailboxes. Select OK and allow the process to complete. This isn't really importing anything but creating a new Envelope Index file within the Mail folder and re-indexing all mailboxes and messages within.
    This may cause more previously deleted messages to re-appear but this should resolve the delay problem.
    After confirming all mailboxes are available and there is nothing unusual, you can delete the copy of the Mail folder placed on the Desktop.

  • How can i traverse between files in a directory

    how can i traverse between files in a directory. I ahve seen in the site that isFile can be used to switch from one file to other but i didn't found such method. I am working in Eclipse. I would be thankful if u send me the solution.I mean the way to traverse

    listFiles() returns all the files in a directory. You can check if it is a file and read it. Read the API docs.
    If you have specific problem with your code, post the code and the problem description.

  • Is there a way to switch between workspaces in Spaces from the command line?  I want to write a script to set up certain applications in certain workspaces (without having to do it manually each time)...

    Is there a way to switch between workspaces in Spaces from the comnand line?  I use several workspaces from Spaces, each workspace having a certain number of fixed applications running.  Rather than set all this up each time I log on, I'd like to write a script from the command line (I use gawk) to automate this. Currently I have a gawk script that, given a directory, opens a few xterms whose working directory is the given directory, and opens "preview" applied to a certain file in that directory.  However, at present I have to manually move an xterm through each workspace and run my gawk script in each workspace (applied to each directory that I'm working on).
    There must be a better way...

    Addendum: Can this be done via:   open -a Spaces --args xxx  , where xxx is some set of arguments (or something like this)?

  • Switching between scripts in Advanced actions very slow on Mac OS X

    Hi,
    I've been experiencing a problem with Captivate taking an inordinate amount of time (approx 30-40 seconds) to switch between scripts in the Advanced Actions window. This happens incrementally as create/duplicate scripts and switch from one to the other. After switching about 4 to 5 times, the wait extends to 30-40 seconds. The rest of Captivate is unaffected, i.e. no delay issues when adding statements to a script, or working with other features in Captivate. I called Adobe Support but they said it is the first time they heard about this issue, although they seemed to suggest that Captivate is "slower" on the Mac. For comparison's sake, and to check if there was anything wrong with the project file itself, I tried using a trial version on a PC running Windows XP (using the same project file) and I experienced no issues, and switching between scripts remained constantly quick even after several hours working on a project.
    This particular project requires a lot of scripting and this issue has ground my productivity down to a halt having to wait 30-40seconds just to switch between scripts. Adobe suggesting "removing programs" from the Mac to speed up affairs, but I don't think there is anything wrong with the machine as it runs other Adobe software, like InDesign, Photoshop and Acrobat without any issues. In addition, while the switching is being processed, OS X doesn't hang. I am perfectly able to switch to other applications, or load new ones, which indicates that Captivate is not hogging all the resources.
    I was wondering if anyone else has experienced this issue before, and if so if a solution/workaround has been identified?
    Thanks!

    Hi,
    I've been experiencing a problem with Captivate taking an inordinate amount of time (approx 30-40 seconds) to switch between scripts in the Advanced Actions window. This happens incrementally as create/duplicate scripts and switch from one to the other. After switching about 4 to 5 times, the wait extends to 30-40 seconds. The rest of Captivate is unaffected, i.e. no delay issues when adding statements to a script, or working with other features in Captivate. I called Adobe Support but they said it is the first time they heard about this issue, although they seemed to suggest that Captivate is "slower" on the Mac. For comparison's sake, and to check if there was anything wrong with the project file itself, I tried using a trial version on a PC running Windows XP (using the same project file) and I experienced no issues, and switching between scripts remained constantly quick even after several hours working on a project.
    This particular project requires a lot of scripting and this issue has ground my productivity down to a halt having to wait 30-40seconds just to switch between scripts. Adobe suggesting "removing programs" from the Mac to speed up affairs, but I don't think there is anything wrong with the machine as it runs other Adobe software, like InDesign, Photoshop and Acrobat without any issues. In addition, while the switching is being processed, OS X doesn't hang. I am perfectly able to switch to other applications, or load new ones, which indicates that Captivate is not hogging all the resources.
    I was wondering if anyone else has experienced this issue before, and if so if a solution/workaround has been identified?
    Thanks!

  • Best way to speed up switching between apps?

    Hi,
    I'm trying to figure out what I can do to make my Mac Pro better, (ie, faster) at switching between applications. There will be times when I am working in Photoshop and I need to go back to Illustrator, or InDesign (these seem to be the 2 worst offenders) and it will literally take minutes for my computer to finally open the .ai or .indd file. And just fyi, the files are already open, I'm just clicking from the PS environment to an already open file in Illustrator or InDesign and bringing them to the front.
    Is this a lack of RAM? Is it something else? Is it an Adobe issue? I'm just pulling my hair out trying to figure out how to make this better/more efficient. If buying/installing more RAM would help, then I am open to that, but I just want to make sure that is the root of the problem, or that it will at least make it better. I suspect that it's not necessarily just an Adobe-centric issue since clicking on Firefox will also reproduce the same problem, ie. it will take a minute or two to finally come to the front.
    The basic breakdown of my system: Mac Pro 2 x 2.66 GHz 6-Core Intel Xenon, 8 GB Memory (8 GB 1333 MHz DDR3), running system 10.6.8. Adobe Creative Suite 5.
    Any help would be greatly appreciated. Thank you.
    -Eric

    It might help to have Activity Monitor running while you're working like this, to see what's happening to the CPU, the RAM, and the drives. Activity Monitor is in your Applications/Utilities folder.
    The first tab of the application is CPU usage. Unless you're pegging the cores with a heavy processing job (eg, file conversion), that's unlikely to be your bottleneck, but it's always possible that there's a process running there you weren't aware of.
    Next is RAM. When you have large files open, those files are stored in RAM, so with PS, AI and ID files open at the same time, you may find you quickly use up your available memory. Check how much red, yellow, blue and green you have in the pie chart. Any time you have to page RAM out to the hard drive, it'll cause a slowdown. I would say 8GB is actually on the low side for that kind of simultaneous use of Adobe apps. Get 12GB or really as much as you can afford.
    Obviously check drive space - you should leave a good 10-15% room free on your project drive. And are you storing the media/project files on your system drive? Using a separate, fast (ie, 7200rpm) drive, or even two striped, can give you MUCH better performance when reading/writing media.
    Matt

  • Dock not working; command-tab switch between programs not working

    The Dock does not work. I have restarted (although the computer will not restart under "Restart", getting stuck at the last part, and needs to be restarted manually). When I change Dock preferences it reverts back to default settings. If I am lucky, the dock will appear and then disappear (poof) without having functioned.
    The command tab function for switching between programs stopped working also.
    The individual programs work, but I have to go to recent items to switch programs.
    Further, I have two Previews open (with different documents in each) even though I have only one Preview program.
    A whole lot of bizarre things that may be connected? I would appreciate any help.

    You could try removing the .plist file again, but this time, try also removing the com.apple.dock.db file. Then log out and log in again.
    Also, it seems as if many people are having similar problems. See [this thread|http://discussions.apple.com/thread.jspa?messageID=9126119].
    So, does the problem persist with another user account?
    If it were my machine, the next thing I'd try is downloading the combo updater from Apple's website and reinstalling it. 10.5.6 is available [here|http://support.apple.com/downloads/MacOS_X_10-5-6_ComboUpdate].

Maybe you are looking for

  • Please tell me that this is just dirt and not LED failing.

    I own Thunderbolt 27" 2012 http://store.apple.com/us/product/MC914LL/B/apple-thunderbolt-display-27-inch for few years now and this purple cloud seems like it is spreading. Do you think that this could help ? https://www.youtube.com/watch?v=ONCdGHe0U

  • My super simple ip checking script

    i have a small home network with a PC running arch that acts as a NAT router; in the near future i am planning on setting up VPN access on this arch box. i would assume that it is imperative to know the external IP address of the router in order to c

  • Debugger and formatter disappeared - reverting to previous release

    Neither the Debugger or the SQL Formatter are functional in release 0897. The lack of the debugger makes it pretty much useless. I am reverting to the previous release. You need to examine your QA practices.

  • Unresponding touch after upgrading to 1.1.2

    I've just upgraded my Touch (never Jailbroken) to 1.1.2 and I have this problem that my screen is not responding... I can see all my icons and my contnent is being transfered, but I also get the little ball of white stripes for 5 seconds followed by

  • Changing the JCA SQL query in runtime

    Hi, Is it possible to change the predefined sql query in JCA during runtime in OSB. Regards, Abdul