Save to stack?

I was hoping stacks would solve my messy desktop issue--
Is there a way to save directly to a stack or do you have to save to the actual folder that you used as the alias?

bummer. i thought it might default to a stack. oh well, i guess i'll still have a messy desktop.

Similar Messages

  • How do I save a stack of adjustment layers that I want to then apply instantly to another image  ?

    Can anyone help with the following Photoshop question please ?
    I've been working on a 16bit image in PS CC on my Mac that has a stack of approximately 15 Adjustment Layers (AL's) which has taken a fair amount of work to put together and then saved as an unflattened PSD. The AL's consist of Curves, Selective Colour, Hue & Sat, Vibrance, Col Bal and Photo Filters with a variety of Masks. All AL's have been renamed with their own unique names.
    My question is:
    How do I save this stack of 15 AL's, as I want apply them to other similar images that where shot during a motor drive burst either side of the image mentioned above ?
    I know I can achieve exactly what I want by dragging all 15 AL's from the original image on to newly opened individual images.
    Although this method works absolutely perfectly and is instant I want to be able to somehow apply these AL's in an instantaneous automated way to enable me to deal with the large numbers of images that I want to apply this to.
    It appears to be the case that it isn't possible to simply select the complete stack of AL's from the original image, copy them and then paste them into a new image ! If this was possible I would simply create a simple action to deal with it.
    I know already that I can create an action to deal with this now, however that entails laboriously retracing what I did to the original image by saving presets to the many AL's, then reloading them, putting them in the correct order and finally renaming all of the AL's but as you'll appreciate it's a fairly long drawn out process which would take forever.
    I also need a method which has instant built in flexibility for when I tweak some of the AL's settings. At this point I wouldn't want to then have to go through the whole process of re-writing an involved action.
    I hope the above makes some sense to you all and that you can understand what I want to do.
    I've briefly looked over the Adobe forum where many people have been trying to find unsuccessfully the answer to this question for many years. If anyone has some sort of workaround for this I would very much appreciate hearing from you.
    Thanks

    save as,
    pick formate .... HTML
    save to desk top drag into power point

  • Edited photos will not save in stacked version after editing

    edited photos will not save in stacked version after editing

    Thank you problem seems to be solved.
    edited photos will not save in stacked version after editing
    created by Barbara B. in Photoshop Elements - View the full discussion
    Is this PSE 12? Go to editor>Help>updates and apply the 12.1 update, if so.
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6417103#6417103
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: 
    To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Photoshop Elements by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • Stack File for JSPM when using Maintenance Optimizer

    Hello,
    As you know JSPM looks for a stack file when applying a support pack stack.  When using maintanance optimizer I see no way to get a stack file.  I end up having to do the work twice:  once to get the files in maintenance optimizer, and again I have to go to marketplace swdc to choose the files and create the list of downloads again only to save a stack file.
    Am I missing something?  Is this double work really necessary?

    Hello John,
    It seems that you are doing double work.
    If you use the download type as "SLM" then you have a chance to transfer the XML to SLM. Else if you choose the download type as "Download Manager" then the XML should be created in the EPS/in folder of the Solution Manager system.
    You also need to check whether you have applied all the applicable notes for the Solution Manager stack from the note 1122966 and that the BC sets for MOPZ are activated correctly.
    Finally check the permissions on the EPS/in folder of Solution Manager to check whether there is a issue with authorizations.
    A SLG1 log ( filtered by the username who creates the MOPZ transaction and time at which the transaction was created ) will reveal the errors in the process.
    Regards
    Amit

  • Saving and redrawing image from stack

    Hi ,
    I have a small problem with images...I create BufferedImage which i save on stack everytime i click on a mouse button , but when i try to reacall that image from stack i dont get nothing or the last Image i made.
    This is the short description of my prog. :
    I have a main class that extends JFrame and inner class that extends JPanel and has a mouse listener , ... in this inner class everytime i press a mouse button i send image on stack , and problems i have is when i press a button declared in my main class to pop image from stack and paint it on my inner JPanel class i dont know how to implement this.
    So if anyone can help...please doooo

    I appologise...everytime i pasted code i forgot to change something...small tweeks...but now it work I tried it...before it didnt compile cos of small tweeks...but now it woks...I hope u ll see my problem when i hit undo button...everything is gone...maybe i need to create a new image to send on stack or something and load that image when i hit undo button...i dont know???
    import javax.swing.*;
    import javax.swing.event.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.*;
    import java.util.*;
    public class PainterDemo extends JFrame implements ActionListener{
           Stack stack=new Stack();
           BufferedImage image=new                                     BufferedImage(400,400,BufferedImage.TYPE_4BYTE_ABGR);
           Graphics graphic=image.getGraphics();
           Panel panel=new Panel();
           JButton white=new JButton();
           JButton black=new JButton();
           JButton yellow=new JButton();
           JButton blue=new JButton();
           JButton red=new JButton();
           JButton green=new JButton();
           JButton orange=new JButton();
           JButton pink=new JButton();
           JButton magenta=new JButton();
           JButton undo=new JButton("undo");
           JPanel selectedColor=new JPanel();
           JLabel startXst=new JLabel("0");
           JLabel startYst=new JLabel("0");
           JLabel middleXst=new JLabel("0");
           JLabel middleYst=new JLabel("0");
           JLabel endXst=new JLabel("0");
           JLabel endYst=new JLabel("0");
           Color background=new Color(224,126,0);
           Container content=this.getContentPane();
           public void adding(){
                  content.setLayout(null);
                  content.setBackground(background);
                  selectedColor.setBackground(Color.BLACK);
                  white.setBackground(Color.WHITE);
                  black.setBackground(Color.BLACK);
                  yellow.setBackground(Color.YELLOW);
                  blue.setBackground(Color.BLUE);
                  red.setBackground(Color.RED);
                  green.setBackground(Color.GREEN);
                  orange.setBackground(Color.ORANGE);
                  pink.setBackground(Color.PINK);
                  magenta.setBackground(Color.MAGENTA);
                  this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                  this.setSize(600,600);
                  this.setLocation(150,90);
                  undo.setBounds(190,128,100,34);
                  white.setBounds(5,170,30,30);
                  black.setBounds(37,170,30,30);
                  yellow.setBounds(69,170,30,30);
                  blue.setBounds(5,202,30,30);
                  red.setBounds(37,202,30,30);
                  green.setBounds(69,202,30,30);
                  orange.setBounds(5,234,30,30);
                  pink.setBounds(37,234,30,30);
                  magenta.setBounds(69,234,30,30);
                  selectedColor.setBounds(40,380,60,30);
                  panel.setBounds(190,164,400,400);
                  panel.requestFocus();
                  startXst.setBounds(85,440,60,20);
                  startYst.setBounds(85,460,60,20);
                  middleXst.setBounds(85,480,60,20);
                  middleYst.setBounds(85,500,60,20);
                  endXst.setBounds(85,520,60,20);
                  endYst.setBounds(85,540,60,20);
                  content.add(white);
                  content.add(black);
                  content.add(yellow);
                  content.add(blue);
                  content.add(red);
                  content.add(green);
                  content.add(orange);
                  content.add(pink);
                  content.add(magenta);
                  content.add(startXst);
                  content.add(startYst);
                  content.add(middleXst);
                  content.add(middleYst);
                  content.add(endXst);
                  content.add(endYst);
                  content.add(panel);
                  content.add(selectedColor);
                  content.add(undo);
                  undo.addActionListener(this);
                  white.addActionListener(this);
                  black.addActionListener(this);
                  yellow.addActionListener(this);
                  blue.addActionListener(this);
                  red.addActionListener(this);
                  green.addActionListener(this);
                  orange.addActionListener(this);
                  pink.addActionListener(this);
                  magenta.addActionListener(this);
                  this.setVisible(true);
           public PainterDemo(){
                  adding();
           public static void main(String[]args){
                  new PainterDemo();
           public void actionPerformed(ActionEvent e) {
                  Object button=e.getSource();
                         if(button==undo){//HERE I CALL MY IMAGE FROM STACK AND I SORT OF REPAINT IT...BUT IT DOES NOT WORK
                                BufferedImage temp=(BufferedImage)stack.pop();
                                panel.paint(temp.getGraphics());
                                panel.repaint();
           else if(button==white){
                  selectedColor.setBackground(Color.WHITE);
           else if(button==black){
                  selectedColor.setBackground(Color.BLACK);
           else if(button==yellow){
                  selectedColor.setBackground(Color.YELLOW);
           else if(button==blue){
                  selectedColor.setBackground(Color.BLUE);
           else if(button==red){
                  selectedColor.setBackground(Color.RED);
           else if(button==green){
                  selectedColor.setBackground(Color.GREEN);
           else if(button==orange){
                  selectedColor.setBackground(Color.ORANGE);
           else if(button==pink){
                  selectedColor.setBackground(Color.PINK);
           else if(button==magenta){
                  selectedColor.setBackground(Color.MAGENTA);
           class Panel extends JPanel implements MouseListener,MouseMotionListener{
                  public Panel(){
                  this.addMouseListener(this);
                  this.addMouseMotionListener(this);
           public void mouseClicked(MouseEvent e) {
           public void mousePressed(MouseEvent e) {
                  int startX=e.getX();
                  int startY=e.getY();
                  startXst.setText(Integer.toString(startX));
                  startYst.setText(Integer.toString(startY));
           public void mouseReleased(MouseEvent e) {
                  int endX=e.getX();
                  int endY=e.getY();
                  endXst.setText(Integer.toString(endX));
                  endYst.setText(Integer.toString(endY));
           stack.push(image);//HERE I PUSH MY IMAGE ON STACK OR AT LEAST I THINK SO
           public void mouseEntered(MouseEvent e) {
           public void mouseExited(MouseEvent e) {
           public void mouseDragged(MouseEvent e) {
                  int xStart=Integer.parseInt(startXst.getText());
                  int yStart=Integer.parseInt(startYst.getText());
                  int x=e.getX();
                  middleXst.setText(Integer.toString(x));
                  int y=e.getY();
                  middleYst.setText(Integer.toString(y));
                  graphic=image.getGraphics();
                  graphic.setColor(selectedColor.getBackground());
                  graphic.drawLine(xStart,yStart,x,y);
           startXst.setText(Integer.toString(x));
           startYst.setText(Integer.toString(y));
           repaint();
           public void mouseMoved(MouseEvent e) {
           public void paint(Graphics g){
           super.paint(g);
           if(image!=null){
           g.drawImage(image,0,0,this);
    }//this was missing for me

  • Batch subfolder images to layer stacks, then to sprites.

    I have tried for nearly a week now to wrap my head around this one but I'm a just too new to java scripting to pick it up soon enough to solve my problem. I found Batch HDR creation script, which was great and close to what I'm looking for but I'm not sure how to put it all together. I'm hoping, no begging for some help.
    Ok....
    So I have animations for a game rendered into png image sequences placed into separate folders that contain customizable armor and weapons that can be added on top of the character upon the gamers selection.
    There are 130 total character animation folders and 209 separate subfolders inside the animation folders containing the custom armor and weapons following the character.
    The original idea was just to give the programer image sequences but it has changed to require sprite sheets now, and that leaves way too many manual conversions to cover in the time I'm allotted.
    I need a script that makes you browse for the top folder(the animation)one time then opens all subfolder images one folder at a time into layer stacks, then converts them to sprite sheets, saves them out as a png with transparency to a separate folder containing all created sprite sheets from the animation folder in one new folder or already created folder on the desktop.
    I mashed some well thought out(not mine) scripts together but couldn't get them to batch open subfolders and the layers to sprite would return an error because some frames are blank.
    I'm using Photoshop CS5 and Mac osx, this is my first forum post anywhere, ever, so exciting. Thanks for any advice or help.
    Dev

    // select folder, create files with the contents of one of the subfolders each as layers and save them to the folder;
    // use it at your own risk;
    #target photoshop
    // select a folder;
    var sourceFolder = Folder.selectDialog("Select folder");
    if (sourceFolder) {
    // the psd options;
    psdOpts = new PhotoshopSaveOptions();
    psdOpts.embedColorProfile = true;
    psdOpts.alphaChannels = false;
    psdOpts.layers = true;
    psdOpts.spotColors = true;
    // get the contents as one array per folder;
    var items = retrieveFiles(sourceFolder, [[]]);
    // iterate through;
    for (var m = 1; m < items.length; m++) {
              var thisArray = items[m];
              var folderName = thisArray[0].parent.name;
    // open file;
              var theImage = app.open(File(thisArray[0]));
              for (var n = 1; n < thisArray.length; n++) {
    // place rest of array;
                        var theLayer = placeScaleFile(thisArray[n], 0, 0, 100);
    // Arrange layers into a sprite sheet.   
    if (documents.length > 0)
              var cols = 5;
              docRef = activeDocument;   
              var activeLayer = docRef.activeLayer;
              numLayers = docRef.artLayers.length;
    //           layertext = "There are " + numLayers + " layers.";
              var rows = Math.ceil(numLayers/cols);
               var spriteX = docRef.width;
               var spriteY = docRef.height;
              // put things in order
              app.preferences.rulerUnits = Units.PIXELS;
              // resize the canvas
               newX = spriteX * cols;
               newY = spriteY * rows;
               docRef.resizeCanvas( newX, newY, AnchorPosition.TOPLEFT );
              // move the layers around
               var rowi = 0;
               var coli = 0;
               for (i=(numLayers - 1); i >= 0; i--)
                         docRef.artLayers[i].visible = 1;
                          var movX = spriteX*coli;
                          var movY = spriteY*rowi;
                         docRef.artLayers[i].translate(movX, movY);
                         coli++;
                         if (coli > (cols - 1))
                                   rowi++;
                                   coli = 0;
    //This is to merge the visible layers/////////
    try{
        activeDocument.mergeVisibleLayers();
        }catch(e){}
    // save the stacked file;
              theImage.saveAs(new File(sourceFolder+"/"+folderName+".psd"),psdOpts,false);
    // close;
              theImage.close(SaveOptions.DONOTSAVECHANGES);
    ////// get from subfolders //////
    function retrieveFiles (theFolder, theFiles) {
              if (!theFiles) {var theFiles = [[]]};
              var theContent = theFolder.getFiles();
              for (var n = 0; n < theContent.length; n++) {
                        var theObject = theContent[n];
                        if (theObject.constructor.name == "Folder") {
                                  theFiles.push(new Array)
                                  retrieveFiles(theObject, theFiles)
                        if (theObject.name.match(new RegExp(/\.(jpe|jpg|jpeg|gif|png|tif|tiff|bmp|psd|dng|pict|eps|raw|rw2|crw|cr2)/i)) != null) {
                                  theFiles[theFiles.length - 1].push(theObject)
              return theFiles
    ////// get psds, tifs and jpgs from files //////
    function getFiles (theFile) {
        if (theFile.name.match(/\.(eps|ai|jpg|tif|psd|pdf|)$/i)) {
            return true
    ////// place //////
    function placeScaleFile (file, xOffset, yOffset, theScale) {
    // =======================================================
    var idPlc = charIDToTypeID( "Plc " );
        var desc5 = new ActionDescriptor();
        var idnull = charIDToTypeID( "null" );
        desc5.putPath( idnull, new File( file ) );
        var idFTcs = charIDToTypeID( "FTcs" );
        var idQCSt = charIDToTypeID( "QCSt" );
        var idQcsa = charIDToTypeID( "Qcsa" );
        desc5.putEnumerated( idFTcs, idQCSt, idQcsa );
        var idOfst = charIDToTypeID( "Ofst" );
            var desc6 = new ActionDescriptor();
            var idHrzn = charIDToTypeID( "Hrzn" );
            var idPxl = charIDToTypeID( "#Pxl" );
            desc6.putUnitDouble( idHrzn, idPxl, xOffset );
            var idVrtc = charIDToTypeID( "Vrtc" );
            var idPxl = charIDToTypeID( "#Pxl" );
            desc6.putUnitDouble( idVrtc, idPxl, yOffset );
        var idOfst = charIDToTypeID( "Ofst" );
        desc5.putObject( idOfst, idOfst, desc6 );
        var idWdth = charIDToTypeID( "Wdth" );
        var idPrc = charIDToTypeID( "#Prc" );
        desc5.putUnitDouble( idWdth, idPrc, theScale );
        var idHght = charIDToTypeID( "Hght" );
        var idPrc = charIDToTypeID( "#Prc" );
        desc5.putUnitDouble( idHght, idPrc, theScale );
        var idLnkd = charIDToTypeID( "Lnkd" );
        desc5.putBoolean( idLnkd, true );
    executeAction( idPlc, desc5, DialogModes.NO );
    return app.activeDocument.activeLayer;

  • XLL, OLE Com automation and Undo stack

    Hello,
    I have a XLL written in C/C++ which registers a recalc handler.
    In this recalc handler styles are set for specific ranges via OLE com Automation.
    Unfortunatly it looks like that this action clears the undo stack.
    So what I need is the possibilities to save the undo stack and then restore it.
    // save undo stack
    // set styles
    // restore undo stack
    Is this possible ?
    tia
      Hendrik Schmieder

    Hi Hendrik,
    I'll involve some other engineer into your case, as I don't know much about XLL development. When there're some updates we'll come back.
    Thanks for your understanding.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Can I use the same sim card from my iPad 1 and use it in my new iPad 3 4G?

    I have been having difficulty getting a straight answer please someone help me. I have an unlimited plan on my old sim that cannot be transferred I'm really hoping I can use the same one

    From what I understand the AE cards from the last model PM G5s will go into a MP although I would not suggest you do this as it's not as if you're going to save a stack of money over it. It's not going to support 802.11n connection formats and may not have the correct electrical requirements so may damage your MP.
    For instructions, try searching Google.

  • No "configure" command in enable mode?

    Got a 1142AG LAP from eBay.
    Connect console cable to it.  Seems to be able to get into priviledge mode.  But there's no "configure" command available.  What can I do?  Thanks!
    AP0017.5a9b.08a4#?
    Exec commands:
      cd               Change current directory
      clear            Reset functions
      clock            Manage the system clock
      crypto           Encryption related commands.
      debug            Debugging functions (see also 'undebug')
      delete           Delete a file
      dir              List files on a filesystem
      disable          Turn off privileged commands
      dot11            IEEE 802.11 commands
      enable           Turn on privileged commands
      exit             Exit from the EXEC
      fsck             Fsck a filesystem
      help             Description of the interactive help system
      led              LED functions
      lock             Lock the terminal
      login            Log in as a particular user
      logout           Exit from the EXEC
      mkdir            Create new directory
      monitor          Monitoring different system events
      more             Display the contents of a file
      name-connection  Name an existing network connection
      no               Disable debugging functions
      ping             Send echo messages
      pwd              Display current working directory
      release          Release a resource
      reload           Halt and perform a cold restart
      rename           Rename a file
      renew            Renew a resource
      rmdir            Remove existing directory
      save             Start to save raise_interrupt_level stack
      send             Send a message to other tty lines
      set              Set system parameter (not config)
      show             Show running system information
      systat           Display information about terminal lines
      terminal         Set terminal line parameters
      test             Test subsystems, memory, and interfaces
      traceroute       Trace route to destination
      undebug          Disable debugging functions (see also 'debug')
      upgrade          Upgrade software
      verify           Verify a file
      where            List active connections
    AP0017.5a9b.08a4#sh ver
    Cisco IOS Software, C1240 Software (C1240-K9W8-M), Version 12.3(7)JX3, RELEASE SOFTWARE (fc1)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2006 by Cisco Systems, Inc.
    Compiled Tue 28-Feb-06 21:32 by kellythw
    ROM: Bootstrap program is C1240 boot loader
    BOOTLDR: C1240 Boot Loader (C1240-BOOT-M) Version 12.3(7)JA1, RELEASE SOFTWARE (fc1)
    AP0017.5a9b.08a4 uptime is 1 hour, 24 minutes
    System returned to ROM by power-on
    System image file is "flash:/c1240-k9w8-mx.123-7.JX3/c1240-k9w8-mx.123-7.JX3"
    cisco AIR-LAP1242AG-A-K9   (PowerPCElvis) processor (revision A0) with 24566K/8192K bytes of memory.
    Processor board ID FTX1014B0RD
    PowerPCElvis CPU at 266Mhz, revision number 0x0950
    Last reset from power-on
    1 FastEthernet interface
    2 802.11 Radio(s)
    32K bytes of flash-simulated non-volatile configuration memory.
    Base ethernet MAC Address: 00:17:5A:9B:08:A4
    Part Number                          : 73-9925-04
    PCA Assembly Number                  : 800-26579-04
    PCA Revision Number                  : A0
    PCB Serial Number                    : FOC10130VCR
    Top Assembly Part Number             : 800-26804-02
    Top Assembly Serial Number           : FTX1014B0RD
    Top Revision Number                  : B0
    Product/Model Number                 : AIR-LAP1242AG-A-K9 
    Configuration register is 0xF

    The AP has been converted to lightweight:
    C1240-K9W8-M
    The K9W8 is lightweight and K9W7 is autonomous.  You need a WLC for the K9W8.  If you have an autonomous image, you can convert it back:
    Using a TFTP Server to Return to a Previous Release
    http://www.cisco.com/en/US/docs/wireless/access_point/conversion/lwapp/upgrade/guide/lwapnote.html#wp160918
    https://supportforums.cisco.com/docs/DOC-18268
    http://www.cisco.com/en/US/docs/wireless/access_point/conversion/lwapp/upgrade/guide/lwapnote.html#wp160918
    http://www.youtube.com/watch?v=QQ_NuxdRhQ4
    https://supportforums.cisco.com/docs/DOC-14960
    Thanks,
    Scott
    *****Help out other by using the rating system and marking answered questions as "Answered"*****

  • GRC AC 5.3 and GRC Process Control on the same server

    Hello,
    Can we install SAP GRC AC 5.3 and GRC Process Control 3.0 and GRC Risk Management 3.0 on the same box/ same server.
    Is there a OSS Note, which talks about having the above 3 components on one box?
    Thanks,
    Imran

    Hello Imran,
      1- My 3 question ARE do I need a separate JAVA Stack for GRC Process Control and seperate JAVA Stack for GRC Access Control
    -> No, you can have them installed on save Java stack.
    OR
    Can I use the same JAVA Stack for GRC Process Control & GRC Access Control?
    -> Yes, you can. You have to make sure that you are on SP10 or above for Access Control as only then it will support NW Java 7.01.
    2- Can I use EP 7.0.1 installed on same server for both GRC PC 3.0 and GRC AC 5.3?
    -> Yes, you can.
    3- Can 1 single AS JAVA Database contain both GRC Access Control VIRSA Tables and GRC Process control tables at the same time?
    -> For process Control the tables reside on the backend SAP as it is webdynpro ABAP application and for access control the tables reside on the Java database as it is java and webdynpro JAVA application.
    Regards, Varun

  • Need some explanations regarding static Method

    Hello,
    I have a code where a class has a static method access by other classes. This not working as I thought and I would like to understand why.
    Here below is the code.
    Here is a class having the static method "test"
    package test;
    public class StaticTest {
        public StaticTest() {
        public static void test (int i){
        while (i < 1000){
            System.out.println("i = " + i );
            i++;
    }Here is the code of another class (Thread) using this static method. This Thread can be initialized with an integrer value that will be passed to the static Method.
    package test;
    public class ThreadTester extends Thread {
        int x;
        public ThreadTester(int i) {
            x=i;
        public void run(){
            StaticTest.test(x);
    }Here is the code starting 2 Thread running in parallel and both are then calling the static method.
    //start 2 thread accessing the static method.
          ThreadTester test1 = new ThreadTester(0);
          ThreadTester test2 = new ThreadTester(200);
          test1.start();
          test2.start();
    ...As the second thread is started with a bigger value I thought that we would only have seen few printouts from the first thread starting by 0 and then printouts starting by 200.
    Here is what I thought regarding the result:
    i = 0
    i = 1
    i = 2
    i = 3
    i = 200 --> startup of the second thread, x in static method is overriden (at least this is what I thought!)
    i = 201
    i = 202
    i = 203
    i = 204
    i = 205
    i = 206
    i = 207
    i = 208
    i = 209
    But the real result is:
    i = 0
    i = 1
    i = 2
    i = 3
    i = 4
    i = 5
    i = 200
    i = 6
    i = 201
    i = 202
    i = 203
    i = 204
    i = 205
    i = 206
    i = 7
    i = 207
    i = 208
    i = 209
    i = 8
    It seems that there is 2 instances running in parallel. I thought that it would'nt be the case with the word "Static".
    Also I don't understand the result because if I use JBuilder in Optimizer mode I can see that there is only one instance of StaticTest object.
    Can anyone here explain me how is that possible?
    Thanks in advance for your help.
    Regards,
    Alain.

    >
    thread test1 creates its own stack and starts incrementing �i� starting at values 0. However, in the middle of incrementing, it gets kicked out by the OS (or JVM) into a �blocked� state to allow other threads to run. BUT before leaving the running state, test1 saves the stack state including the value of �i�.
    >
    Ok, now I understand, but then I have another question.
    What is the difference between the code shown in my first post and the following where we create 2 instances of StaticTest class (which is not static in this case for sure).
    How to decide (while coding) if it is better to use difference instances of class or not?
    package test;
    public class StaticTest {
        public StaticTest() {
        public void test (int i){ //Not static anymore
        while (i < 1000){
            System.out.println("i = " + i );
            i++;
    }We create new instance in the Thread.
    package test;
    public class ThreadTester extends Thread {
        int x;
        public ThreadTester(int i) {
            x=i;
        public void run(){
    StaticTest newInstance = new StaticTest(); //Create a new instance
            newInstance .test(x);
    }Alain

  • Setup new access point 1200

    hi
    i have problem in install new access point 1200
    the access point now not connect to any device iam connect the access point using ethernet cable to PC to configure it i try to using GUI but i can not iam setup the PC with ip address 10.0.0.2 and GW 10.0.0.1 and i try to enter to access point but i can not
    i try to use CLI and i connect the access point to PC using console cable and now iam enter to it after the access point start i try to enter to config ter but i can not i get error when i check the command i can not see this command and when i read the manual its tell me to setup ip address using command (lwapp ap ip address) and i try to save ip address using command wr mem or copy run start but i cannot i get error
    in prevelig mode i get only this command
    clear Reset functions8B5E500 00001537 61300D06 092A8648
    clock Manage the system clock
    crypto Encryption related commands.
    debug Debugging functions
    dir List files on a
    led LED lock Lock the terminal
    more Display the contents of a file
    name-connection Name an existing network connection
    no Disable debugging functions
    ping Send echo messages
    pwd Display current working directory
    release Release a resource
    reload Halt and perform a cold restart
    rename Rename a file
    renew Renew a resource
    rmdir Remove existing directory
    save Start to save raise_interrupt_level stack
    send Send a message to other tty lines
    set Set system parameter (not config)
    show Show running system information
    systat Display information about terminal lines
    terminal Set terminal line parameters
    test Test subsystems, memory, and interfaces
    traceroute Trace route to destination
    undebug Disable debugging functions (see also 'debug')
    upgrade Upgrade software
    verify Verify a file
    where List active connections
    how i can setup it and how i can enable the radio
    when i see sh run i see that the ip address is dhcp
    can any one help me please
    thanks

    Hi Nassem,
    It looks like you ended up with a Lightweight AP (LAP Part#) instead of an IOS AP. This can be fixed;
    Reverting the Access Point Back to Autonomous Mode
    http://www.cisco.com/en/US/products/hw/wireless/ps430/prod_technical_reference09186a00804fc3dc.html#wp161272
    You can convert an access point from lightweight mode back to autonomous mode by loading a Cisco IOS Release that supports autonomous mode (Cisco IOS release 12.3(7)JA or earlier). If the access point is associated to a controller, you can use the controller to load the Cisco IOS release. If the access point is not associated to a controller, you can load the Cisco IOS release using TFTP.
    Using a TFTP Server to Return to a Previous Release
    Follow these steps to revert from LWAPP mode to autonomous mode by loading a Cisco IOS release using a TFTP server:
    Step 1 The static IP address of the PC on which your TFTP server software runs should be between 10.0.0.2 and 10.0.0.30.
    Step 2 Make sure that the PC contains the access point image file (such as c1200-k9w7-tar.122-15.JA.tar for a 1200 series access point) in the TFTP server folder and that the TFTP server is activated.
    Step 3 Rename the access point image file in the TFTP server folder to c1200-k9w7-tar.default for a 1200 series access point, c1130-k9w7-tar.default for an 1130 series access point, and c1240-k9w7-tar.default for a 1240 series access point.
    Step 4 Connect the PC to the access point using a Category 5 (CAT5) Ethernet cable.
    Step 5 Disconnect power from the access point.
    Step 6 Press and hold MODE while you reconnect power to the access point.
    Step 7 Hold the MODE button until the status LED turns red (approximately 20 to 30 seconds) and then release.
    Step 8 Wait until the access point reboots, as indicated by all LEDs turning green followed by the Status LED blinking green.
    Step 9 After the access point reboots, reconfigure it using the GUI or the CLI.
    From this doc;
    http://www.cisco.com/en/US/products/hw/wireless/ps430/prod_technical_reference09186a00804fc3dc.html#wp161272
    Hope this helps!
    Rob

  • LR4 / PS CS6 no image

    This was all working prior to upgrading to CS6.....  but now when I right click on an image in LR4 and choose "Edit In" --> Photoshop CS6 then Photoshop CS6 launches but the image never appears.
    It all seems correctly configured in the Preferences, but there is no additional image being stacked with the original either.
    Any ideas?

    domitor wrote:
    It doesn't stack the images like it used to with CS5 at first, nor does it ask me if i want to edit the original or the edited with LR changes. It opens a raw file with LR edits applied to it, even cloning and adjustment brush changes. Once you edit something in PS and save it, it will save it using what ever preference you selected, and then it will add a new file to LR and stack it together with the original. its a little weird but it works and thats all i care about
    What you describe is normal behaviour for LR - it's working exactly as it should do.
    You would only get a prompt to edit original, edit copy, etc if the file you tried to open in an external editor (PS) wasn't a raw file (e.g. if you tried to open a TIFF or JPEG), otherwise it opens directly into PS (having being rendered first using ACR but using the settings you applied in the LR develop module) without the need to save and stack an image first. The reason it was working differently in CS5 is because the two weren't directly compatible, so LR had to render an image before passing it over to PS, hence it giving you the "edit original" message, immediatley appearing in the catalogue, and being stacked with the original before you actually did anything in PS. Hope this makes sense!
    M

  • No Global Configuration Mode?

    I'm sure this has something to do the RAM or Flash memory.  This is an access point that's been sitting on the shelf and as far as I knew it was working.  However, I can enter privileged mode but there is no "conf t" or configure terminal option.  I tried holding down the Mode button on reboot but it didn't seem to change anything.  I'm just trying to gain access to the gui.  I see the IP address from an IP scanner I have but am not able to access it via web browser.  This is all I'm seeing from priveledged mode.
     cd               Change current directory
      clear            Reset functions
      clock            Manage the system clock
      crypto           Encryption related commands.
      debug            Debugging functions (see also 'undebug')
      delete           Delete a file
      dir              List files on a filesystem
      disable          Turn off privileged commands
      enable           Turn on privileged commands
      exit             Exit from the EXEC
      fsck             Fsck a filesystem
      help             Description of the interactive help system
      led              LED functions
      lock             Lock the terminal
      login            Log in as a particular user
      logout           Exit from the EXEC
      mkdir            Create new directory
      more             Display the contents of a file
      name-connection  Name an existing network connection
      no               Disable debugging functions
      ping             Send echo messages
      pwd              Display current working directory
      release          Release a resource
      reload           Halt and perform a cold restart
      rename           Rename a file
      renew            Renew a resource
      rmdir            Remove existing directory
      save             Start to save raise_interrupt_level stack
      send             Send a message to other tty lines
      set              Set system parameter (not config)
      show             Show running system information
      systat           Display information about terminal lines
      terminal         Set terminal line parameters
      test             Test subsystems, memory, and interfaces
      traceroute       Trace route to destination
      undebug          Disable debugging functions (see also 'debug')
      upgrade          Upgrade software
      verify           Verify a file
      where            List active connections
    Thanks for the help.

    Yes, here is the output:
    AP001e.f7ee.4d02>enable
    AP001e.f7ee.4d02#show version
    Cisco IOS Software, C1130 Software (C1130-RCVK9W8-M), Version 12.3(7)JX9, RELEAS                                                                                        E SOFTWARE (fc1)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2007 by Cisco Systems, Inc.
    Compiled Tue 17-Jul-07 00:40 by tinhuang
    ROM: Bootstrap program is C1130 boot loader
    BOOTLDR: C1130 Boot Loader (C1130-BOOT-M) Version 12.3(8)JEA, RELEASE SOFTWARE (                                                                                        fc2)
    AP001e.f7ee.4d02 uptime is 22 hours, 6 minutes
    System returned to ROM by power-on
    System image file is "flash:/c1130-rcvk9w8-mx/c1130-rcvk9w8-mx"
    cisco AIR-AP1131AG-A-K9    (PowerPCElvis) processor (revision A0) with 24566K/81                                                                                        92K bytes of memory.
    Processor board ID FTX1224T0LZ
    PowerPCElvis CPU at 262Mhz, revision number 0x0950
    Last reset from power-on
    1 FastEthernet interface
    32K bytes of flash-simulated non-volatile configuration memory.
    Base ethernet MAC Address: 00:1E:F7:EE:4D:02
    Part Number                          : 73-8962-12
    PCA Assembly Number                  : 800-24818-11
    PCA Revision Number                  : B0
    PCB Serial Number                    : FOC12225C3J
    Top Assembly Part Number             : 800-29230-01
    Top Assembly Serial Number           : FTX1224T0LZ
    Top Revision Number                  : A0
    Product/Model Number                 : AIR-AP1131AG-A-K9
    Configuration register is 0xF
    AP001e.f7ee.4d02#

  • Gcc 4.6.0 seems to have -fomit-frame-pointer disabled in -O2 ?

    According to the gcc docs, -fomit-frame-pointer should be enabled at -O2 for x86_64 and i686 with release 4.6.0, but I get the following:
    On x86_64 and on i686:
    $ gcc -c -Q -O2 --help=optimizers | grep fomit
    -fomit-frame-pointer [disabled]
    Is this the expected behavior?  I don't see anything in the PKGBUILD that would disable it.
    "Starting with GCC version 4.6, the default setting (when not optimizing for size) for 32-bit Linux x86 and 32-bit Darwin x86 targets has been changed to -fomit-frame-pointer. The default can be reverted to -fno-omit-frame-pointer by configuring GCC with the --enable-frame-pointer configure option."
    And...
    -fomit-frame-pointer
        Don't keep the frame pointer in a register for functions that don't need one. This avoids the instructions to save, set up and restore frame pointers; it also makes an extra register available in many functions. It also makes debugging impossible on some machines.
        On some machines, such as the VAX, this flag has no effect, because the standard calling sequence automatically handles the frame pointer and nothing is saved by pretending it doesn't exist. The machine-description macro FRAME_POINTER_REQUIRED controls whether a target machine supports this flag. See Register Usage.
        Starting with GCC version 4.6, the default setting (when not optimizing for size) for 32-bit Linux x86 and 32-bit Darwin x86 targets has been changed to -fomit-frame-pointer. The default can be reverted to -fno-omit-frame-pointer by configuring GCC with the --enable-frame-pointer configure option.
        Enabled at levels -O, -O2, -O3, -Os.
    Last edited by graysky (2011-04-29 20:37:32)

    @koeleck - nice, thanks!
    1) Why can't we trust the output of help={traget,optimizers}? 
    2) Does the same set of flags apply when makepkg calls /usr/bin/make?
    On x86_64
    options enabled: -falign-labels -fasynchronous-unwind-tables
    -fauto-inc-dec -fbranch-count-reg -fcaller-saves
    -fcombine-stack-adjustments -fcommon -fcompare-elim -fcprop-registers
    -fcrossjumping -fcse-follow-jumps -fdefer-pop -fdelete-null-pointer-checks
    -fdevirtualize -fdwarf2-cfi-asm -fearly-inlining
    -feliminate-unused-debug-types -fexpensive-optimizations
    -fforward-propagate -ffunction-cse -fgcse -fgcse-lm
    -fguess-branch-probability -fident -fif-conversion -fif-conversion2
    -findirect-inlining -finline -finline-functions-called-once
    -finline-small-functions -fipa-cp -fipa-profile -fipa-pure-const
    -fipa-reference -fipa-sra -fira-share-save-slots -fira-share-spill-slots
    -fivopts -fkeep-static-consts -fleading-underscore -fmath-errno
    -fmerge-constants -fmerge-debug-strings -fmove-loop-invariants
    -fomit-frame-pointer -foptimize-register-move -foptimize-sibling-calls
    -fpartial-inlining -fpeephole -fpeephole2 -fprefetch-loop-arrays
    -freg-struct-return -fregmove -freorder-blocks -freorder-functions
    -frerun-cse-after-loop -fsched-critical-path-heuristic
    -fsched-dep-count-heuristic -fsched-group-heuristic -fsched-interblock
    -fsched-last-insn-heuristic -fsched-rank-heuristic -fsched-spec
    -fsched-spec-insn-heuristic -fsched-stalled-insns-dep -fschedule-insns2
    -fshow-column -fsigned-zeros -fsplit-ivs-in-unroller -fsplit-wide-types
    -fstrict-aliasing -fstrict-overflow -fstrict-volatile-bitfields
    -fthread-jumps -ftoplevel-reorder -ftrapping-math -ftree-bit-ccp
    -ftree-builtin-call-dce -ftree-ccp -ftree-ch -ftree-copy-prop
    -ftree-copyrename -ftree-cselim -ftree-dce -ftree-dominator-opts
    -ftree-dse -ftree-forwprop -ftree-fre -ftree-loop-if-convert
    -ftree-loop-im -ftree-loop-ivcanon -ftree-loop-optimize
    -ftree-parallelize-loops= -ftree-phiprop -ftree-pre -ftree-pta
    -ftree-reassoc -ftree-scev-cprop -ftree-sink -ftree-slp-vectorize
    -ftree-sra -ftree-switch-conversion -ftree-ter -ftree-vect-loop-version
    -ftree-vrp -funit-at-a-time -funwind-tables -fvar-tracking
    -fvar-tracking-assignments -fvect-cost-model -fzee
    -fzero-initialized-in-bss -m128bit-long-double -m64 -m80387
    -maccumulate-outgoing-args -malign-stringops -mcx16 -mfancy-math-387
    -mfp-ret-in-387 -mglibc -mieee-fp -mmmx -mpush-args -mred-zone -msahf
    -msse -msse2 -msse3 -msse4.1 -mssse3 -mtls-direct-seg-refs
    On i686:
    options enabled: -falign-labels -fasynchronous-unwind-tables
    -fauto-inc-dec -fbranch-count-reg -fcaller-saves
    -fcombine-stack-adjustments -fcommon -fcompare-elim -fcprop-registers
    -fcrossjumping -fcse-follow-jumps -fdefer-pop -fdelete-null-pointer-checks
    -fdevirtualize -fdwarf2-cfi-asm -fearly-inlining
    -feliminate-unused-debug-types -fexpensive-optimizations
    -fforward-propagate -ffunction-cse -fgcse -fgcse-lm
    -fguess-branch-probability -fident -fif-conversion -fif-conversion2
    -findirect-inlining -finline -finline-functions-called-once
    -finline-small-functions -fipa-cp -fipa-profile -fipa-pure-const
    -fipa-reference -fipa-sra -fira-share-save-slots -fira-share-spill-slots
    -fivopts -fkeep-static-consts -fleading-underscore -fmath-errno
    -fmerge-constants -fmerge-debug-strings -fmove-loop-invariants
    -fomit-frame-pointer -foptimize-register-move -foptimize-sibling-calls
    -fpartial-inlining -fpcc-struct-return -fpeephole -fpeephole2
    -fprefetch-loop-arrays -fregmove -freorder-blocks -freorder-functions
    -frerun-cse-after-loop -fsched-critical-path-heuristic
    -fsched-dep-count-heuristic -fsched-group-heuristic -fsched-interblock
    -fsched-last-insn-heuristic -fsched-rank-heuristic -fsched-spec
    -fsched-spec-insn-heuristic -fsched-stalled-insns-dep -fschedule-insns2
    -fshow-column -fsigned-zeros -fsplit-ivs-in-unroller -fsplit-wide-types
    -fstrict-aliasing -fstrict-overflow -fstrict-volatile-bitfields
    -fthread-jumps -ftoplevel-reorder -ftrapping-math -ftree-bit-ccp
    -ftree-builtin-call-dce -ftree-ccp -ftree-ch -ftree-copy-prop
    -ftree-copyrename -ftree-cselim -ftree-dce -ftree-dominator-opts
    -ftree-dse -ftree-forwprop -ftree-fre -ftree-loop-if-convert
    -ftree-loop-im -ftree-loop-ivcanon -ftree-loop-optimize
    -ftree-parallelize-loops= -ftree-phiprop -ftree-pre -ftree-pta
    -ftree-reassoc -ftree-scev-cprop -ftree-sink -ftree-slp-vectorize
    -ftree-sra -ftree-switch-conversion -ftree-ter -ftree-vect-loop-version
    -ftree-vrp -funit-at-a-time -funwind-tables -fvar-tracking
    -fvar-tracking-assignments -fvect-cost-model -fzero-initialized-in-bss
    -m32 -m80387 -m96bit-long-double -maccumulate-outgoing-args
    -malign-stringops -mcx16 -mfancy-math-387 -mfp-ret-in-387 -mglibc
    -mieee-fp -mmmx -mno-red-zone -mpush-args -msahf -msse -msse2 -msse3
    -msse4.1 -mssse3 -mtls-direct-seg-refs
    Last edited by graysky (2011-04-30 10:34:44)

Maybe you are looking for

  • Invoking EBusiness Suite APIs from Oracle Data Integrator

    Hi, I am using ODI as the data migration tool to load data from oracle legacy application to ebiz. Is there any knowledge module available to call oracle Ebusiness APIs? Thanks in advance. -Santanu

  • The Folder Path Contains an Invalid Character

    I get this error message, when I try to download itunes on my computer with windows XP. I had itunes earlier, but got the same error message, when i tried to update new versions, so I deleted itunes manually from my computer. Please help me, because

  • 2 monitors on Mac mini

    Can I use two separate monitors w Mac mini. 

  • Can ipod classic be used with icloud

    Hi, could someone please tell me if i can use my ipod classic with i cloud

  • Using bluetooth and airplay together.

    It appears from documents in Support that you have to disable BT to use Airplay. I'm hoping someone here can give me an explaination or even a work around . I have the 4S, and just bought AppleTV. I was hoping to stream some workout videos to the App