(now with script code) droplet not creating folder cs4 photoshop windows 7

(i also posted this in the windows section but was told i should post here insted so i will try to close that one out)
so i created a script that creats folder and subfolders inside (  folder1\subfolder1\subfolder2 etc" and i run the script in photoshot cs4  11.01 it creats the foldets no prob.  yet when i creat a droplet it wont  work. the folders dont get made... i have admin rights and am logged in  as admin all the time. when the droplet is run it will either launch  photoshop or bring the running photoshop to the front, the taskbar icon  flashes and after a min or 2 i get the error, " droplet couldnt  communicate with photoshop"
can anyone help me out on rhis please?
thank you  and have a great day.
ok, please dont laugh at me over my poor scripting skills. i have none and have never programed.  ok here is the script i use to make folders
var myFolder = new Folder('/d/Documents and Settings/testing/Desktop/tiff');
if(!myFolder.exists) myFolder.create();
var myFolder = new Folder('/d/Documents and Settings/testing/Desktop/tiff/800med');
if(!myFolder.exists) myFolder.create();
var myFolder = new Folder('/d/Documents and Settings/testing/Desktop/tiff/1333med');
if(!myFolder.exists) myFolder.create();
var myFolder = new Folder('/d/Documents and Settings/testing/Desktop/tiff/large');
if(!myFolder.exists) myFolder.create();
var myFolder = new Folder('/d/Documents and Settings/testing/Desktop/tiff/mls467');
if(!myFolder.exists) myFolder.create();
var myFolder = new Folder('/d/Documents and Settings/testing/Desktop/tiff/mls533');
if(!myFolder.exists) myFolder.create();
var myFolder = new Folder('/d/Documents and Settings/testing/Desktop/tiff/thumb');
if(!myFolder.exists) myFolder.create();
so i hope this helps in the quest to solve my probs.
hb

Also the path itself looks strange as Documents and Settings is usually on drive C also the desktop is normally on drive C.
This path would normally be:
var myFolder = new Folder("~/Desktop/tiff"');

Similar Messages

  • Droplet not creating folder cs4 photoshop windows 7

    so i created a script that creats folder and subfolders inside ( folder1\subfolder1\subfolder2 etc" and i run the script in photoshot cs4 11.0 it creats the foldets no prob.  yet when i creat a droplet it wont work. the folders dont get made... i have admin rights and am logged in as admin all the time. when the droplet is run it will either launch photoshop or bring the running photoshop to the front, the taskbar icon flashes and after a min or 2 i get the error, " droplet couldnt communicate with photoshop"
    can anyone help me out on rhis please?
    thank you and have a great day.
    hb.

    no, i didnt. i didnt want to make posts all over
    . i have seen other do that and get yelled at and whatnot. i thought this wou
    ld have been the best spot but i might be wrong. should i
    close this out and repost there? and ty for taking the time to read and reply.

  • Tthe flood filter is in my plugins folder along with the other plugins I have, but not in cc 2014. It's also in Adobe bridge associated with cc 2014, but not in cc 2014 Photoshop. i hope you get this because i forwarded  your info to HCS and now I'm all m

    the flood filter is in my plugins folder along with the other plugins I have, but not in cc 2014. It's also in Adobe bridge associated with cc 2014, but not in cc 2014 Photoshop. i hope you get this because i forwarded  your info to HCS and now I'm all mixed up as to this gets forward.

    Unfortunately, you are not addressing Adobe here in the user forums.
    However, there are many highly experienced volunteer users here willing to help.
    Can you please clarify:  are you saying that your Flood filter (whatever that is) is in your Bridge folder but not in Photoshop?
    UPDATE:  I Googled your Flood Filter and discovered it's not an Adobe filter at all.  Have you contacted its manufacturer, Flaming Pear?  What do they say?

  • Error code 10 at create folder

    i am developing a vi in which i have to create a folder in any drive(e.g D:\dataacquisition) than in data acquisition folder, i have to create date folder and name folder and then we need to create some files e.g patient's information, and like this different files in the name folder, i have shown this in attached vi, now the problem is this that when i run the vi for the first time when no folder has been made it runs ok with no error, but when i again run the vi with different patient name it shows Error code 10 at create folder, i know this error is because the same folder is already present, but the problem is this that when an error comes the new patient's folder is not created, i have tried several things but not able to avoid or remove this error, is there any way to remove this error or if there is any other option of creating folder in LabVIEW.
    I am attaching the vi.
    Solved!
    Go to Solution.
    Attachments:
    create folder.vi ‏14 KB

    Thanks to every one, your suggestions helped me in solving my problem, although my problem is solved but i am having some more question
    To P Anand
    There is two ways you can do.
    You can create the folder along with a time stamp including seconds so that your folders will be new always otherwise before creating the folder check whether it is already created or not. If already created skip the create folder function else create it.
    Answer-Thankyou,for your suggestion, I tried Creating folder with timestamp including seconds, but it then shows error 1 which i think is formatting error, and yes the other option works well, by using the check if folder function vi works well.
    FreeLance V
    Thanks your vi works well, but now i am having 1 more question 
    I have also found 1 more other than check if folder exists by which error 10 is avoided but in that case name should be different, now what i want is when suppose i enter the same name in the suppose i want folder with name 'a' to be created and that folder is already present than what i am trying is that labview should ask weather you want to replace existing folder,or you want to delete,or you want to keep both files, delete and replace is easy to implement but although i am trying but if anyone knows the way that how we can keep both the files than that would be great help.
    i am attaching the vi which is not complete yet, i am trying to implement some more extra points like keeping both the same files or if i want to replace.
    Attachments:
    create folder.vi ‏42 KB

  • Project with profit center was not created for entire period

    Hi everybody,
    I need a help with a problem here.
    The alert mesage "project with profit center was not created for entire period" was displayed.
    Then I searched for the creation dates and the profit center was created before the project gets its firsts postings. Therefore, some line itens don't exist in profit center (ledgers).
    My two questions:
    The first one, is it possible to input line itens in a retroactive way?
    Everytime I need to use the project master data this alert is displayed. How can I fix avoid this message?
    Thanks,

    Hi,
    Regarding your issue, it is theoretically possible to reverse all settlements up to the start of the project and then to settle again it
    is a must to check in standard if the profit center is valid from the project start date onwards.
    Check the attached note 1048945.
    The system generates error message KM700 ('Profit center <PRCTR> does not exist for <date>') when you enter a profit center on a project definition if the profit center is not valid in the entire period between the basic start and the basic finish date of the project definition . However, only one warning message should only be generated in this case.
    regards
    Waman

  • My laptop macbook pro with maverick was working well with AVERTV VOLAR a dongle to capture tv programmes but now with yosemite it does not recognise what options I have

    My laptop with macbook pro with maverick was working fine with a dongle AVERTV VOLARGO to capture tv programmes but now with yosmite it does not recognise what options have

    I also understand that there is particular software 'TRIM' a software introduced by CINDORI SOFTWARE which will disable KEXT SIGNING a security application of YOSEMITE ,Is it the only option or there are any better options for this

  • Could not open firefox and tried to update newer version but could not with error msg "can not create temp folder archive"

    Tried to run firefox as usual but the the page could not connect the server. Thus, uninstalled the browser and tried to install a newer version. Could not run the program and error msg "can not create temp folder archive" popped up.

    See http://answers.yahoo.com/question/index?qid=20080702200623AAOYP13

  • Script works in Script Debugger, but not a folder action - can u help?

    Hi
    I have written the following script to run as as folder action and it works fine when running it through in debug mode in Script Debugger, but as a folder action nothing happens.
    I wonder if someone could have a look and spot what the problem is.
    Thanks
    Nick
    on adding folder items to this_folder after receiving added_items
    set convertPath to "Macintosh HD:opt:local:bin:ffmpeg"
    tell application "Finder"
    set inPath to this_folder as alias
    set outPath to this_folder as alias
    set filesToConvert to (name of every item of inPath whose name extension is "m4a")
    end tell
    repeat with i from 1 to count of filesToConvert
    set fileName to removeExtension(item i of filesToConvert)
    do shell script POSIX path of convertPath & " -i " & (quoted form of ((POSIX path of inPath) & item i of filesToConvert)) & " -f mp3 -ar 44100 -ab 192k -acodec libmp3lame " & (quoted form of (POSIX path of outPath)) & quoted form of (fileName & ".mp3") & " -mapmetadata " & (quoted form of ((POSIX path of inPath) & item i of filesToConvert)) & ":" & (quoted form of (POSIX path of outPath)) & quoted form of (fileName & ".mp3")
    end repeat
    end adding folder items to
    to removeExtension(fileToParse)
    #display dialog fileToParse
    set prevTIDs to text item delimiters of AppleScript
    set text item delimiters of AppleScript to "."
    return first text item of fileToParse
    set text item delimiters of AppleScript to prevTIDs
    end removeExtension

    mmh, well, it seems something is awry with the triggering. other folder action scripts seemed to work fine, but now are intermittent.
    i created the following simple script:
    on adding folder items to this_folder after receiving added_items
    display dialog "1"
    end adding folder items to
    sometimes it works, sometimes not.
    what could be going wrong?

  • Error with test operation 'Could not create the view'

    I'm totally new to Flash Builder. I was trucking along developing my first project as a mapping app in FB 4.5 trial version with the ESRI Flex API library. I was testing how to set up WMS and WFS services, and all was going swimmingly until suddenly 'test operations' stopped working. Now when I attempt to test any service, I receive the error "Could not create the view: 1". This error stopped working shortly after I deleted a couple of testing services I had configured, but not immediately after (three or four test worked afterwards before it broke).
    I have found almost no information online about this error, but what I have found seems to always reference eclipse. I tried starting a new project, creating a new workspace and uninstalling/reinstalling Flash Builder but the error persists.
    Has anyone else ever experienced this error? Any leads at all are appreciated.
    Thanks

    For anyone else with this problem, it seems to have been an eclipse issue in the workspace. I deleted the 'cascaded' folder and the error went away.

  • FB4 doesn't tell me what's wrong with my code. Not even letting me trace().

    Attached is my code that run well but the problem is, I know there is something wrong with my code since the dropdown list isn't populated unlike the textarea. Doesn't even put anything on the output panel when i do trace()-ing.
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
    xmlns:s="library://ns.adobe.com/flex/spark"
    xmlns:mx="library://ns.adobe.com/flex/halo"
    creationComplete="application1_initializeHandler(event)">
    <s:layout>
    <s:BasicLayout/>
    </s:layout>
    <fx:Script>
    <![CDATA[
    import mx.events.FlexEvent;
    protected function application1_initializeHandler(event:FlexEvent):void
    var xml:XML;
    var xmlLoader:URLLoader = new URLLoader();
    xmlLoader.load(new URLRequest('data/places.xml'));
    xmlLoader.addEventListener(
    Event.COMPLETE,
    function (e:Event):void {
    xml = new XML(e.target.data);
    trace(xml.place[0].barangay.descendants().toXMLString());
    for each (var pro:Object in xml.places.place)
    dp.dataProvider.addItem({province:pro.province});
    ta.text = xml.place[0].barangay.descendants().toXMLString();
    ]]>
    </fx:Script>
    <s:DropDownList id="dp"
    labelField="province"
    width="197"
    x="10" y="10"/>
    <s:TextArea x="198" y="186" id="ta" editable="true"/>
    </s:Application>

    @jdesko:
    i tried both with or w/o the nightly builds, still i can't see anything on the output panel using trace and the above code doesn't trigger the Error Panel why the dropdown list isn't populated..
    @Jason: thanks. the prob was with my e4x expression but with the console output thingy, now i run in debug mode but got the error:
    C:\Windows\System32\Macromed\Flash\NPSWF32.dll
    Flash Builder cannot locate the required debugger version of Adobe Flash Player. You might need to install the debugger version of the Flash Player or reinstall Flash Builder.
    Do you want to try to debug with the current version?
    I thought FB4 has this already in the package. I'm wondering why it asks for like this.

  • Upgraded to IOS 5, now mail on mac  can not create a new message/forward or reply to any messages

    Upgraded to IOS 5, now mail on mac is not working. Can receive mail but can not create a new message/forward or reply to any messages. It appears it has tried to create a new message in the background but I can't click on it.  Please help.

    Upgraded to IOS 5, now mail on mac is not working. Can receive mail but can not create a new message/forward or reply to any messages. It appears it has tried to create a new message in the background but I can't click on it.  Please help.

  • Problem with Language Import (could not create cofile)

    Hi everybody
    I'm trying to load the language pack "Spanish", but falls and gives me the following message
    "could not create cofile"
    Somebody could give me some indication on how to overcome this mistake, I've seen out there and some queries, but I have not overcome my problem!
    I have created the "Transport System" and charged the language in "DEV Server," but I can not bring it to "test" if the attempt to import "TCode SMLT" gives me the error above.
    thanks

    this is action log!     
    @5B\QInformation@     Start import (state:initial)
    @5B\QInformation@     ... system date: 23.08.2008 system time: 16:38:07
    @5B\QInformation@     Version: 700.F.15
    @5B\QInformation@     Step INIT ...
    @5B\QInformation@     ... system date: 23.08.2008 system time: 16:38:07
    @5B\QInformation@     ... configuration "Selective Language Import"
    @5B\QInformation@     ... executed successfully
    @5B\QInformation@     Step DISASSEMBLE ...
    @5B\QInformation@     ... system date: 23.08.2008 system time: 16:38:07
    @5B\QInformation@     ... do not overwrite data files and cofiles (settings)
    @5C\QError@     Could not create cofile
    @5B\QInformation@     Restart import (state:lc_disassemble)
    @5B\QInformation@     ... system date: 23.08.2008 system time: 16:46:21
    @5B\QInformation@     Step DISASSEMBLE ...
    @5B\QInformation@     ... system date: 23.08.2008 system time: 16:46:21
    @5B\QInformation@     ... do not overwrite data files and cofiles (settings)
    @5C\QError@     Could not create cofile
    @5B\QInformation@     Restart import (state:lc_disassemble)
    @5B\QInformation@     ... system date: 23.08.2008 system time: 17:05:01
    @5B\QInformation@     Step DISASSEMBLE ...
    @5B\QInformation@     ... system date: 23.08.2008 system time: 17:05:01
    @5B\QInformation@     ... do not overwrite data files and cofiles (settings)
    @5C\QError@     Could not create cofile
    Test in STMS
    RFC connections Ok
    Connection Test   Ok
    Transport Tool      Ok
    Transport Directory Ok
    Check Transport Directory                                 24.08.2008  18:49:28
           ECP System ECP
               Transport Directory
                   bin        
    mts-sap\sapmnt\trans\bin
                   buffer     
    mts-sap\sapmnt\trans\buffer
                   cofiles    
    mts-sap\sapmnt\trans\cofiles
                   data       
    mts-sap\sapmnt\trans\data
                   log        
    mts-sap\sapmnt\trans\log
                   sapnames   
    mts-sap\sapmnt\trans\sapnames
                   tmp        
    mts-sap\sapmnt\trans\tmp

  • Problem with shuffle() code, will not compile

    Hi,
    Below is some code designed to shuffle a set of integers in the file editET.txt. Basically:
    5
    2
    4 say:
    just shuffle these randomly around, however, the code will not compile, any advice or solutions would be great
    import java.io.*;
    import java.util.*;
    public class Shuffle3 {
    public static void main (String [] args) {
    if (args.length<2){
    System.out.println("Usage: java Shuffle3 <input file> <output file>");
    System.exit(-1);
    ShuffleStringList sl = new ShuffleStringList(args[0]);
    sl.shuffle();
    sl.save(args[1]);
    class ShuffleStringList extends StringList {
    public ShuffleStringList(String "editET.txt") {
         super(fileName);
    public void shuffle() {
    Collections.shuffle(this);
    public void save (String "Shuffledok"){
         PrintWriter out = null;
         try {
         out = new PrintWriter(new FileOutputStream("Shuffledok"), true);
    for (int i=0; i < size(); i++){
              out.println((String)get(i));
    catch(IOException e) {
    e.printStackTrace();
    finally {
         if(out !=null) {out.close();}
    class StringList extends ArrayList{
    public StringList(){
         super();
    public StringList(String "editET.txt") {
         this();
    String line = null;
    BufferedReader in = null;
         try {
         in = new BufferedReader(new FileReader("editET.txt"));
         while((line = in.readLine()) !=null) {
              add(line);
    catch(IOException e){
         e.printStackTrace();
    public void save (String "Shuffledok") {
    FileWriter out = null;
    try {
         out = new FileWriter("Shuffledok");
         for(int i =0; i < size(); i++){
         out.write((String)get(i));
    catch(IOException e){
         e.printStackTrace();
    finally {
         try{out.close();} catch (IOException e) {e.printStackTrace();}
    public void shuffle() {
    Collections.shuffle(this);

    import java.io.*;
    import java.util.*;
    public class Shuffle3 {
    public static void main (String [] args) {
    ShuffleStringList sl = new ShuffleStringList("editET.txt");
    sl.shuffle();
    sl.save("Shuffledok");
    class ShuffleStringList extends StringList {
    public ShuffleStringList(String fileName) {
    super(fileName);
    public void shuffle() {
    Collections.shuffle(this);
    public void save (String target){
    PrintWriter out = null;
    try {
    out = new PrintWriter(new FileOutputStream(target), true);
    for (int i=0; i < size(); i++){
    out.println((String)get(i));
    catch(IOException e) {
    e.printStackTrace();
    finally {
    if(out !=null) {out.close();}
    class StringList extends ArrayList{
    public StringList(){
    super();
    public StringList(String fileName) {
    this();
    String line = null;
    BufferedReader in = null;
    try {
    in = new BufferedReader(new FileReader(fileName));
    while((line = in.readLine()) !=null) {
    add(line);
    catch(IOException e){
    e.printStackTrace();
    public void save (String target) {
    FileWriter out = null;
    try {
    out = new FileWriter(target);
    for(int i =0; i < size(); i++){
    out.write((String)get(i));
    catch(IOException e){
    e.printStackTrace();
    finally {
    try{out.close();} catch (IOException e) {e.printStackTrace();}
    public void shuffle() {
    Collections.shuffle(this);
    }

  • Links set in XHTML Transitional with target="_blank" are not opening in a new window. I have allowed popups and turned off ad blocker, but the links still open in the same window.

    This is on a Wordpress install. Is there a Firefox setting I'm missing? Otherwise, I shall have to install a javascript plugin to do this, which seems overkill for what used to be common code.

    I don't know how to delete my question, anyway I'm not having this problem anymore. In our organisation the IT department deploy Firefox updates with certain settings and limitations, in the tap-options the checkbox for opening new windows in new tabs where checked but disabled. They made some changes to make this checkbox enabled and now it works as expected if it's check new windows open i new tabs and if it's not in new windows. They never opens in the same tab as they did before.

  • Tutorial or code sample in creating a .exe for windows

    Hi all,
    Can some kind soul guide me to a tutorial / materials / code sample in creating a .exe (for a java program) to run in windows ?
    My intention is to create a .exe such that when it is clicked, the java program runs.
    thanks a bundle.

    Java in not intended to compile into system executables. IMO, you should not do this, let your application remain cross-platform. You can simply make an executable JAR file, which makes your application run with a double-click on any system which have a JRE installed.
    Anyway, if you really want to help M$ solidify their work, search the forum. It has been asked and answered several times. You have two options:
    1. Bundle a version of JRE with your application, and create an executable file which runs your application on the bundled JRE.
    2. Use a native code compiler like ( http://www.excelsior-usa.com/jet.html ).
    Also, try these:
    http://www.dobysoft.com/products/nativej/
    http://www.ej-technologies.com/products/exe4j/overview.html

Maybe you are looking for

  • How to Increase the retreving size of instances using PAPI filters.

    Hi, How to Increase the retreving size of instances using PAPI filters. In my engine database instance size exceeds 2500 then we are getting following exception. If we login in to user workspace able to see the instances but while trying to retrieve

  • Error handling in prepared statement batch

    Hi, For a prepared statement batch, it is not possible to know which operation failed. ... You should always perform a ROLLBACK operation in this situation. For a generic statement batch or callable statement batch, the update counts array is only a

  • What is the cost of using ThreadMXBean.findMonitorDeadlockedThreads() ?

    HI, we are planning to setup some alerting to check if any thread in monitor status for too long, say 15mins So just wonder, if the API call http://download.oracle.com/javase/6/docs/api/java/lang/management/ThreadMXBean.html#findMonitorDeadlockedThre

  • Exit in PO

    I have a requirement where in i have to display a pop up with all the line items given by user in ME21N . The pop up has to display when user presses CHECK . I written the code in the exit EXIT_SAPMM06E_017 . its working fine for single line item. In

  • Sample ringtones

    Thanks ahead of time for your help ... new bonehead on the block I notice that the sample ringtones only go up to the letter "F"  (Fur Elise) ... where's the rest of 'em?  Thanks, Deb