Rename the script file.
I guess this is possible through the script, but as I am new to scripting I'm just dipping my toes for that.
I have a number of actions, produce a variety of effects / tone. For a specific job, I need run each action one by one and the result output as a new PSD file using the name of the Action as filename for the PSD document.
IE:
FILE. PSD
perform the action "Blues of shadows."
FILE. PSD saved to folder as "Blues of shadows. PSD'
How to get to this point, someone pointers?
Thank you.
I have already written a few years ago.
http://PS-scripts.CVS.sourceforge.NET/ViewVC/ * Fund * / ch-scripts/xtools/apps/ActionSetRu nner.js
It should do what you want.
X
Tags: Photoshop
Similar Questions
-
of MSHS - cannot rename the data files
I have a MSHS (encryoted MSH) - 5 last lines in this script - I have a command shell that renames the data files. for example
Shell ren f:\data\abc_morning.txt abc_20100912_morning.txt
Shell ren d:\data\def_afternoon.txt abc_20100912_afternoon.txt
Shell ren t:\data\abc_evening.txt abc_20100912_evening.txt
These commands work fine in the MSH script, but get the "File not found" error in file MSHS. Has anyone else ran into this problem?
MSHS command also asked how to rename the data files as Shell REN does not work?It's really simple:
MSH scriptname.msh
That's all.
Kind regards
Cameron Lackpour
Edited by: CL, Sep 13, 2010 16:37
Adding an extension to the scriptname. -
How to rename the configuration files store data with downtime
HI team
I've renamed the vcenter client name. How to rename the configuration also files in data store with to take the time to stop.
you have renamed virtual machines, and now you want to also rename the config files (vmdk, vmx and so on)?
Just do a storage vmotion and the files will be automatically renamed...
-
is it possible to write a script that will display the script files folder in the tree
is it possible to write a script that will display the script files folder in the tree
Yes :-)
In your previous post, someone suggested to search for the file "SnpCreateTreeview.jsx", because it would just be the asked.
The script can be found here, just accept the EULA and download the example scripts of Bridge CS3. (For some reason it is not in CS4 samples because as far as I know)
Here's a version with small changes, it is up to you to point the script in the folder 'root' right, because this is, needless to C: on PC:
////////////////////////////////////////////////////////////////////////////
ADOBE SYSTEMS INCORPORATED
Copyright 2007 Adobe Systems Incorporated
All rights reserved
//
NOTE: Adobe permits you to use, modify, and distribute this file according to the
the terms of the Adobe license agreement accompanying it. If you received this file from one
source other than Adobe, then your use, modification or distribution of it is required in advance
written permission from Adobe.
//////////////////////////////////////////////////////////////////////////////**
@fileoverview shows how to use an item in the tree list and how to capture events with
functions of recall or script registered event listeners.
@class shows how to use an item in the tree list and how to capture events with
functions of recall or script registered event listeners.Its use
- Run the extract in the ExtendScript Toolkit (see Readme.txt).
- Enlarge / reduce the list items
- Check the JavaScript Console to see the events captured by the elements of the TreeView.
- Run the extract in the ExtendScript Toolkit (see Readme.txt).
-
Works only in the script file and not in the database
Hi all:
I want to know if this is possible.
In my SQL script file...
Create a feature once.
Call or make use of this couple of function or several times.
All the while NOT create the function in the database.
In other words, I want this function to be alive only during execution of the script file.
Thank youWell, you can do that if you can somehow manipulate your script so that it includes an anonymous block. Here, you can use a local subprogram that exists in the context of the anonymous block:
SQL> DECLARE 2 a1 NUMBER := 10; 3 a2 NUMBER := 20; 4 a3 NUMBER := 0; 5 6 FUNCTION calu_sum (var_a NUMBER, var_b NUMBER) 7 RETURN NUMBER 8 IS 9 BEGIN 10 RETURN (var_a + var_b); 11 END; 12 BEGIN 13 a3 := calu_sum (a1, a2); 14 DBMS_OUTPUT.put_line (a3); 15 END; 16 / 30 PL/SQL procedure successfully completed.
Kind regards
FrébaultPublished by: Marie Lise Sharma on May 6, 2009 13:58
-
Here's the script that import a mp4 from my "d" drive file
{ var imgDir = ("d:"); var newAmt = 1; if (!app.project) { app.newProject(); } var myItemCollection = app.project.items; var myComp = app.project.activeItem; var myProperty; function processFolder(theFolder) { for (var j=4; j < 5; j++) { var importOpts = new ImportOptions( new File(theFolder + "aff"+".mp"+j) ); var importImg = app.project.importFile (importOpts); var myImg = myComp.layers.add(importImg, ); } } processFolder(imgDir); }
It import a file "aff.mp4" in my repertoire. But I want to rename the file 'aff.mp4' when it imported. is this possible? Please help me...
Try this:
{
var imgDir = ("d:");
var newAmt = 1;
If (! app.project) {app.newProject () ;}
var myItemCollection = app.project.items;
var app.project.activeItem = myComp;
var myProperty;
function processFolder (theFolder)
{
for (var j = 4; j)< 5;="">
{
var importOpts = new ImportOptions (new folder (Folder "conf", ".mp" + j));
var importImg = app.project.importFile (importOpts);
importImg.name = 'fame Layer. " Rename the layer after import
var myImg = myComp.layers.add (importImg),
}
}
processFolder (imgDir);
}
-
Photoshop layer redesign, rename the script for Illustrator
The Photoshop scripting guru Paul R more to RetouchPro has created a really cool to rename script and layers of selected Photoshop batch numbers. I did find something similar on the side of the Illustrator.
He gave his permission for me to post it here in hopes that some Illustrator scripting genius could come up with a similar script for Illustrator. It would be terribly difficult to convert into something that could use Illustrator?
http://www.mediafire.com/file/g7usr73u0236p0a/rename _ & _Renumber_Selected_Layers.jsx
http://www.mediafire.com/file/dbah74x13bsa74c/rename _ & _Renumber_Selected_Layers.jsx.zip
Hola Julio, I updated the script to rename the sublayers or visible layers and also fixed the color
#target illustrator main(); function main(){ if(!documents.length) return; //var allLayers = app.activeDocument.layers; var win = new Window( 'dialog', '' ); g = win.graphics; // var myBrush = g.newBrush(g.BrushType.SOLID_COLOR, [0.99, 0.99, 0.99, 1]); // CS5 var myBrush = g.newBrush(g.BrushType.SOLID_COLOR, [0.50, 0.50, 0.50, 1]); // CS6 g.backgroundColor = myBrush; win.orientation='stack'; win.p1= win.add("panel", undefined, undefined, {borderStyle:"black"}); win.g1 = win.p1.add('group'); win.g1.orientation = "row"; win.title = win.g1.add('statictext',undefined,'Rename Visible Layers or Sublayers'); win.title.alignment="fill"; var g = win.title.graphics; g.font = ScriptUI.newFont("Georgia","BOLDITALIC",22); win.g5 =win.p1.add('group'); win.g5.orientation = "column"; win.g5.alignChildren='left'; win.g5.spacing=10; win.g5.st1 = win.g5.add('statictext',undefined,'New layer name'); win.g5.et1 = win.g5.add('edittext'); win.g5.et1.preferredSize=[250,20]; win.g10 =win.p1.add('group'); win.g10.orientation = "row"; win.g10.alignment='fill'; win.g10.spacing=10; win.g10.st1 = win.g10.add('statictext',undefined,'Serial Number'); win.g10.et1 = win.g10.add('edittext',undefined,'1'); win.g10.et1.preferredSize=[50,20]; win.g10.et1.onChanging = function() { if (this.text.match(/[^\-\.\d]/)) { this.text = this.text.replace(/[^\-\.\d]/g, ''); } }; win.g10.st1 = win.g10.add('statictext',undefined,'Length'); var nums=[2,3,4,5]; win.g10.dl1 = win.g10.add('dropdownlist',undefined,nums); win.g10.dl1.selection=0; win.g15 =win.p1.add('group'); win.g15.orientation = "row"; win.g15.alignment='fill'; win.g15.cb1 = win.g15.add('checkbox',undefined,'Reverse layer order'); win.g15.cb2 = win.g15.add('checkbox',undefined,'Rename Sublayers Only'); win.g100 =win.p1.add('group'); win.g100.orientation = "row"; win.g100.alignment='center'; win.g100.spacing=10; win.g100.bu1 = win.g100.add('button',undefined,'Rename'); win.g100.bu1.preferredSize=[120,30]; win.g100.bu2 = win.g100.add('button',undefined,'Cancel'); win.g100.bu2.preferredSize=[120,30]; win.g100.bu1.onClick=function(){ if(win.g5.et1.text == ''){ alert("No layer name has been entered!"); return; } win.close(0); var sublayersOnly = win.g15.cb2.value; var visibleLayers = []; getVisibleLayers (app.activeDocument, visibleLayers, sublayersOnly); if(win.g15.cb1.value) visibleLayers.reverse(); for(b=0; b
-
Hello
After an exhausting search this forum and a lot of trial and error, I was not able to work on how to rename a .csv file. For example, I want to change the name of the csv files in a folder to include the name of the folder. For example, from Trial01 to Folder1_Trial01.
Can someone help me, please!
Thank you
CJ
CJ,
You can try something like this:
Norbert
PS: If it is difficult for you to understand, you might want to do a training online or visit a LV course of NOR.
-
The script files are corrupted in vista on my computer laptop r61i
Technical support of McAfee said that my scripts files are corrupted in vista on my computer r61i laptop... How can I download and replace on a preinstalled OS
* original title - scripts to repair files in thinkpad r61i of vista preinstalled v
Hello DonSchaffer,
1 script are. what files you referring?
2. What are the problems you are having with the computer?
3. are you referring to the file damaged desktop system?
Please give us more information about the files that you are talking about and the issues you have with the computer. If the system files are corrupted on the computer, I suggest that you run the tool on the computer system file checker. You can check the link below:
Thank you
Irfan H, Engineer Support Microsoft Answers. -
How to rename the JAD file to eclipse MIDlet name
Hi, expert,
at the present time, our product team asks me to change the product name of the name of one to the other, I changed the title in the properties of the eclipse project and thought that's it. Cod file name was still the same as before.
Then I discovered that I was wrong. The name options-> list of applications is still the old name. Then I change the COD file name (the name of the JAD file is also modified with it) and thought that I would be ok this time.
I was denied again. The name on the download of air link always displays the old name and found out that the JAD stll MIDlet-name file has the old name and browser would use this name. Options-> application list, it still shows the old name. So I have to change the name of the MIDlet-name for the new name. However, I couldn't find a way. on the descriptor xml project, there is a tag called MainMIDletName, I changed to the new name:
However it does not seem to help as well. After research, I found this link, but it does not say exactly how do without changing the name of the project that I really don't want to do:
http://supportforums.BlackBerry.com/T5/Java-development/how-to-rename-JAD-in-JDE-Eclipse-without-ren...I have a few choice here? Any help would be appreicated.
Hello
To have the "MIDlet-Name" of the renowned JAD property, you will need to rename the project. Output file names can be changed via the BlackBerry_App_Descriptor.xml > Build (tab) > name of the output file (field).
Kind regards
-
"I would like to create a shortcut Internet Explorer jumplist to the next file -"C:\temp\Sharepoint Doc\index.html"but I want the shortcut Jumplist should appear" documents "Sharepoint". "" I've tried everything I can think of, but it still appears in the jumplist IE under the name "index.html".
Things that I have tried-1. simply dragging "C:\temp\Sharepoint Doc\index.html" to the IE icon in the taskbar to pin them in Internet Explorer. Of course everything presents itself as "index.html".2. create a shortcut of "C:\temp\Sharepoint Doc\index.html" on the desktop. "Rename the shortcut to" documents "Sharepoint"and then drag it to the icon of IE in order to pin. Yet once, stands as "index.html" even if it is the shortcut I did drag the icon.No matter what I try, I can't rename the shortcut jumplist without change of name "index.html" itself to what I want. This seems odd, since the jumplist element should be shortened. It seems to work very well if it is a shortcut to a url on the internet. Can I change the name of the shortcut all I want but shortcuts to local files do not seem to work the same.Hello
The method you're trying to do is not normally possible as the jumplist shortened specifically to this file name. However, you can check the links to see if this might help you.
Jump lists
http://Windows.Microsoft.com/en-us/Windows7/products/features/jump-lists
Using lists of shortcuts to open programs and items
http://Windows.Microsoft.com/en-us/Windows7/using-jump-lists-to-open-programs-and-items
-
How to rename the image files?
I tried the file, I tried right click, but nothing does rename the file.
Strange. How is - a rename an image? Thank you.
It is under the library > Rename Photos.
You have a lot of possibilities with the file name template:
File name of Lightroom template editor - Mike Hoffman | TipSquirrel
Mike
-
vCenter Server - rename the config files and moving datastore
Our vCenter VMware Server (4.1.0) is a virtual machine. The vCenter Server database is stored on a SQL Server that is also a virtual machine. The configuration files for the server vCenter and file a vmdk are located on a data store and the other vmdk file is located on another data store. This isn't a problem, but the parent folders that store these files have different names and do not reflect the name of the vCenter Server VM. Also the names of configuration files are different for the vmdk file names. I would like to move and rename files vmdk my vCenter Server to another data store and all the configuration files so that the parent folder that stores all the files has the same name as my vCenter Server VM and all of the files in the folder are on behalf of my vCenter Server VM.
What would be the best way to do this? Can I install the stand-alone converter on the vcenter Server and migrate the server? I have a vCenter Server Standard license. Thank you.
as above, use storage vmotion if possible else, you can use vmware converter...
-
Is it possible to rename a VMDK file?
Ive traveled to the data store and can see the vmdk file and also the - file ctk.vmdk but when I right click the option rename is gray.
So, how do rename you?
Thank you
Stewart
You can rename the vmdk and not rename the object itself, but the vmx file needs to point the the renamed disk files. It is in this article, http://kb.vmware.com/kb/1002491, which I pointed out above.
in the .vmx file, you will see something like
scsi0:0.fileName = "OpenSUSE.vmdk"
.
-
Rename the local file and automatically update remote file name has Dreamweaver?
Hi all
Is it possible to rename a local file, using the files Panel and have the Dreamweaver automatically update the same name of the file on the remote server?
Added the link update function, it would be very quick to update a file name in the code, the local site and the remote site.
Thank you
David
Submit requests for features here
https://www.Adobe.com/cfusion/mmForm/index.cfm?name=wishform
Description
Creates two hierarchical list of TreeView items. One is static, with a fixed set of point
nodes that you can expand and collapse. The other is dynamic; Item nodes are added and removed as
the need for a view of the file system.
The list items in the TreeView control to display the folders and files custom images. When you add items to the
TreeView list, type 'article' is used for elements of the leaf and 'node' to the elements of the container.
Dynamic TreeView captures events in two different ways. It uses callback functions to capture the
node to expand and collapse events and selection changes and also registers an event listener to
capture double-click events.
@constructor constructor
*/
#targetengine "session".
function SnpCreateTreeView()
{
/**
The context in which this code snippet can work.
@type string
*/
this.requiredContext = "\tNeed runs in the context of the Bridge\n."
/**
The location of this script file system
@type file
*/
var scriptsFile = new File($.fileName);
/**
The location of the file system resource PNG file used to represent folders
@type file
*/
this.folderIcon = new file (scriptsFile.path + "/ resources/Folder_16x16.png");
/**
The location of the file system resource PNG file used to represent files
@type file
*/
this.fileIcon = new file (scriptsFile.path + "/ resources/Story_16x16.png");
/**
The root folder that will be used for the dynamic tree
@type string
*/
this.rootFolder
If (File.fs is "Windows")
{
this.rootFolder = "C:";
}
on the other
{
this.rootFolder = ' / ';.
}
}
/**
Functional part of this code snippet. Creates the ScriptUI window and its components,
and defines the behavior.
@return true if the code snippet is executed as scheduled, false otherwise
Boolean @type
*/
SnpCreateTreeView.prototype.run = function()
{
$.writeln ("about to"run SnpCreateTreeView");
Create the window
var win = new window ("palette", "SnpCreateTreeView", undefined, {resizable: false});
Create the Committee for the static TreeView control
sPanel var = win.add ('Committee', undefined, 'TreeView Élément') static;
sPanel.alignment = ["fill",""];
sPanel.alignChildren = ["fill",""]
Create a TreeView list
sTv var = sPanel.add ("treeview");
sTv.preferredSize = (300, 200);
Add static items to the list, in a hierarchical structure.
for (var i = 0; i)<>
{
sTv.add ("node", "Item" + i);
for (var j = 0; j)<>
{
sTv.items [i] .add ("item", "Sub Item" + j);
}
}
Create the Committee for the dynamic TreeView control
var dPanel dynamic = win.add ('Committee', undefined, 'TreeView Élément');
Create a TreeView list
TV digital var = dPanel.add ("treeview", undefined);
dTv.preferredSize = (400, 300);
Create the root node element
var aNode = dTv.add ("node", "/");
Pair it with an image of the icon
aNode.image = this.folderIcon;
Define a handler for the double clicks
myOnDoubleClick = Function
{
if(e.detail == 2)
{
$.writeln ("double click");
}
}
Adds the handler as an event listener to the TreeView element.
dTv.addEventListener ("click", myOnDoubleClick);
Keep a reference to this object
var that = this;
Define an event handler for when a node is expanded
dTv.onExpand = function (point)
{
$.writeln (item.text + "is now expanded.");
nextItem var = item;
var path = "";
goUp var = true;
While (goUp)
{
path = "/" + nextItem.text + path;
nextItem = nextItem.parent;
If (instanceof TreeView nextItem)
{
goUp = false;
}
}
Remove all children of this element
item.removeAll ();
var Ref = new file (that.rootFolder + path);
If (Ref instanceof Folder)
{
children var = ref.getFiles ();
for (var i = 0; i)<>
{
If (children [i] instanceof file)
{
Item.Add ("node", children [i] p:System.NET.mail.MailAddress.DisplayName);
Item.Items [i] .image = that.folderIcon;
}
on the other
{
Item.Add ("item", children [i] p:System.NET.mail.MailAddress.DisplayName);
Item.Items [i] .image = that.fileIcon;
}
}
}
}
Define an event handler for when a node is reduced
dTv.onCollapse = function (point)
{
$.writeln (item.text + "is now reduced.");
}
Define an event handler for when the selection changes
dTv.onChange = function()
{
$.writeln ("selection changed");
}
Display the window
Win.Show ();
$.writeln ("Ran SnpCreateTreeView");
Returns true;
}
/**
"main program": construct an anonymous instance and run
as long as we are not unit - test this code snippet.
*/
If (typeof (SnpCreateTreeView_unitTest) == 'undefined') {}
new SnpCreateTreeView () .run ();
}
Maybe you are looking for
-
lost my user name and password to connect to print and share on my printer
I can not access my eprint and sharing on my hp printer 5532 desire. I forgot my user name and password.
-
Re: Qosmio F50 - 10 G - stronger than the left speaker right speaker
All of a sudden the right speaker is now stronger than the left speaker (I think before the two speakers have the same volume level).Then the right speaker just stopped working and if I test it, the left plays the sound. The sound from the left speak
-
Cannot open Control Panel Test VISA in Measurement &; Automation Explorer
With the help of Visa OR Measurement & Automation Explorer. Select the devices and Interfaces and select my device. The Test Visa Open Panel is grayed out and is not available. Some tools-> NI - VISA-> VISA Interactive Control, and the following erro
-
HP 7612: HP7612 Locked - how can I perform a full reset?
Without apparent reason, one of our HP7612 has posted locked by Admin and most of the functions are now disabled and showing that the locked. How can I reset it to clear this locked status and return our config network completely?
-
Utility EOS don't wake the 1DC
One of our photographers on the ground with our 1-D-C and has problems with the EOS Utlity. In fact, it works great except for a key, the software will be not to wake the camerathing. What I mean is that, while it wakes you up from sleep a half pre