How can I copy the list of names of files in the finder and set the Clipboard filenames separated by commas?

Hi guys, I was wonder if anyone can give me a hand with a script.

I need to be able to paste a list of file names of the files as follows:

0001.jpg 0002.jpg 0003.jpg 0004.jpg

At the moment, if I select the files in the Finder, copy to the Clipboard and paste them in TextEdit, they are like this:

0001.jpg

0002.jpg

0003.jpg

0004.jpg

I found a similar but slightly different script and I don't know how to change it. Here it is:

Define extension_list to {"jpg", "" JPG","jpeg","JPEG"}

the value cbNames (Clipboard text) paragraphs

Set csvNames to {}

the tid value delimiters to point to the text of the AppleScript

the text value of the AppleScript point delimiters ".»

-now, make a list of names without extensions

Repeat with the names in cbNames

If the point 2 of the text names is extension_list then

copy of text 1 of names at the end of csvNames

end if

end repeat

Journal csvNames

-now the filenames as comma CONCATENATE string separated

the text value of the point delimiters AppleScript «»

csvNames value cross-as text

the text value of the point AppleScript delimiters tid

There is an easier way. Open a TextEdit document and paste the list in. Place the cursor at the end of the first item and drag it to the start of the second.

Press on + command + c to copy and then command + f to bring up find it. Press command + v (do not click in the first search field). Check the 'Replace' box, click in the field replace, and then type a comma and a space.

Click 'All' and then 'done '.

Tags: Mac OS & System Software

Similar Questions

  • How can I copy the format of a sentence or paragraph on another phrase or a paragraph?

    When I copy and paste a section of an article to another, I want to change the format of the section imported to accompany the rest of the article. In Outlook or MS customer, I would use the brush for this icon. How can I copy the format of a section in Thunderbird in another section?

    Thank you very much.

    I would like to use stationery to say my favorite styles, then use 'Paste without shaped' to allow the formatting that is currently in force to apply to the text pasted, not knowing everything already set the imported text. A weakness of Thunderbird in its native form, is that it tends to forget to insert your policy chosen by default etc.. The add-on stationery that heals by making your explicit requirement.

    Messages sent by users of Thunderbird often appear ugly serif text (IMHO), what is lacking Outlook, Thunderbird forgets to say that you have chosen a sans serif font when composing.

    Without stationery, all your efforts to align your text can come were reduced to nothingness.

  • How can I copy the folder my documents in my iCloud drive and then I sync the two after that?

    How can I copy the folder my documents in my iCloud drive and then I sync the two after that?

    You can simply drag in iCloud reader, but I pass and move documents in their files app instead. It will probably take a while to download all documents.

    It is not a way to sync without some third party software that synchronizes folders, or learn how to use rsync in the Terminal.

    Instead of synchronization, simply use the iCloud drive in the 'Documents' folder after you move the files.

  • How can I copy the user created in the administrator account?

    Hello

    I would like to ask what can I do? When I installed Vista Home Premium on my computer, I created another user account! I have configured my PC how I like it! With all the parameters that I need (research, programs, etc...) I don't want 2 user account, but I can't remove the administrator one! (Now, it's empty, nothing about this)

    So, how can I copy all my settings, remove the user and a user account?

    I hope I was understandable! :)

    Good day!

    Hi Muzsika,

    I don't know what you mean, so I'll just say what I think is your problem, and then respond.

    Problem: I have a standard account I have all my files in and have customized this account. I have an administrator account that I don't use. Because I can't remove the administrator account, I would copy the standard account for the administrator account and remove the standard account.

    The answer is: change the standard account to an administrator. account, and then delete the other admin account.
    How to change an account type to administrator: (necessarily using the account admin.)
    1. Open a user account by clicking on the button start , clicking Control Panel, clicking user accounts and family safety, click user accounts, and then clicking on manage another account. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    2. Click on the standard account and then click on change the account type.

    3. Select the type of account you want, and then click on change the account Type.

  • After opening an image in Photoshop elements 12 How can I copy the image of a word processing document

    After you open an image in Photoshop elements 12, how can I copy this image to a word processing document?

    You are in expert mode? Do you see the moving dotted line around the perimeter of the image?

  • How can I copy one page to another one of my Web sites and publish it on one of my sites?

    How can I copy a page from one of my Web sites and display it on another?

    For any page either direct or added to your muse site, but not included in the navigation, you can use

  • How can I copy the name of a file, I selected by clicking?

    Hello

    I have a camera controlled by an interface Excel (VBA). Truogh this interface I control motors and tiara (to the report) and the data record in a database. When I use the load of the Excel button, the VBA application call the script Load_DATA_BOF tiara. VBS, (after completing the new data for the report) and the report.  Now for what it work, I copy the name of the name of the file that I want to load in a TextBox control, and all data are to be stored in a txt (protocol_for_load.txt) file and the tiara takes away the data for the report.

    What I want to do is to fill automatically the name of file in the protocol_for_load.txt field, when I select the file in Diadem.

    Is this possible?

    Thank you for your time

    Hi again,

    I solve the problem myself.

    FileNameProtocol = filedlgfile
    filenametxt = "D:\BOF-MIU\Scripts\Protocol files\" & filenameprotocol & ".txt".

    FNO = textfileopen (filenametxt, tfread)

    I forgot to bitch a few symbols: ' and------. "

    I told you I'm new with VBS and I have some problems with the basic stuff: how to include a variable, a function and I forgot some time to put all the signs of the script.

    Thank you for your time.

  • How can I copy the address book Thunderbird from Windows to Ubuntu?

    I use Windows on a Pc 8.1 and 14.04 Ubuntu on the other.

    Thanks in advance for your help

    Best regards

    EP

    I think the best way is to export address books needed of the LDIF files on the first machine and import the LDIF files on the second machine.

    Alternatively, you can copy the files from *.mab data from one machine to the other. Two default address books are represented by abook.mab and history.mab and can be simply copied. Other user-defined address books will be designated as abook1.mab etc. and will have to be imported. I'd say MoreColumnsForAddressBook for this task.

  • I have a 10 page document in Reader 10.1.6. How can I copy the complete folder?

    When I "copy file to Clipboard", I get only page 'in focus '!

    It may be helpful to explain a bit more on the Clipboard. When an application "copies", he does not have a single format to the Clipboard, it can put a lot. They are sometimes different flavors of the same thing (as in text and unformatted text format). But there may be completely different kinds of things: pictures, secret things that no other application won't understand, the addresses of the sites, all web files... Chances are that Acrobat offers a whole bunch of things, including the entire file. But you must use an application that can paste the entire file. Paste special displays not all formats, just everything that contains the current application.

  • How can I copy only a part of a file and move it to another folder

    I have more 100 000 music files in a folder on my external hard drive. I started to copy them to another disk to save the backup, but after 8 hours of copy and before the end of the copy, the computer stops and the copy process has been interrupted.  How could I go to continue the copy process without having to start from the beginning?

    You can hold down the key left mouse and wide from bottom right to top left, or vice versa, to highlight.

    Other ways include:

    To highlight all - point peak one and Ctrl + A will highlight all.

    To highlight a section - highlight the first one you want. Scroll to last and click while holding down the SHIFT key.

    To highlight several messages that affect - hold down the CTRL key while you click each message in order to highlight.

  • How can I access the Clipboard when denied.

    I am trying to copy and paste, but Firefox said I'm being denied access to the Clipboard and to enter 'about.config' in the address bar and then navigate to signed Applets Code Base_Principle_support and enter the value true. When I type in about.config in the address bar, it just goes to a search engine for "about.config.

    Boolean prefs can be toggled with a double click on the pref or by right click and "toggle".

  • How can I copy the file with my saved passwords before you reset my master password?

    Firefox has stopped recognizing my master password, so I need to change. I understand how to follow these instructions. But - I do not understand the directions for the backup of my name of user and password existing file. I don't know where to find him. Can someone explain to those of us with a little less knowledge?
    Thank you very much!

    If the files logins.json or signons.sqlite and signons3.txt are fit and have no errors then Firefox will ask the MP and display names and passwords in password manager.
    If this is not the case then best is start with fresh files and let Firefox create new files signons3.txt and logins.json.
    In this case, you will have to resave all passwords.

    You can try these commands in the Console browser (Firefox/tools > Web Developer):

    • Services.logins.getAllLogins () .length = > prints the number of readable connections only
    • Services.logins.countLogins ("", "", "") = > prints the number of connections, including connections not readable

    Toggle the devtools.chrome.enabled pref on the topic: config page to true to activate the command line in the browser console

  • My motherboard has exploded and I have the hard drive. How can I copy the address book for a new installation on a new computer from the old hard drive?

    I have the old hard drive in a USB enclosure and connected to the computer again. I have installed firefox and you need to have the address book (critical) copied and inserted information from address book on the new computer. I hope that there is a file I can replace easily?

    Firefox send an e-mail, it's strictly a web browser.

    If you use Firefox to access your e-mail, you use "webmail". You must seek assistance from your service provider or a forum for this service.

    If your problem is with Mozilla Thunderbird, check out this forum for support.
    https://support.mozillamessaging.com/.../home

    or this one

    http://forums.mozillazine.org/viewforum.php?f=39

  • How can I sort a list of names in alphabetical order?

    I make a list of the members of the Organization and would like to list alphabetically.  However, I can not.  Please help me.  Thank you

    I use Word

    =========================================
    It would be good to know which version of Word...

    Anyway... in Word 2007...

    Select (highlight) all the text that you want to get an alphabetical sort...

    Reach... Home tab / paragraph section / sort button...

    This will open the screen of text so...

    To sort by starting with A... remember "Ascending" is checked
    and on the left, click on the OK button.

  • How can I copy the contents of a folder (124 emails) from desktop to laptop?

    I have a folder on my desk containing 124 emails I want to copy to your laptop. Is this possible using a memory stick or other means and if so, how?

    There are a number of ways, but I think this add-on is the easiest. https://addons.Mozilla.org/en-us/Thunderbird/addon/ImportExportTools/

Maybe you are looking for

  • Importing photos with copy

    Hello I have a question about behavior if PHOTOS during import.  I'm about to change my preferences and I want to know what to expect. 1. my current photo library was created with NO use icloud photo library.  I'm going to leave it off. 2. my current

  • Save more than 16 channels in a file

    Hi, I use lots of Dasylab and would like to save about 25 channels to the same ASCII file, I have used the write data module, but it is limited to 16 channels. Is it possible to get all 25 channels to write to the same file, so I don't have to have s

  • Removing applications from the screen?

    How can I get an app, that I put to the screen out of it?

  • Extreme pro sandisk ssd on SCSI: how to check the status?

    Hello I have a SSD Pro Extreme Sandisk 240 GB on my system. I've seen it can be detected and status verified by the dashboard of sandisk. A big company like Sandisk, which looks very bad for me, because it's a very long time (YEARS) the dashboard doe

  • I closed my laptop computer to quickly and now he used to start

    I just get an application error when I turn it on.  It allows me to choose the repair and/or safe mode but neither fix it and it just goes back to the error.  Its a circle without end.  How should I do if I can return to my laptop please.  I have a d