I have a script that works on all the machines in my office, unless someone can help me?

Most of the machines in my studio run cs5.5 or cs6, but only one machine is running 5.1 - we use this script on all machines:

#target photoshop

main() {} function

If (documents.length! = 1) return end

PSD opened with layers to copy

var PSD = new File ("/ Applications/Adobe Photoshop CS6/Presets/Scripts/Script_Resources/moreLengthsOverlayTemplate.psd");

If (!.) (Return PSD.exists);

Open (PSD);

selectAllLayers();

activeDocument.activeLayer.duplicate (documents [0]);

app.activeDocument.close (SaveOptions.DONOTSAVECHANGES);

}

function selectAllLayers() {}

var desc29 = new ActionDescriptor();

var ref23 = new ActionReference();

ref23.putEnumerated (charIDToTypeID ('Lyr'), charIDToTypeID ('Ordn'), charIDToTypeID ('Trgt'));

desc29.putReference (charIDToTypeID ('null'), ref23);

executeAction (stringIDToTypeID ('selectAllLayers'), desc29, DialogModes.NO);

}

main();

but I have a troublesome machine giving me issues.

Here are a few screenshots to illustrate what is happening:

Screen Shot 2013-05-30 at 11.05.37 AM.png

Screen Shot 2013-05-30 at 11.07.23 AM.pngScreen Shot 2013-05-30 at 11.07.38 AM.png

I'm not terribly saavy script and I don't know if it's just because the machine in question is running cs5.1 or if theres another problem.

Thanks for your help!

Here is an update on the situation, a user on the machine was having a problem where photoshop opens not at all, it will crash and reopen and crash very much. so we tried to connect as another user who is having the problem I described in this thread, it turns out that this user has some kind of issue in which he had no permission to open the source files for that solved the problem. Then, we deleted the user account in which photoshop will not open and created a new user and the new user seems to work around at the moment and the script has not been changed. I guess what my point, is that the problem is external to the script throughout.

Tags: Photoshop

Similar Questions

  • I have some videos .wmv on a Web page that work in all the

    major browsers (including Safari on a Mac), but not Safari on Windows. I downloaded and installed (as I know), Quick Time and Flash plug-ins for Safari (Windows), but the Web page always videos and, in fact, is always asking me to plug-ins.

    I use Windows Media Player 12 and on my desk that's what the .wmv files will open in. Now, if I open Safari, then look for the folder on my desktop and open the same .wmv file that I have on the Web page, the film plays in Safari.

    Someone has an idea of what may be the problem?

    Thank you.

    Blue

    Hi blue,

    The question you posted would be better suited in the Apple Support Forums. View the query in the Apple forums for assistance. Please see the links below.

    http://www.Apple.com/support/

    https://discussions.Apple.com/index.jspa

    I hope this helps.

    Back to us for any problem related to Windows. We will be happy to help you.

  • I tried to download indesign for a while now and I have retried a few times but it never downloads increased from 42% please someone can help me?

    Help

    Hi Brittany,

    You can follow the link: Adobe CC 2014 Direct Download Links: Creative Cloud 2014 Release. ProDesignTools and re download the software.

    Note: Follow a very important instruction on the website.

    Let us know if it works or does not work.

    Thank you

    Yann Arora

  • LR on Win 10 5.7.1: whenever I have open and click Import, disable all the menus and I can now no longer. [A: Lightroom 5.7.1 installation does not work]

    I have a PC with Windows 10 on which I installed Lightroom. Whenever I have open and click Import, disable all the menus and I can no longer move forward. No command is active and I can only leave the program. Please help as soon as POSSIBLE. Thank you.

    -gA

    Hi gA,.

    Please reset the Lightroom preferences and check if that helps.

    Reference: How to set preferences for Lightroom

    In addition, you can create a new catalog and open Lightroom with that and check if it works.

    Kind regards

    Mohit

  • I've just updated and I lost my reading later work and all the articles I've been saving. That's happened?

    I've just updated and I lost my reading later work and all the articles I've been saving. That's happened? I'm very unhappy about it. Help, please.

    Said its compatibility with the 4.0.

    https://addons.Mozilla.org/en-us/Firefox/addon/read-it-later/

  • English which is the version that works with all versions of Windows 7

    Who is the English version of IE10 that works with all versions of Windows 7? I ve been in the page Download Center to download IE 10 English I Spanish W7 Home Premium 64 bit, and I would like to than IE 10 in English. I uninstalled IE on my computer and downloaded the exe new file "IE10-Windows6. 1 x 64-en-us"and sometimes in Spanish. I did it twice! Help, please!
    THX.
    Kind regards.
    M.

    Hello

    Thanks for the reply.

    Sorry for the delay in response while we were doing the research on the issue.

    You must upgrade to Windows 7 Ultimate for this feature. Only Windows 7 Ultimate includes support for MUI (language). You can then install the Spanish language pack under regional and language settings in Control Panel.

    You can perform an Express Windows 7 Ultimate upgrade that will preserve your settings and personal files:

    Learn more: http://windows.microsoft.com/en-us/windows7/products/features/windows-anytime-upgrade

    I hope this helps.

  • I have a script that ended up saving a file under a new name whenever I generate the script.

    I have a script that ended up saving a file under a new name whenever I generate the script on the same image.

    Moving to Scripting Photoshop

  • Button to navigate to another page does not not work properly all the time.

    Hello

    I'm just starting to explore the ADF, I use Jdeveloper 12.1.3.0.0 and integrated weblogic server that comes with the IDE.

    I just created a simple application with a welcome page called Main.jsf and then 2 task bounded, streams called SearchStudentsFlow and Studenloansflow, each workflow has a jsf page. The home page has a single button that sends me to the first task flow, SearchStudentsFlow and I can see is the page in that workflow, AwardsSearch.jsf. Also in the AwardsSearch.jsf page I have a button that takes back me to the home page.

    The first problem I have is that when I run the application starting at the home page button in the works of the great homepage the first time, the button send me to the AwardsSearch.jsf , but once I decide to go back to the homepage and then click on the button to go to the first task flow the button does nothing. This happens whenever I decide to return to the home page of any page in my project.

    Also, I copied the entire previous project into a new project and I decided to use the ADF security infrastructure in this new project to create a log in page create users and give them different roles and levels of access.

    I created some users who have access to all pages and all the streams, but when I run the application starts the login page and I login successfully and go to the home page, the button on the home page does not work.


    I don't know why the button sometimes works, but not of others and also I do not know why when I use the login page, the button doesn't work. I don't know if these 2 problems are related or not.


    This is my code in the homepage:

    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE html>
    <f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
        <af:document title="Main.jsf" id="d1" binding="#{backingBeanScope.backing_Main.d1}">
            <af:form id="f1" binding="#{backingBeanScope.backing_Main.f1}">
                <af:panelGridLayout id="pgl1" binding="#{backingBeanScope.backing_Main.pgl1}">
                    <af:gridRow marginTop="5px" height="20%" id="gr1" binding="#{backingBeanScope.backing_Main.gr1}">
                        <af:gridCell marginStart="5px" width="34%" marginEnd="5px" id="gc1"
                                     binding="#{backingBeanScope.backing_Main.gc1}">
                            <af:image source="/images/NU_Logo_purple.jpg" shortDesc="Northwester University" id="i1"
                                      binding="#{backingBeanScope.backing_Main.i1}"
                                      inlineStyle="width:293px; height:197px;"/>
                        </af:gridCell>
                        <af:gridCell id="gc3" binding="#{backingBeanScope.backing_Main.gc3}" width="33%"/>
                        <af:gridCell id="gc4" binding="#{backingBeanScope.backing_Main.gc4}" width="33%"/>
                    </af:gridRow>
                    <af:gridRow id="gr3" binding="#{backingBeanScope.backing_Main.gr3}" height="10%">
                        <af:gridCell id="gc5" binding="#{backingBeanScope.backing_Main.gc5}"/>
                        <af:gridCell id="gc6" binding="#{backingBeanScope.backing_Main.gc6}">
                            <af:button text="Search Awards" id="b1" binding="#{backingBeanScope.backing_Main.b1}"
                                       action="goSearchAwards"/>
                        </af:gridCell>
                        <af:gridCell id="gc7" binding="#{backingBeanScope.backing_Main.gc7}"/>
                    </af:gridRow>
                    <af:gridRow marginTop="5px" height="70%" marginBottom="5px" id="gr2"
                                binding="#{backingBeanScope.backing_Main.gr2}">
                        <af:gridCell marginStart="5px" width="100%" marginEnd="5px" id="gc2"
                                     binding="#{backingBeanScope.backing_Main.gc2}"/>
                    </af:gridRow>
                </af:panelGridLayout>
            </af:form>
        </af:document>
        <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_Main-->
    </f:view>
    

    And this is my code in the adfc-config. XML

    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <view id="Main">
        <page>/Main.jsf</page>
      </view>
      <task-flow-call id="SearchStudentsFlow">
        <task-flow-reference>
          <document>/WEB-INF/SearchStudentsFlow.xml</document>
          <id>SearchStudentsFlow</id>
        </task-flow-reference>
      </task-flow-call>
      <control-flow-rule id="__3">
        <from-activity-id>Main</from-activity-id>
        <control-flow-case id="__5">
          <from-outcome>goSearchAwards</from-outcome>
          <to-activity-id>SearchStudentsFlow</to-activity-id>
        </control-flow-case>
      </control-flow-rule>
      <managed-bean id="__4">
        <managed-bean-name>backing_AwardsSearch</managed-bean-name>
        <managed-bean-class>view.backing.AwardsSearch</managed-bean-class>
        <managed-bean-scope>backingBean</managed-bean-scope>
        <!--oracle-jdev-comment:managed-bean-jsp-link:1AwardsSearch.jsf-->
      </managed-bean>
      <managed-bean id="__2">
        <managed-bean-name>backing_Main</managed-bean-name>
        <managed-bean-class>view.backing.Main</managed-bean-class>
        <managed-bean-scope>backingBean</managed-bean-scope>
        <!--oracle-jdev-comment:managed-bean-jsp-link:1Main.jsf-->
      </managed-bean>
    </adfc-config>
    

    No idea why the button does not work correctly all the time?

    Thanks in advance

    Play well!

    Now, we understand the problem and can help you solve it.

    The problem is that you dropped the home page in the flow of student loan and place you thinking that you must return to the point of departure, the unlimited workflow. Actually, you don't the sheet flow loan student but simply see the homepage as part of the loan flow. The navigation rules remain those defined in the flow of student loan. Now, when you click on a button to jump to the stream of research, the target is undefined zed you simply stay on the same page, the home page.

    To make your work use case, you set a return action in the flow of student loan that return to the caller, the flow of research which, in turn, will return to his name the workflow without terminals that hold the homepage. Remove the homepage of flow of charge to students. The case of navigation allows to navigate between the button and the new return action.

    In the adf of flow research a wild-card rule that accesses the return operation sends the return flow to the home page. You must remove the sailing time pointing to research prices for the return operation because it can use the same rule of navigation of wild-card then. Then, you add a Bach student load flow navigation rule to the scholarship search page. This navigation is used for the return actionto_searchStudents.

    Timo

  • Hello. I need help developing a PowerCli script that will show me the current configuration of the video Ram of each individual virtual machine on a host\cluster or a vcenter. Can you help me?

    I have a script that will allow me to change the configurations of VRAM, but I need a script that retrieves the configuration of all virtual machines VRAM in my infrastructure.
    I need to get out information to a csv file and run this report on a monthly basis... can you help me?

    Right now my environment is mixed. I have Windows XP virtual machines set to 4 MB, Windows 7 virtual computers set to 8 MB and a subset of sall of virtual machines set to automatic detection of settings.

    I need to be able to recover these settings in a CSV file in order to use this information for comparisons of trdouble-shot performance issues...

    Thank you.

    vram.JPG

    Try something like this

    Get - VM |

    Select Name,

    @{N = "OS"; E={$_. ExtensionData.Config.GuestFullName}},

    @{N = "VideoRamMB"; E = {}

    [math]: Round (($_.)) ExtensionData.Config.Hardware.Device |

    where {$_-is [VMware.Vim.VirtualMachineVideoCard]} |

    (Select VideoRamSizeInKB - ExpandProperty) / 1 Ko, 1).

    }} |

    Export-Csv vm - videoram.csv - NoTypeInformation - UseCulture

  • Are there any programs that work similar to the old Adobe Pagemaker?

    Are there any programs that work similar to the old Adobe Pagemaker?

    Aldus Pagemaker, later Adobe Pagemaker were abandoned 12 years ago and since some of it is functionally distributed and shared between Adobe Illustrator and Adobe InDesign.

    If you are looking for something similar, Illustrator and InDesign will be the direct dead unless you have a copy of PageMaker running on an older operating system that supports

    After your choices narrow down to a few suggestions here

    http://www.MakeUseOf.com/tag/free-alternatives-Photoshop-Illustrator-Lightroom/

    and if you are looking for something more 'professional' look in the affinity Designer

    https://affinity.serif.com/en-GB/Designer/

    or QuarkXPress

  • Text appears in bold after upgrade to 15.0.1 (mac) - I uninstall Firefox for good unless someone can suggest a resolution that works.

    I'm on Mac OS X 10.6.8. I've always liked using FF, but when I upgraded to 15.0.1 is displayed in bold text in the browser. I tried everything I could find suggestions in various forums - I have removed the police from Lucinda Grande, I uninstalled and reinstalled, I made sure police and color have the default for FF, I even reset Firefox. Nothing has worked. As much as I love FF, I had lost about all the time I go to this topic. Help, please!

    You can write a check for corrupted fonts and duplicate and other police issues:

  • is there an alternative photo management system that works (and NOT the pictures)

    Y at - it another app that works better than the pictures, that we can use to manage the photos, because they took iPhoto and replaced it with pictures?  Is there a way just to import photos and save them to your computer in folders, as you would on a Windows system? And then maybe just use Picasso or something?

    You can still use iPhoto if you are eligible:

    Terence Devlin

    April 14, 2015 14:21

    Re: Iphoto's gone? I want to go back!

    Go to the App Store and check out the shopping list. If iPhoto is there then it will be v9.6.1

    If it's there, then drag your existing iPhoto application (not the library, just the app) in the trash

    Install the application on the App Store.

    IPhoto is sometimes not visible on the shopping list. It may be hidden. See this article for more details on how to view it.

    http://support.Apple.com/kb/HT4928

    A question often asked: Will I lose my Photos if I reinstall?

    iPhoto, the application and the iPhoto library are two different parts of the iPhoto program. So, reinstall the application should not affect the library. BUT you should always have a back up before doing this kind of work. Always.

  • (2) is there a place that I see all the logics without seeking the properties of each object?

    LookoutDirect 4.5

    (2) is there a place that I see all the logics without seeking the properties of each object?

    It seems that the lookout 4.5 is not browser connection. We have added this tool to view the connections at the belvedere 5.x.

  • Spyware can be installed in an Internet café, for which all the machines are in working groups

    I have an Internet café and all of the machine are not in the same workgroup, I want to ask if it is possible for spyware to be installed in cyber, because I had the problem of spyware for which all the machine has deep freeze.

    As long as systems are on the same local network and do not allowed of individual firewalls (that is, they rely on the firewall of the router), if the malware gets on one, all are at risk.

  • Could someone tell me that I have a laptop that is compatible with the adapter wireless Athreos in it and it catches an unsecured, network shown as next (automatic) for the SSID (network name). Please tell me how to connect...

    Could someone tell me that I have a laptop that is compatible with the adapter wireless Athreos in it and it catches an unsecured, network shown as next (automatic) for the SSID (network name). I tried parameter as point of access, AD-hoc, Connect automatticaly etc but will not connect... Please tell me how to connect...

    Hi Sumit and thanks for posting.

    Your Athreos has never connected? If it has connected then it not only connects it to insecure networks? Also after can trying to connect you do the following?

    Start, run, CMD, OK to open a command prompt:

    Type the following command:

    IPCONFIG/ALL

    [Note that there is no space between the oblique and ALL bar].

    Right click in the command window and choose Select all, and then press ENTER.
    Paste the results in a message here.

    I hope this helps. After the back if you have any questions.

    Shawn - Support Engineer - MCP, MCDST
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

Maybe you are looking for