Results 1 to 7 of 7

Thread: Add applescript to command + v to clear clipboard

  1. #1
    Join Date
    Mar 2010
    Posts
    162

    Add applescript to command + v to clear clipboard

    I need some help with AppleScript to clear the clipboard. I am creating a script in applescript course that will allow me to automatically change the icon of a folder. the othern thing for which I am working is clearning the clib board via Applescript. But there the same is not worknig. I am new to applescript and I was working on the same with the help of some tutorial. What more I can do in this. Thanks.

  2. #2
    Join Date
    Nov 2009
    Posts
    758

    Re: Add applescript to command + v to clear clipboard

    It is possible to control multiple applications, local or remote, or both, in a single script. A script can send instructions to an application, get back data, then transfer to one or several different applications of the first. For example, a script can collect data in a database and then copy them into a spreadsheet. It is not quiet easy to create a script for the same it is best possbile that you must download some automated script.

  3. #3
    Join Date
    Nov 2009
    Posts
    792

    Re: Add applescript to command + v to clear clipboard

    Usually you can clear that out from the Clipboard viewer. You can run the same from the finder. In the same a script can use an application to perform an action on data from another application. For example, suppose a word processor includes a spelling checker and incorporates an AppleScript command dedicated to this task, as Check Spelling in the application AppleWorks.

  4. #4
    Join Date
    Nov 2009
    Posts
    865

    Re: Add applescript to command + v to clear clipboard

    A controllable application is an application that can meet one or more AppleScript commands. All applications are not controllable and some support only a limited number of AppleScript commands, such as Open or Quit. To determine if an application is controllable or not, you can try to read his dictionary with the Script Editor application. Application Scripting Editor is provided automatically with Mac OS, it enables the creation, compilation, testing and modifying scripts.

  5. #5
    Join Date
    Nov 2009
    Posts
    687

    Re: Add applescript to command + v to clear clipboard

    Some applications are also memorable controllable that means you can use Script Editor to record the actions performed in the application, as with macros. Finally, some applications are also attachable. A dockable application is an application that can be customized by attaching scripts to objects of this specific application, such as buttons or menus. The scripts are then triggered by a user action, such as choosing the menu or by clicking the button associated with the script.

  6. #6
    Join Date
    Nov 2009
    Posts
    824

    Re: Add applescript to command + v to clear clipboard

    AppleScript works by sending messages, called Apple events, applications. When you write a script, you write one or more groups of instructions. When running the script, instructions are sent to the AppleScript extension, which interprets them and sends Apple Events to, or applications involved. The target application then responds to Apple events by performing the requested actions, such as insert text, extract a value or open a document.

  7. #7
    Join Date
    Apr 2009
    Posts
    1,107

    Re: Add applescript to command + v to clear clipboard

    AppleScript is a scripting language to automate a series of tasks on your computer to directly control applications. Instead of using mouse, keyboard or other device for manipulating menus, buttons etc, you can create a set of instructions known as scripts to automate repetitive tasks, customize applications. One of those strengths is its ability to send commands to objects of different purposes, including the Finder, or parts of the system software as a scoreboard. You might need to collect some aumated codes for the same that will help you out.

Similar Threads

  1. Clear the history command in Linux
    By Dumpkin in forum Operating Systems
    Replies: 3
    Last Post: 10-11-2010, 10:33 PM
  2. Applescript to Copy from Clipboard to Terminal
    By Jensen Ackles in forum Operating Systems
    Replies: 6
    Last Post: 31-07-2010, 06:05 AM
  3. How to clear the Clipboard using VB?
    By Leoniee in forum Software Development
    Replies: 5
    Last Post: 27-02-2010, 12:55 AM
  4. What is the clipboard command of cmd
    By Abhibhava in forum Windows Software
    Replies: 5
    Last Post: 26-01-2010, 12:55 AM
  5. Clear Clipboard for Vista
    By Kurtz in forum Windows Software
    Replies: 3
    Last Post: 29-05-2009, 08:59 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,279,399.84711 seconds with 17 queries