Can I use Automator to set up a link in TextEdit as some kind of hotkey?

I am a fan-o-textedit, but I wish I could get to some of the options in the menus a little easier. Going to to Text, and than to Link--there appears to be no hot key for this operation. Does anyone know how I can go about setting up my own hot keys for TextEdit? Can Automator help me to accomplish this? I am new to Automator.
Thanks!

You don't need Automator for this. First, go to System Preferences > Keyboard & Mouse > Keyboard Shortcuts. Then, add a new shortcut (by pressing the "+"), and select TextEdit as the application. Enter "Link…" as the Menu Title (without the quotes) - the ending of that command is an ellipse, not 3 periods (you can insert that character from the Special Characters dialog). Key in the Keyboard Shortcut that you want to use (command-L, or whatever), and there you go.

Similar Messages

  • How can I use automator to import a .csv file into a an excel file

    I would still like all the import settings that I get if I am using excel to do the process, i.e. going in with the text format instead of the general format. That way my dates don't change

    You'll need to use Applescript in Automator.
    Note:  File extension cannot be CSV (Excel will assume that the file is comma separated), so add an action to copy or rename with extension TXT.
    (You can rename back at end of Workflow is needed)
    The Applescript Action is:
    on run {input, parameters}
         repeat with f in input
              tell application "Microsoft Excel"
                   open text file filename (f as string) data type delimited field info {{1, text format}} other char "|" with use other
              end tell
          end repeat
          eturn input
    end run
    NOTE: This is formating the 1st col to text
    If you need to format the second, then you need to:
      open text file filename (f as string) data type delimited field info {{1, general format}, {2, text format}} other char "|" with use other
    (You'll need to list the 1st col, 2nd col, etc until you get to the col to format as text).  Formats are (from the Applescript Excel Library):
    [field info list] : A list contain parse information for the individual columns of data.
    Formats are general format, text format, MDY format, DMY format, YMD format, MYD format, DYM format, YDM format, skip column.
    Or you can skip using Automator and just use an Applescript App (this is a droplet, just drop the files on the icon, or click to choose files):
    on run
         set fs to choose file with prompt "Select one or more files to open:" default location alias (the path to desktop folder as text) with multiple selections allowed
         proceed(fs)
    end run
    on open fs
         proceed(fs)
    end open
    on proceed(fs)
         repeat with f in fs
              tell application "Microsoft Excel"
                   open text file filename (f as string) data type delimited field info {{1, text format}} other char "|" with use other
               end tell
          end repeat
    end proceed

  • How can I use Automator to extract specific Data from a text file?

    I have several hundred text files that contain a bunch of information. I only need six values from each file and ideally I need them as columns in an excel file.
    How can I use Automator to extract specific Data from the text files and either create a new text file or excel file with the info? I have looked all over but can't find a solution. If anyone could please help I would be eternally grateful!!! If there is another, better solution than automator, please let me know!
    Example of File Contents:
    Link Time =
    DD/MMM/YYYY
    Random
    Text
    161 179
    bytes of CODE    memory (+                68 range fill )
    16 789
    bytes of DATA    memory (+    59 absolute )
    1 875
    bytes of XDATA   memory (+ 1 855 absolute )
    90 783
    bytes of FARCODE memory
    What I would like to have as a final file:
    EXCEL COLUMN1
    Column 2
    Column3
    Column4
    Column5
    Column6
    MM/DD/YYYY
    filename1
    161179
    16789
    1875
    90783
    MM/DD/YYYY
    filename2
    xxxxxx
    xxxxx
    xxxx
    xxxxx
    MM/DD/YYYY
    filename3
    xxxxxx
    xxxxx
    xxxx
    xxxxx
    Is this possible? I can't imagine having to go through each and every file one by one. Please help!!!

    Hello
    You may try the following AppleScript script. It will ask you to choose a root folder where to start searching for *.map files and then create a CSV file named "out.csv" on desktop which you may import to Excel.
    set f to (choose folder with prompt "Choose the root folder to start searching")'s POSIX path
    if f ends with "/" then set f to f's text 1 thru -2
    do shell script "/usr/bin/perl -CSDA -w <<'EOF' - " & f's quoted form & " > ~/Desktop/out.csv
    use strict;
    use open IN => ':crlf';
    chdir $ARGV[0] or die qq($!);
    local $/ = qq(\\0);
    my @ff = map {chomp; $_} qx(find . -type f -iname '*.map' -print0);
    local $/ = qq(\\n);
    #     CSV spec
    #     - record separator is CRLF
    #     - field separator is comma
    #     - every field is quoted
    #     - text encoding is UTF-8
    local $\\ = qq(\\015\\012);    # CRLF
    local $, = qq(,);            # COMMA
    # print column header row
    my @dd = ('column 1', 'column 2', 'column 3', 'column 4', 'column 5', 'column 6');
    print map { s/\"/\"\"/og; qq(\").$_.qq(\"); } @dd;
    # print data row per each file
    while (@ff) {
        my $f = shift @ff;    # file path
        if ( ! open(IN, '<', $f) ) {
            warn qq(Failed to open $f: $!);
            next;
        $f =~ s%^.*/%%og;    # file name
        @dd = ('', $f, '', '', '', '');
        while (<IN>) {
            chomp;
            $dd[0] = \"$2/$1/$3\" if m%Link Time\\s+=\\s+([0-9]{2})/([0-9]{2})/([0-9]{4})%o;
            ($dd[2] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of CODE\\s/o;
            ($dd[3] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of DATA\\s/o;
            ($dd[4] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of XDATA\\s/o;
            ($dd[5] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of FARCODE\\s/o;
            last unless grep { /^$/ } @dd;
        close IN;
        print map { s/\"/\"\"/og; qq(\").$_.qq(\"); } @dd;
    EOF
    Hope this may help,
    H

  • Can I use automator to type text?

    I am looking for a way to fill in my email address in various types of online forms by using a shortcut. Can I use automator to insert an email address? If so, how? Is there a better way to do this, like an autocomple function? I am tired of typing my rather long email address everytime I need to insert it somewhere.

    Hello Pierre L.
    The bundle identifier is safer than name because application's executable name is not necessarily equal to the package name minus extension. E.g. Firefox.app => firefox.
    --SCRIPT
    tell application "System Events" to get bundle identifier of process 1 whose frontmost is true
    tell application id result to activate
    tell application "System Events" to keystroke "hello"
    --END OF SCRIPT
    The code works fine under 10.5.8 as well.
    I guess the compatibility issue is due to the different implementations of Script menu and the different behaviours of AppleScript Runner (post-10.5) or System Events (pre-10.5) per OSes.
    All the best,
    H
    P.S. The script below (saved as application bundle) works fine under 10.4.11.
    --SCRIPT 2
        Save this as application bundle or application
        and invoke it from Script menu
    delay 0.1
    tell application "System Events"
        tell (process 1 whose frontmost is true) to set visible to false
    end tell
    delay 0.1
    tell application "System Events"
        tell (process 1 whose frontmost is true) to keystroke "hello"
    end tell
    --END OF SCRIPT 2
    /H

  • Can i use Automator in app such as illustrator, Photoshop, Indesign?

    I want to use automator in illustrator. How can I use it?
    I tried to make services menu in illustrator cs5. but, It doesn't work.
    Simply explain one thing about illustrator. I want to make keyboard shortcut for file>script>script menu(this is what I want to make keyboard shortcut)
    I can make action for a script menu and defind keybosrd shortcut. It deserpeard after restart app.
    I tried to rocord "whatch me do" in illusrrator. but It doesn't work, either.
    How can I use Automator in illustrator?

    The short answer is this is not possible. 
    The long answer is Photoshop & Illustrator use print fonts installed on your system (True Type, Open Type, Post Script).
    Web fonts (ie: Google, TypeKit, Edge, etc...) need a web browser to display them because they use file types that are not recognized by other applications.  
    EOT Compressed
    EOT Lite (uncompressed)    
    TTF (raw TrueType Fonts for screen)
    SVG (xml version)
    SVGZ (gzipped version)
    WOFF (gzipped, web only, cross-browser font)
    Nancy O.

  • On a Mac OS X version 10.4.11 and itunes 9.1.1.  Can't update to itunes 10.6Trying to get a previously purchased song.  Can't use the purchased option under quick link - nothing shows up and won't let me purchase an already purchased song.  What can I do?

    On a Mac OS X version 10.4.11 and itunes 9.1.1.  Can't update to itunes 10.6, Mac too old. Trying to get a previously purchased song.  Can't use the purchased option under quick link - nothing shows up and won't let me purchase an already purchased song.  What can I do?

    If possible you need to upgrade OS X. However, what you can upgrade to is dependent on what your Mac hardware and configuration is which you have not provided in your profile.

  • HT1338 After I installed OS X Mountain Lion system, I can't use my Safari to log into my online banking and some other websites which require passwords. Can some one please help?

    After I installed OS X Mountain Lion system, I can't use my Safari to log into my online banking and some other websites which require passwords. Can some one please help?

    It could be browser incompatibility or something else. When you say you can't log in, what happens? Is the bank website generating an error saying you're not using a supported browser? Does the login form for your bank account display as usual, but once you submit the form to log in it doesn't work? Give me a specific step-by-step of what you're doing, such as...
    1. I load bankofamerica.com
    2. I type in my login
    3. When I submit, the page does nothing
    Obviously that may not be your issue, but giving us details like that will help us come to a quicker conclusion.

  • Can I use a flash drive with my iPad?  If yes, what kind?

    Can I use a flash drive with my iPad?  If yes, what kind?

    Actually, and to clarify, the Lightning to sd card camera reader does not have a usb port in any shape.
    The Lightning to usb camera adapter is the one that has the USB port. (its an entirely different product)
    http://store.apple.com/us/product/MD821ZM/A/lightning-to-usb-camera-adapter?fnod e=3a
    The old 30 pin Camera connection kit, had a USB port adapter as well as the sd card reader in the same package.
    In any case, if the iPad you bought is an iPad 4, then no you{ll need to decide if you want an Sd card reader or the actual USB port.
    If its an iPad 2 then the camera connection kit will offer the usb port in the box.
    However as was already mentioned, and with either product you can only transfer pictures in a very specific format.

  • I dropped my phone in the water I know it's not covered with the Warranty so what can I do can I trad it in and get a new one and pay some kind of money or do I have too just buy a whole new phone?

    I dropped my phone in the water I know it's not covered with the Warranty so what can I do can I trad it in and get a new one and pay some kind of money or do I have too just buy a whole new phone?

    The genius bar folks will be glad to help...and if you have backed up your iPhone in iCloud they will restore the backup to the replacement iPhone for you while you wait.
    Call or email for an appointment, you don't want to add to your frustration by standing around waiting for someone to get free to help you.

  • How can I use Automator to open and save Word docs with links?

    Hi-
    I'm having trouble building a Workflow to open and save Word docs with links.
    My Workflow so far:
    1. Get Finder items
    2. Copy Finder items (to new folder)
    3. Rename selected items
    4. Open selected items (Word docs)
    Three problems occur.
    The first is a Word 2004 problem -- I can't get the warning "This document has links in it; do you want to open it with/without updating the links" to go away (Unilke the Macro warning toggle capability, there is nothing in the Preferences for Word 2004 that addresses the links warning, as far as I can tell; any insight you can shed on this would be terrific.)
    The second problem happens with Automator: if I manually accept the update of the first document's links, Automator opens that document but then halts completely, even though I've instructed it to open multiple documents.
    The third problem I have is that there's no Finder action in Automator that allows me to save the document that's now open (as far as I can see).
    Any suggestions for how to fix? If I can get this to work, and scheduled in iCal, it will be an unbelievable time saver.
    Thanks,
    Jeremy
    PowerPC G5   Mac OS X (10.4.6)  

    Hi there Jeremy,
    to do this you are going to have to add in some Run AppleScript steps...
    These will rely on GUI Scripting. So first you need to activate GUI Scripting.
    Now we need to add in a Run AppleScript action to the end of your workflow...
    This will replace your current number 4 in the workflow (Open Selected...)
    click here to open this script in your editor<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">on run {input, parameters}
    set allItems to every item of input
    repeat with currItem in allItems
    tell application "TextWrangler"
    open currItem
    end tell
    activate application "TextWrangler"
    tell application "System Events"
    tell process "TextWrangler"
    delay 2
    --when the Word document is opened I have told it to press okay !
    --I don't know what key you want it to press in the dialog box
    keystroke return
    delay 2
    --save the doc
    keystroke "s" using command down
    delay 5
    --close the doc
    keystroke "w" using command down
    end tell
    end tell
    end repeat
    return input
    end run</pre>
    The above script should open each Word Document, press a button in the dialog box then do a save and then close the doc...then loop through the rest of them.
    You need to replace the name Text Wrangler with Microsoft Word (or whatever it is called!), I don't have it on my Mac.
    You will have to let me know what button needs pressing in the first dialog, if it isn't the 'highlighted ' one then we will have to amend the script...
    regards
    Ric

  • Can I use automator to pull contact info from Craigslist? I am new to automator, but I am thinking it is possible for sure.

    Hello all!
    I would like to be able to reply to a large amount of Craigslist emails by pulling the contact info from Craigslist using Automator and putting the emails in a text document.
    I have Automator set to:
    1. Open Safari
    2. Open the Craigslist section an city I want.
    3. Pull a list of active listings URL'S
    Beyond that, I can not figure out how to have Automator open one page at a time and click the contact info button and then copy the  needed info into my text document.
    I can have it open all 150 links at one time.....lol but that wont work on my Macbook!!!!
    Help please!!!

    Hello
    You may try the following AppleScript script. It will ask you to choose a root folder where to start searching for *.map files and then create a CSV file named "out.csv" on desktop which you may import to Excel.
    set f to (choose folder with prompt "Choose the root folder to start searching")'s POSIX path
    if f ends with "/" then set f to f's text 1 thru -2
    do shell script "/usr/bin/perl -CSDA -w <<'EOF' - " & f's quoted form & " > ~/Desktop/out.csv
    use strict;
    use open IN => ':crlf';
    chdir $ARGV[0] or die qq($!);
    local $/ = qq(\\0);
    my @ff = map {chomp; $_} qx(find . -type f -iname '*.map' -print0);
    local $/ = qq(\\n);
    #     CSV spec
    #     - record separator is CRLF
    #     - field separator is comma
    #     - every field is quoted
    #     - text encoding is UTF-8
    local $\\ = qq(\\015\\012);    # CRLF
    local $, = qq(,);            # COMMA
    # print column header row
    my @dd = ('column 1', 'column 2', 'column 3', 'column 4', 'column 5', 'column 6');
    print map { s/\"/\"\"/og; qq(\").$_.qq(\"); } @dd;
    # print data row per each file
    while (@ff) {
        my $f = shift @ff;    # file path
        if ( ! open(IN, '<', $f) ) {
            warn qq(Failed to open $f: $!);
            next;
        $f =~ s%^.*/%%og;    # file name
        @dd = ('', $f, '', '', '', '');
        while (<IN>) {
            chomp;
            $dd[0] = \"$2/$1/$3\" if m%Link Time\\s+=\\s+([0-9]{2})/([0-9]{2})/([0-9]{4})%o;
            ($dd[2] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of CODE\\s/o;
            ($dd[3] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of DATA\\s/o;
            ($dd[4] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of XDATA\\s/o;
            ($dd[5] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of FARCODE\\s/o;
            last unless grep { /^$/ } @dd;
        close IN;
        print map { s/\"/\"\"/og; qq(\").$_.qq(\"); } @dd;
    EOF
    Hope this may help,
    H

  • How can I use automator to open terminal change directory run a python script?

    Hi all,
    I dont really ever use automator - which may be my big problem - and I am trying to make an apllication that seems fairly simple in theroy. I want something that will lunch terminal, cd to the place where my python script lives and then run it. I have tried a number of suggested ways and can get the terminal to open and the directory to change but cant figure out how to run the script. This is my workflow if i did it manually each time
    - open terminal
    - type cd "the place where my file lives"
    - type python uploadr.py -d
    I can get terminal to open then cd to the right place but cant get the "python uploadr.py -d" to run without an error.
    any help would be very appricated
    thanks!!!
    J

    this is the script I got closest with - I know its something to do with breaking those two commands up but i just dont know how to do it
    on run {input, parameters}
              tell application "Terminal"
      activate
                        if (the (count of the window) = 0) or ¬
                                  (the busy of window 1 = true) then
                                  tell application "System Events"
      keystroke "n" using command down
                                  end tell
                        end if
                        do script "cd /Users/behole/Desktop/FlickrUpload/" & "python uploadr.py -d" in window 1
              end tell
              return input
    end run
    this is the error I get in terminal after I run it
    Last login: Mon Jul 23 15:37:17 on ttys000
    be-holes-MacBook-Pro:~ behole$ cd /Users/behole/Desktop/FlickrUpload/python uploadr.py -d
    -bash: cd: /Users/behole/Desktop/FlickrUpload/python: No such file or directory
    be-holes-MacBook-Pro:~ behole$

  • How can I use automator to copy and paste excel content to a new empty document?

    Hi,
    I would like to copy and paste the content from an excel file to another empty new document using automator, which I created a workflow like below
    get specific finder item
    open excel workbook
    select cell from excel workbook (all content)
    obtain selected content from workbook
    copy to pasteboard the content of excel workbook
    close the excel workbook
    create new excel workbook
    paste copyboard content to excel workbook
    can anyone kindly suggest what's wrong with this workflow?
    Thank you so much
    Eddy
    (i know this is a number place but I couldn't find any excel seciton sorry guys...)

    now it only does one file at a time, whereas I would like to do multiple files simultaneously.
    If you try a search for "loop Automator" and also "folder actions" you may find some usable pointers on how to do that.  The first example on this page looks promising.
    SG

  • Can I use same result set for two queries?

    Hi,
    Can I use the same result set for two queries?
    For example:
    ResultSet rs = null;
    rs = ps.executeQuery(query1);
    while (rs.next()) {
    rs = ps.executeQuery(query2);
    while (rs.next()) {
    Is it OK to use? or Is there any preformance issues?
    Appreciate your help.
    Thanks in advance.
    Prasad Vagolu

    Sure. You have a variable of ResultSet type. First you create a ResultSet and assign it to that variable. Then later you create another ResultSet and assign it to that same variable. Assigning an object reference to a variable takes essentially no time, and at any rate it isn't any faster to assign it to a different variable. Also, no matter whether you use one variable or two, you are still creating two ResultSets.
    However, you really should be closing your ResultSets after you finish using them. That's nothing to do with the assigning-to-a-variable question.

  • Can i use automator with photoshop?

    I want to open a Keynote or PPT file select an image, open it in photoshop make the background transparent then save it back in Keynote. is this possible?

    Yes you can use automator with photoshop:
    You might wanna take a look at http://www.automatorworld.com/archives/photoshop-cs-automator-actions/
    But not sure if it does what you are asking for.

Maybe you are looking for

  • Can no longer import or open a rcproject in iMovie 11 (9.0.9) - the file however is still there

    Hello! I do have an urgent problem. I was working on an imovie-project. Imovie asked to create thumbnails - after that I no longer see this project in iMovie - other projects are still there. The funny thing is, that the file is still in the library

  • WLC 5508 and 5760 Compatibility

    Hi,  We have 5508 WLC and adding a new 5760.. is it possible for this 2 to be in the N+1 model? If the 5508 WLC goest down, does the AP previously associated to 5508 need to re-download the image to join 5760? Or as long as it's running within the fo

  • How do I get good DVD output from FX7 footage?

    I just videotaped a dance concert and when I transferred the video to my computer and output it to a DL DVD, the quality is nowhere near as good as a straight HDMI connection to a TV. It doesn't even look that good on the computer in Premiere element

  • No control of Aps through ITunes

    Just updated to 4.2.1 and can't manipulate aps on my iPhone 3G after synching through ITunes. The "Sync Aps" check box, the whole app list and app pages are grey (unaccessable). Rebooted phone and re-synched. Reloaded ITunes. No help. Seems like a 4.

  • Error code 4?

    I want to update my phone but ovi keeps saying error code 4 and wont work!??!! whats wrong?