How to use PS to judge the existence of a file in the directory specified and how to use PS to the directory specified for create to create the file? (javascript)

1, how to use PS to judge of the existence of a file in the specified directory? (using javascript)

2, how to use PS to the directory specified for create to create the folder? (using javascript)


Thank you!

If (Folder(/*_insert_the_path_here_*/).exists == false) {Folder(/*_insert_the_path_here_*/).create()}

Tags: Photoshop

Similar Questions

  • How to judge the backup set is available (with RMAN)?

    Hi all, after you back up the database, how to judge the backup set is available?

    SQL > SELECT * FROM V$ VERSION;

    BANNER
    ----------------------------------------------------------------
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    AMT for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
     rman target /
    
    Recovery Manager: Release 11.2.0.1.0 - Production on Mon Jul 9 12:28:51 2012
    
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    
    connected to target database: CATDB (DBID=2328696599)
    
    RMAN> crosscheck backupset;
    
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=24 device type=DISK
    crosschecked backup piece: found to be '*AVAILABLE*'
    backup piece handle=D:\ORACLE\FAST_RECOVERY_AREA\CATDB\BACKUPSET\2012_06_14\O1_MF_NNNDF_TAG201206
    14T153439_7XMHL0JL_.BKP RECID=34 STAMP=785950480
    crosschecked backup piece: found to be '*AVAILABLE*'
    backup piece handle=D:\ORACLE\FAST_RECOVERY_AREA\CATDB\BACKUPSET\2012_06_14\O1_MF_ANNNN_TAG201206
    14T153546_7XMHN2C6_.BKP RECID=35 STAMP=785950546
    crosschecked backup piece: found to be '*AVAILABLE*'
    backup piece handle=D:\ORACLE\FAST_RECOVERY_AREA\CATDB\AUTOBACKUP\2012_06_14\O1_MF_S_785950547_7X
    MHN4MH_.BKP RECID=36 STAMP=785950548
    crosschecked backup piece: found to be '*AVAILABLE*'
    backup piece handle=D:\ORACLE\FAST_RECOVERY_AREA\CATDB\AUTOBACKUP\2012_06_14\O1_MF_S_785953535_7X
    MLKN66_.BKP RECID=37 STAMP=785953539
    crosschecked backup piece: found to be '*AVAILABLE*'
    backup piece handle=D:\ORACLE\FAST_RECOVERY_AREA\CATDB\AUTOBACKUP\2012_06_14\O1_MF_S_785971797_7X
    N4D6YF_.BKP RECID=38 STAMP=785971798
    crosschecked backup piece: found to be '*AVAILABLE*'
    backup piece handle=D:\ORACLE\FAST_RECOVERY_AREA\CATDB\AUTOBACKUP\2012_06_29\O1_MF_S_787249342_7Y
    V4001O_.BKP RECID=39 STAMP=787249359
    Crosschecked 6 objects
    
    RMAN> list backupset;
    
    using target database control file instead of recovery catalog
    
    List of Backup Sets
    ===================
    
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    ------- ---- -- ---------- ----------- ------------ ---------------
    26      Full    320.44M    DISK        00:01:03     14-JUN-12
            BP Key: 34   Status: AVAILABLE  Compressed: YES  Tag: TAG20120614T153439
            Piece Name: D:\ORACLE\FAST_RECOVERY_AREA\CATDB\BACKUPSET\2012_06_14\O1_MF_NNNDF_TAG201206
    14T153439_7XMHL0JL_.BKP
      List of Datafiles in backup set 26
      File LV Type Ckp SCN    Ckp Time  Name
      ---- -- ---- ---------- --------- ----
      1       Full 3712551    14-JUN-12 D:\ORACLE\ORADATA\CATDB\SYSTEM01.DBF
      2       Full 3712551    14-JUN-12 D:\ORACLE\ORADATA\CATDB\SYSAUX01.DBF
      3       Full 3712551    14-JUN-12 D:\ORACLE\ORADATA\CATDB\UNDOTBS01.DBF
      4       Full 3712551    14-JUN-12 D:\ORACLE\ORADATA\CATDB\USERS01.DBF
      5       Full 3712551    14-JUN-12 D:\ORACLE\ORADATA\CATDB\CATMETADATA01.DBF
      6       Full 3712551    14-JUN-12 D:\ORACLE\ORADATA\CATDB\UNDO2.DBF
    
    BS Key  Size       Device Type Elapsed Time Completion Time
    ------- ---------- ----------- ------------ ---------------
    27      99.50K     DISK        00:00:00     14-JUN-12
            BP Key: 35   Status: AVAILABLE  Compressed: YES  Tag: TAG20120614T153546
            Piece Name: D:\ORACLE\FAST_RECOVERY_AREA\CATDB\BACKUPSET\2012_06_14\O1_MF_ANNNN_TAG201206
    14T153546_7XMHN2C6_.BKP
    
      List of Archived Logs in backup set 27
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      ---- ------- ---------- --------- ---------- ---------
      1    47      3712495    14-JUN-12 3712583    14-JUN-12
    
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    ------- ---- -- ---------- ----------- ------------ ---------------
    28      Full    9.45M      DISK        00:00:02     14-JUN-12
            BP Key: 36   Status: AVAILABLE  Compressed: NO  Tag: TAG20120614T153547
            Piece Name: D:\ORACLE\FAST_RECOVERY_AREA\CATDB\AUTOBACKUP\2012_06_14\O1_MF_S_785950547_7X
    MHN4MH_.BKP
      SPFILE Included: Modification time: 14-JUN-12
      SPFILE db_unique_name: CATDB
      Control File Included: Ckp SCN: 3712594      Ckp time: 14-JUN-12
    
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    ------- ---- -- ---------- ----------- ------------ ---------------
    29      Full    9.45M      DISK        00:00:07     14-JUN-12
            BP Key: 37   Status: AVAILABLE  Compressed: NO  Tag: TAG20120614T162535
            Piece Name: D:\ORACLE\FAST_RECOVERY_AREA\CATDB\AUTOBACKUP\2012_06_14\O1_MF_S_785953535_7X
    MLKN66_.BKP
      SPFILE Included: Modification time: 14-JUN-12
      SPFILE db_unique_name: CATDB
      Control File Included: Ckp SCN: 3715284      Ckp time: 14-JUN-12
    
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    ------- ---- -- ---------- ----------- ------------ ---------------
    30      Full    9.45M      DISK        00:00:02     14-JUN-12
            BP Key: 38   Status: AVAILABLE  Compressed: NO  Tag: TAG20120614T212957
            Piece Name: D:\ORACLE\FAST_RECOVERY_AREA\CATDB\AUTOBACKUP\2012_06_14\O1_MF_S_785971797_7X
    N4D6YF_.BKP
      SPFILE Included: Modification time: 14-JUN-12
      SPFILE db_unique_name: CATDB
      Control File Included: Ckp SCN: 3735186      Ckp time: 14-JUN-12
    
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    ------- ---- -- ---------- ----------- ------------ ---------------
    31      Full    9.45M      DISK        00:00:23     29-JUN-12
            BP Key: 39   Status: AVAILABLE  Compressed: NO  Tag: TAG20120629T162221
            Piece Name: D:\ORACLE\FAST_RECOVERY_AREA\CATDB\AUTOBACKUP\2012_06_29\O1_MF_S_787249342_7Y
    V4001O_.BKP
      SPFILE Included: Modification time: 29-JUN-12
      SPFILE db_unique_name: CATDB
      Control File Included: Ckp SCN: 5138750      Ckp time: 29-JUN-12
    

    Please do not forget to change the status thread answer whether it is possible when believe you your thread replied, he pretend to wasting time in other forums users while they are looking outstanding which is not answered, thank you for understanding

    Published by: Julien Hesenov on July 9, 2012 12:42

  • How to make a stationary State (or equivalent) for the form to change color and reveal some hidden above text...? is there a widget I could use?

    How to make a stationary State (or equivalent) for the form to change color and reveal some hidden above text...? is there a widget I could use?

    There are many solutions. A more simple: put the text and the items colored in the back and put the 'shape' on it. Configuration of the 'shape' become transparent in a stationary state.

  • How to use multiple cameras in same model for mirror (if that's the only way)

    Hi all

    I am creating a shot where the camera pans on a range of objects on the table which is a mirror. Now, I want the reflection in the mirror to move when the camera moves just like in real life. But I can't understand how do. a technique that I've imagined is to create another device and place it on the surface of the mirror and then have somehow connected to the main camera so that it records the image while moving the way ray of light will react on the main camera. later, I can make that camera mirror to place videos in the model so that it looks like a reflection on the other hand. But then again, I don't know how to establish that, as I don't know how I can connect a camera with the main camera that also reacts to the movements of the cam as a reflection of the light. Is there any expression for her? Help, please.

    Thank you.

    Here is a version of CS6 project: reflections (CS6) .aep

    It's corrected workflow

    • In the model of the hand, make sure that the mirror of anchor point is in the center of the layer and the scale is 100%
    • In the project Panel duplicate the model containing the 3D scene
    • Rename duplicate reflection
    • Open the model of reflection for editing
    • Here is where the fun begins. Select the lights and the 3D layers and their parent to the mirror
    • Make sure that Local axis mode is selected in the toolbar
    • Select the rotation tool and make sure that it is set on the direction
    • Move the cursor on the y-axis of the mirror, hold down the SHIFT key, and rotate the x 90 ° mirror (should be the 4th snap)
    • Select the scale property of the mirror layer by pressing the s key
    • Disable the locking of the scale, then set it to x-100% scale
    • This should reverse the lights around
    • Divide the timelines and reveal the position of the cameras properties
    • Add an expression to the camera position of thinking Comp by Alt/Option click on the stopwatch, and then drag the pickwhip to the model of the camera hand Position
    • Nest the Comp "reflection" in the original model and condense the transformations
    • Make a duplicate of the mirror layer and use it as a track matte for the model of reflection
    • Set the properties of the layer of mirror to get the final look wanted by using as an adjustment layer or change the material options or specular blend modes to pick up

    That should do it.

  • How can I create a gif image using photoshop. I mean photoshop shortcut keys and the steps for creating gif

    How can I create a gif for my blog [url removed by host] image using photoshop. I mean photoshop shortcut keys and the steps for creating gif

    CTRL + Alt + Shift + S Windows Mac CMD + Option + SHIFT + S change the image that you normally edit images.

  • How to judge the health index

    Hello
    I just want to know how to judge the index is in good health
    I know I should look
    BLEVEL, LEAF_BLOCKS, DISTINCT_KEYS, CLUSTERING_FACTOR
    in dba_indexes

    But how to calculate that value the health of an index

    I know that BLEVEL must be 3 or less, the other rules?

    Thank you very much

    So, how can I reduce my grouping factor if it is very high?

    You would have to physically rearrange the rows in the table to match the index. (that is to say, re-create the table with an ORDER BY according to the index key columns).
    This can improve the collection for only 1 index. It can and will degrade clustering for another index on the same table. So if you have several indexes, all queries to support just as important, it's not a course, you should take.

    You should also review your index definitions. If you have the right and columns, in a concatenated index, the order of the columns.

    Hemant K Collette

  • The padlock icon indicating that a website is safe never appears on sites like paypal or my bank sites. How will I know if it's safe for me to use?

    I'm moving to use IE8 for Mozilla Firefox. When I access my banking Web sites and Paypal on IE8, the secure lock icon always appears next to the address. When I try to use FF, none of the Web sites show all icons padlock secure, so I'm afraid to connect to these Web sites using this browser.
    This sounds really weird as I thought FF was supposed to be safer. If the padlock icon does not appear, should I refrain to connect to these sites?

    Check the extended certificate of Validation is much more important than a padlock icon, which can be "faked" by a Web site.

    The current versions of Firefox appear, so if you don't see something wrong with your user profile Firefox.

    Try Firefox Safe mode to see if the lock is there. Firefox Safe mode is a troubleshooting mode that disables some settings and disables most Add-ons (extensions and themes).

    (If you are using an additional theme, place you in default theme.)

    If Firefox is open, you can restart in Mode without failure of Firefox in the Help menu by clicking on the restart with the disabled... modules menu item:

    If Firefox is not running, you can start Firefox in Mode safe mode as follows:

    • On Windows: Hold down the SHIFT key when you open the desktop Firefox or shortcut in the start menu.
    • On Mac: Hold the option key during the startup of Firefox.
    • On Linux: Exit Firefox, go to your Terminal and run firefox-safe-mode
      (you may need to specify the installation path of Firefox for example/usr/lib/firefox)

    Once you get the pop-up, simply select "" boot mode safe. "

    If the issue is not present in Firefox Safe Mode, your problem is probably caused by an extension, and you need to understand that one. Please follow the section Troubleshooting extensions, themes and problems of hardware acceleration to resolve common Firefox problems to find the cause.

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before you open Firefox for normal use again.

    When find you what is causing your problems, please let us know. This might help others with the same problem.

    Thank you.

  • How to check what Qt application is run for the first time?

    How to check what Qt application is run for the first time? I need for the creation of trial version of my application. Any help is greatly appreciated

    Probably use file data and put an I_ran_at_least_one_time file and verify its existence. This file is not accessible to the user and is not changed even if you upgrade the application.

  • How can I access the Advanced Javascript settings?

    I am aware that, in recent versions of Firefox, the ability to disable Javascript has been deleted. I don't intend to reopen the discussion of that particular decision. But removing this option also removed access to the menu Javascript Advanced settings, which was much more useful than just disable Javascript itself. For example, although rarely, I have disabled Javascript entirely (other than at my own site of debugging), I disabled systematically the ability of Web sites to disable context menus or move and resize popup windows.

    Unlike turning off Javascript altogether, these are the settings that provide a positive benefit for the 'ordinary' (non-developer) users. If, say, I want to open a link in a new tab, then the correct way to do this is right-click on it. Sites which disable the right-click degrade the user experience and to allow a way to replace it is a good thing. What is the justification for removing the ability to disable Javascript entirely (and I don't understand, even if I don't agree with him), I see no reason to remove access to these advanced settings.

    So my question is, how do I re-enable javascript access produce settings? I don't see any obvious setting for her in: config and simply disable javascript entirely through this method is not what I want to do.

    I have a post that lists the three corresponding about: config preferences here: https://support.mozilla.org/en-US/questions/967108#answer-464407

  • Why use my original USB cable charger for more than a year now is startig to show a sign that it is not compatible with the device? o

    I used without problem my USB cable for over a year, it is original Apple and yesterday began to show a sign that it is not compatible with the device. How can not be supported if it's Apple.

    This can occur if the cable is damaged in any way. See: recharge your iPhone, iPad and iPod touch - Apple Support for more information.

  • How can I find Canon CP910 printer drivers for use with OS10.11.3?

    How can I find Canon CP910 printer drivers for use with OS10.11.3?

    Download the player package Cannon from Apple or get your driver from the Canon support site.

    V3.3 Canon for OS X printer drivers

    Canon Laser Printer Drivers for OS 3.1 X

  • How to fix this error "generic host process for win32 services has encountered a problem and needs to close ' help me please I am using windows xp with SP3

    How to fix this error "generic host process for win32 services has encountered a problem and needs to close ' help me please I am using windows xp with SP3.

    When I close this error or click on send or do not send, my session network remote also network mapped drive United Nations accessible then I restart my computer and I can access my network grows but after awhile once again this error and the same network behavior that I discussed earlier.
    someone has a better solution that take care of this problem.

    Hello

    Given that the problem is related to the server of the IRIS, IRIS Contact support for assistance:

    http://www.IRISLink.com/C2-1967-189/I-R-I-S---technical-support.aspx

    Hope the above information is helpful.

  • LRT224 - how to have a free installation of LAG for the games

    How can I get a free installation of Lag for the games in LRT224?

    I already tried to give "High priority" ports used by games like Dota 2, heroes of the storm, etc., as shown below, but the latency is still high.

    In our previous configuration with DLink LB604, we used the sticky connection and there is no Lag. We sticky Wan1 related game Ports and 2 Wan for Http and Https Ports.

    Is there a way for Linksys have a free configuration of Lag? We use this router now Internet café with 40 customers.

    Please help me how to reduce the latency/Ping times.  Thanks in advance

    If the router of games makes the QOS, then you must disable QOS in the LRA.

    Sorry, Linksys has not approved the agreement of beta tester yet. I'll have an update.

  • How much space do I need to allow for Vista while partitioning the hard drive?

    How much space do I need to allow for Vista while partitioning the hard drive?

    I am installing on a new drive hard and need to partition the hard drive.

    I remember he had a certaing amount allocated for vista and before recovery.

    Help, please!

    Hello

    40GBs is the minimum; who will be vey quickly useless.

    Recovery partition would have been photographed by the manufacturer of the computer hard disk and you can't replicate that.

    You can use all of the hard disk space available to install Vista on.

    Here's how to do a clean install of Vista using a DVD of Vista from Microsoft:

    "How to do a clean install and configure with a full Version of Vista '

    http://www.Vistax64.com/tutorials/117366-clean-install-full-version-Vista.html

    And once the operating system is installed, go to your computer manufacturer's website and get the latest drivers for your particular model or laptop computer.

    And phone Activation may be necessary when you use the above installation method.

    "How to activate Vista normally and by Activation of the phone '

    http://www.Vistax64.com/tutorials/84488-activate-Vista-phone.html

    See you soon.

  • Backup Win7 survey 0x80071A90: the function has attempted to use a name that is reserved for use by another transaction

    'the function tried to use a name that is reserved for use by another transaction 0x80071A90.

    Win7 backup suddenly started up this error. Any ideas how I solve this problem? What is a free replacement of good backup tool?

    Thank you

    I encountered the error when trying to change a Windows 7 backup below.

    Error:

    "Set up a backup: the atetmpted function to use a name that is reserved for use by another transaction." (0x80071A09).

    Solution:

    Create a backup without annex, activate calendar required.

    Found several others with this issue online, but no resolution thus created this post.

    Pasted from https://social.technet.microsoft.com/Forums/windows/en-US/f892470f-860d-424f-90e8-6ae61c5ca747/windows-7-backup-error?forum=w7itprogeneral>

    For me, it's work :)

Maybe you are looking for

  • Tecra A6: Using a keyboard wireless on a port replicator

    I'm trying to implement a wireless keyboard Microsoft on a mooring for my Tecra A6 port. Unfortunately, the Intellitype software more wrote the keyboard map and disables access to shutoff (FN + F5). Does anyone know how to get around this without dis

  • Yoga 2 Pro - how to get Windows 8.1 recovery disks

    Hi all. I just bought a Yoga 2 Pro and immediately wiped the drive and installed Debian on it (which works very well.) While I can't imagine going back me to Windows, it would be useful to have the recovery of Windows 8.1 (or USB) disks available, ju

  • T450 and T460 works (no lights)

    Last week, my T450 was completely cut off - power no lights whatsoever, if I changed the batteries or the point of sale. I now have a replacement T460, and literally within a week it too has gone dead. Another laptop which was charging into the same

  • The most recent update of vista

    I was working on my computer a few days ago, and the little thing goes out that there is an update to windows. (I have vista) This is my first and biggest problem ever. It corrupted my id user so all my itunes songs and school papers and locked and I

  • Chromebook 13s (Cb5-311) lose the screws...

    My School District has bought about 120 Acer Chromebook 13s in June of last year. During the year, we noticed that some were lacking in the envelope at the bottom screw. We had this problem before with another brand last year. After talking with othe