Name of the file edited to layer
I have a PSD file, called "WEB-MUG-12345" - I'm able to use a script to put this name in this same PSD file and use actions to change the font, size, placement.
I need to insert asterisks, so in my PSD file, it reads ' * WEB-MUG-12345. " I am not able to insert asterisks as I'm used to modify text in Photoshop. I can't have a layer of jpeg of asterisks because I need to change the font for a font of barcode, and this bar code must be analyzed asterisks must be text with "WEB-MUG-12345".
When I used manual Insertion of asterisks actions, she saved the '12345' as I need to make a sequence of automated commands, this number will change with each new file.
This is the script I use now.
Thanks in advance!
This script is a variant of the script addTimeStamp.js, which is installed with PH7
If (documents.length > 0)
{
var originalDialogMode = app.displayDialogs;
app.displayDialogs = DialogModes.ERROR;
var originalRulerUnits = preferences.rulerUnits;
preferences.rulerUnits = Units.PIXELS;
Try
{
var docRef = activeDocument;
Now create a layer of text on the front
var myLayerRef = docRef.artLayers.add ();
myLayerRef.kind = LayerKind.TEXT;
myLayerRef.name = "Filename";
var myTextRef = myLayerRef.textItem;
Strip extension
var fileNameNoExtension = docRef.name;
fileNameNoExtension = fileNameNoExtension.split (".");
If (fileNameNoExtension.length > 1) {}
-fileNameNoExtension.length;
}
fileNameNoExtension = fileNameNoExtension.join(".");
myTextRef.contents = fileNameNoExtension;
Set the position of the text on the left first, then the top percentages
myTextRef.position = new Array (docRef.width / 2.5, docRef.height / 3.5);
myTextRef.size = 15.76;
}
catch (e)
{
An error has occurred. Restore units of the rule, and then spread the error return
to the user
preferences.rulerUnits = originalRulerUnits;
app.displayDialogs = originalDialogMode;
throw e;
}
Everything went well. Restore units of the rule
preferences.rulerUnits = originalRulerUnits;
app.displayDialogs = originalDialogMode;
}
on the other
{
Alert ("you must have a document open to add the file name! ');
}
Courtesy of Add the file as a text layer name "Julieanne Kost's Blog of »
If you want just the asterisks in the name of the file, try:
myTextRef.contents = '*' + fileNameNoExtension +'*';
Tags: Photoshop
Similar Questions
-
Open a new file in photoshop cc and the name of the file is displayed but no Web white work. You can see it as a layer in the layers panel and if I pull on the grey area I see int on the layer, but not on the main screen.
Nice day!
Could you please post a screenshot with the relevant panels visible?
Not turning off"use graphics processor" in the Performance preference and restarting Photoshop have a bearing on the issue.
Kind regards
Pfaffenbichler
-
Record and edit the name of the file
When I save slot, I want the image the name of the file of type I so that all future changes can be saved by clicking on 'save' and do not have to find and rename the file EACH TIME. Sometimes it works, sometimes it doesn't. It seems very random.
I think it has something to do with 'save a copy' but more often that otherwise, that option is grayed out so I couldn't if I wanted to.
Photoshop calls the functionality "Save as copy" when he feels that you can't save all the things in your image document in the format you have chosen.
For example, if an image has layers or channels R, G, and B is in 16-bit mode, it will not be able to record all these things in a JPEG file. So, he called the feature "Save as copy" and makes the assumption that you want to save the entire document, including all the extra stuff in a separate file of master in a format that can handle anything - for example, .psd.
This leads to this (normal) behavior:
1. you work on a drawing or a picture that has a bunch of fancy inside stuff (for example, a few layers, masks, some additional channels, 16-bit mode).
2. you save in a master .psd file. It does NOT call Save as copy, and FACT set default save filename.
3. you work on it again.
4. you save as .jpg file - for example to prepare for editing. This called save as copy and the rest .psd. default file name
5. you try to leave Photoshop and it tells you that you have not saved your file master .psd, so you save it.
If you want the operation to save as to reset your default file name, flatten, delete channels, other or lower color depth to make it compatible with the format that you save it, so save as copy is not forced. Or save it under another different .psd or .tif able to manage these features.
Hope this helps to understand.
-Christmas
-
Can not good press the mouse on the name of the file and get the option of e-mail
Can not good press the mouse on the name of the file and get the option of e-mail
Hello! If I understand your question, you want to right-click on a file and attach it in Mail. To do this, click on the file with two fingers on the touchpad, or control + click on the file, select 'Share', then 'mail '.
I hope this helps!
-
How can I remove the title of the page above the file, Edit, View, story, tab bookmarks in firefox
In Firefox, 29 and 30 of Firefox:
button '3-bar' menu > customize
Bottom left, click the title bar button to enable and disable the title.
In Firefox 28, I actually do not remember!
I would be remiss in my duty if I didn't remind you:
- 28 Firefox is not safe: Mozilla has disclosed its known security flaws.
- You can change 30 Firefox in order to restore many features of previous versions of Firefox user interface using the techniques in this article (or with the help of volunteers from the forum): How to make the new look of Firefox as the old Firefox.
-
What is this file? -osxupdcombo10.10.5.dmg - he started to automatically download on my mac and I stopped it... This is a copy of the name of the file and I have no idea what it is? osxupdcombo10.10.5.dmg
This is the last update to Yosemite.
If you do not run 10.10.5 then you run to certain security risks.
-
What is the name of the file where the contacts are stored.
I need to restore my contacts from a backup. What is the name of the file where the contacts are stored?
According to the contacts or the premises or in iCloud:
~/Library/application support/address book/metadata for local contacts
~/Library/application Suport/address book/Sources find the iCloud account and file metadata
However, if your backup is located in Time Machine, open the contacts application and any asset, enter Time Machine. Go back in time to find contacts. Select them and click on restore.
-
I download a lot of PDF files and I organize their file name. I want to record on my computer to read later. When I have a PDF document is opened in the browser, it's particularly embarrassing. As it is, I have two options:
Save the file:
This automatically sends the file to a temporary folder to download, which Windows will not let me access without memorizing the exact location. It also saves automatically under the default file name, I never keep. If I use this option, I have to go back and manually move the file in my documents and rename it.Open the file:
This opens the file in a new window from Adobe (while simultaneously recording to the same temporary folder). I have to open the file in the browser, and then open it in a new window, then hit save slot, then PDF, then change the destination folder (because the default value is the temp folder) and name of the file.Please, give me manual control of downloads! I want just a save as option.
Is it possible to right click on the download link and use Save Link as...?
Who will have the choice of "off-site" hands of Adobe. -
I am running Windows XP that is updated to the latest version (which I think could be Service Pack 3, but not positive.) Mozilla Firefox is version 5.0. I tend to use Google as my search engine, so most of the stuff I download comes through sites found through Google, which is also updated.
At some point in the past (there are maybe a few versions) when I want to download a file from the Internet, the "downloads" window opens and in the window would display the name of the file I got was download or came from download. I think I used to be able to then click on the file name and opens the file (or the Setup file if necessary to launch the new program). I am currently using Firefox 5.0 (screen "On Firefox" said that it is up to date) and when I download a file or document, the "Downloads" window appears on the screen as it has always in the past, but it remains empty, that is, nothing is displayed in the download area. I don't remember to make configuration changes, etc., that may have caused the window to remain a Virgin, but I could be wrong. I know how to find the items I downloaded (My Documents / downloads) and can generally guess what might be the name of the downloaded file, but it was much easier when something (anything) appeared in the downloads window.
I'd like someone to tell me about a simple solution for this. I'm ready to be pretty embarrassed that I did something I should not have.
In the Firefox Options / confidentiality be sure 'Remember download history"is checked. To see all the options on this Panel, "Firefox will be" must be set to "use the custom settings for history".
To find your OS information, on your Windows desktop, right-click on the icon my computer, choose Properties, this little window is info on your operating system.
If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.
-
After you install Firefox 5, the window drop-down bookmarks menu has changed. Firstly, the area to the right of the name of the file is extremely large. Second, when you click on a file, including the bookmark links, list screen bookmarks covers the names of files, making it impossible to simply scroll to the list of file name.
Firefox 4 and later versions will automatically adjust the width to the length of the longest name.
You can scroll all bookmarks in the list and shorten the names to reduce the total width.
-
I always open my homepage (Google) and the browser will find things from there, but it's the only way I can navigate around. I downloaded and reinstalled the latest version of Firefox, but it always opens with the same problem, even after restarting the computer. The toolbar that I have in mind is that with my favorites by tabs.
-
- Question
When I opened the window "save the Page under", the drop-down box file name indicates the files that have been saved a long time ago. It is not cleared by a function 'clear history' that I can find. How can I erase this?
Hello.
I think this is a related issue of Windows, because it is the Manager to save the windows file that we are talking about here (right?). You should contact Microsoft for help with this one, I think. You expect to be able to delete entries simply by touching delete on your keyboard when they are concentrated (that is how it goes for the removal of the form entries specific autocomplete in Firefox), but I have not tried.
I'm sorry I can't be more helpful.
-
At the top of my browser page, that I used to have files, edit, tools, Options, etc. helps well disappeared. How to make a comeback?
This has happened
Each time Firefox opened
== do not know when, but after an update, I think.
In Firefox 3.6 and later Windows, you can hide the menu bar on "view > toolbars" or via the contextual right click menu on a toolbar.
Press F10 or press and hold the Alt key to bring up the menu bar temporarily.
Go to "view > toolbars", right click on the menu bar, or press Alt + V T to select to show or hide toolbars (click on an entry to switch from the State).See also what happened to the file, edit and view menus? and http://kb.mozillazine.org/Toolbar_customization
-
How to restore my line that has "file, edit,... history, bookmarks, etc..?
You can hide the menu bar in Firefox 3.6 on Windows, on "view > toolbars" or via the contextual right click menu on a toolbar.
Press in and hold the Alt key to display the menu bar.
Go to "view > toolbars", right click on the menu bar, or press Alt + V T to select the toolbars to show or hide. -
Name of the file with the worksheet
Hi, I have save data with 'Write to spreadsheet' and I know I can save in a file created with a path or create a new.
I need name and create a file for each day of automaticlly. If it is Monday, the file name will be Monday and save the data of the Nations United this file.
How can I do?
If you use the entry in the spreadsheet file, you do not use the open/create file. Use the path to build to add the name of the file in the desired folder and wire the new path to writing to VI spreadsheet file.
Maybe you are looking for
-
Using bar menus zooms automatically, you can not select anything
When I want to use the menu bar (file, display, extra etc) then the menus open for a second in the normal way, but when the mouse moves, or by the use of the keyboard it automatically sort of zoom mode and then once not able to choose any in items th
-
macbook pro sale want to change of Directors
I'm selling my MacBook Pro and want to remove myself as admin have yosemite OS X and don't have a disc.
-
I bought the iphone 5 my brother from a friend when I opened this phone. iphone show my iphone activation and put the e-mail address and the password. I communicated with him, they said he forget the email and password. How do I open my iphone 5. mod
-
Why my internet stops now and then not all the time trying to upload links to pdf files
I wonder if there is a problem with my computer or if I need to install a program? My internet stops now and then not all the time trying to upload links to pdf files.
-
"no valid disc" when you try to restart computer, windows 98
My old computer crashed a few years ago. It has windows 98 on it, but the files are corrupt. I bought another copy of windows 98 because I lost the old. I would like to install it. There are probably several steps I must take to do this, so if you co