Launch an AppleScript via keyboard

Is there a simple utility that will cause a keystroke (e.g. F5) to launch an AppleScript seen under the menu bar's AS icon ?
And I'm setting up a new machine and can't find the thing that puts the AS logo in the menu bar. Where is that ?

Is there a simple utility that will cause a keystroke (e.g. F5) to launch an AppleScript seen under the menu bar's AS icon ?
I use [FastScripts|http://www.red-sweater.com/fastscripts> (free for up to 10 keyboard shortcuts).
And I'm setting up a new machine and can't find the thing that puts the AS logo in the menu bar. Where is that ?
There's a "Show Script menu in menu bar" checkbox in the General panel of the AppleScript Editor's Preferences.

Similar Messages

  • InDesign CS4 launches with missing workspaces, keyboard shortcut sets, etc

    Due to the mixture of multiple issues in this thread:
    http://www.adobeforums.com/webx/.59b6c639/
    I'm starting this as a new topic to focus on the cases where InDesign CS4 users are able to launch and use the product, but are missing resources such as the following types of presets: Workspaces, Keyboard Shortcut Sets, and Swatch Libraries.
    All reports of this issue appear to be related to user permissions. For these resources to to be accessed you must be running InDesign CS4 with an account that has read/write access to the following folder, including it's subfolders and all of their content:
    C:\Program Files\Adobe\Adobe InDesign CS4\Presets
    If you have a setup where you are running into problems getting resources from this folder to appear in InDesign CS4, and you believe your user account has read/write permissions to all of it's contents, please let me know as I'd like to work with you to find a solution.

    The complete fix from start to finish for my problem (InDesign CS4 launching without toolbars or keyboard shortcuts when logged on without Administrator priviliges) is below.  It's actually quite simple once you know how... The problem is just getting all of the information in the same place.  Hopefully it will help others having the same problem.
    1.        Install CS4 from the 2 installation CDs.  Allow a couple of hours from start to finish.
    2.        Log on with an Administrator account:
    a.        Navigate to “C:\Program Files\Adobe\”. 
    b.        Right-click on the folder named “Adobe InDesign CS4”
    c.        Click Properties 
    d.        Click on the Security tab
    e.        Change permissions for Users to Full Control 
    f.         Click on the Advanced button and ensure that there is a check in both of the boxes (inherit and replace permissions). 
    g.        Click Apply to reflow the permissions
    h.        Click OK twice. 
    3.        Navigate to the following locations and rename each of the EN_UK folders to EN_US:
    a.        C:\Program Files\Adobe\Adobe InDesign CS4\Presets\InDesign Workspaces\
    b.        C:\Program Files\Adobe\Adobe InDesign CS4\Presets\Page Sizes\
    c.        C:\Program Files\Adobe\Adobe InDesign CS4\Presets\Start Page\
    d.        C:\Program Files\Adobe\Adobe InDesign CS4\Presets\InDesign Shortcut Sets\
    4.        With a user account, launch Adobe InDesign CS4 and immediately hold down Shift, Control and Alt together.  Click Yes to delete the InDesign Preference files.

  • Is it possible to control the cursor of a XY-graph via Keyboard and read the y value of the curser x-position?

    I have following problem when I control the cursor via an attribute note, it is neccersary to free the cursor, but then it is not possible to read the y-Value of the cursor position. I want to control the cursor via keyboard and buttons, but with the funtionality of attribute setting "cursor fixed to plot".

    You know the X position so just read the Y value by reading it straight from the Y array instead of from a property node...
    Alternatively unlock the cursor if the position control has changed...and lock it again if it is constant for n milliseconds; to produce the Y value from the Y property.
    MTO

  • Launching JVM 1_4 via c++

    Hai Friends,
    Can any one help me in launching JVM 1_4 via c++ code? A sample code wolud be ver ymuch helpful.
    Thanks In Advance,
    Have mo'e fun,
    Ge

    When you launch java you need to specify a main() to start.
    If there is not a main which does what you need you can create one fairly easily.
    public class MyStarup {
       public static void main(String[] args) {
          theMethodToCall(args);
    }

  • Summoning xfce4 panel plugin via keyboard.

    I am a xfce4 user. And I like this desktop system, but I can't summon the panel plugins, in particular the clipboard one, via keyboard.
    Does someone know how to?
    Thanks

    xo3e wrote:I tried to remove and add the xfce4-xkb-plugin (as SoK0LiK suggested), I even reinstalled it, but it helped just for one XFce session, then it went wrong again. However, I doubt it is the plugin's fault.
    As I suspected - neither it survived a session on my machine.
    xo3e wrote:The problem occured after i updated glibc (2.7-4 -> 2.7-5) and xorg-server (1.4-4 -> 1.4-5).
    Thanks for great hint! I did an upgrade of glibc as well, just could not remember it :-) Now we can suspect locale settings is somehow messed in newest glibc and newest xserver can't handle it. I'll try to find some info about it when I come back since right now I've gotta go.
    xo3e wrote:I'm experiencing very similar problem: the panel plugin refuses to show a flag (or even a name) for my alternate keyboard layout and displays "(null)" instead. My "alts_toggle" bothers me as well, as it switches from "us" to "cz" properly, but returns to default after pressing just one ALT key.
    I use this settings:
    Section "InputDevice"
    Identifier "Keyboard[0]"
    Driver "kbd"
    Option "Protocol" "Standard"
    Option "XkbLayout" "us,cz"
    Option "XkbModel" "pc104"
    Option "XkbOptions" "grp:alt_caps_toggle,grp:switch,grp_led:scroll"
    Option "XkbRules" "xorg"
    EndSection
    and toggling/switching works fine (i.e. it does not act weird in any way). Just the xfce-xkb-plugin shows (null) instead of Czech flag (or name) and won't remember per-window settings.
    There is already a bugreport in flyspray but it's been closed for some reason. I've requestet reopening.
    m.

  • External Hard Drive Suddenly won't mount except if connected via keyboard

    Hi there guys. I have a generic USB 2.0 Hard drive enclosure that I've been using successfully with my Macs. Today it doesn't work, on any of them.
    I connect it via USB to the back of my iMac, and it will not mount. I checked system information, and it finds: (under USB)
    - USB 2.0 Storage Device
    And it knows this:
    USB 2.0 Storage Device:
    Version: 1.03
    Bus Power (mA): 500
    Speed: Up to 480 Mb/sec
    Product ID: 0x5621
    Serial Number: 00042222200000157768
    Vendor ID: 0x0402
    If I plug the hard drive in through my Apple keyboard, it mounts fine, but is SUPER slow, like completely unusable. However in this case, system information says:
    USB 2.0 Storage Device:
    Capacity: 189.92 GB
    Removable Media: Yes
    Detachable Drive: Yes
    BSD Name: disk1
    Version: 1.03
    Bus Power (mA): 100
    Speed: Up to 12 Mb/sec
    OS9 Drivers: No
    Product ID: 0x5621
    Serial Number: 00042222200000157768
    S.M.A.R.T. status: Not Supported
    Vendor ID: 0x0402
    Volumes:
    Backup Disk:
    Capacity: 189.8 GB
    Available: 44.78 GB
    Writable: Yes
    File System: Journaled HFS+
    BSD Name: disk1s3
    Mount Point: /Volumes/Backup Disk
    So.. yeah. I've got important data on this drive, and I seriously have no idea what to do. I've read a few forum posts around the web and have seen similar problems but not solutions posted. Can anyone help?
    What should I try?
    -Brian

    One last question have you tried theMac OS X 10.4.10 Combo Update v1.1 (Intel)
    Note: What’s New in this Version
    The 10.4.10 Update is recommended for PowerPC and Intel-based Mac computers currently running Mac OS X Tiger. This update includes general operating system fixes, as well as specific fixes or compatibility updates for the following applications and technologies:
    - RAW camera support
    - Mounting and unmounting external USB devices
    - Support for 3rd party software applications
    - Security updates
    17" iMac Intel Core Duo - 2GB Ram -   Mac OS X (10.4.10)   - Maxtor 300GB FireWire - Creative Inspire 2.1 - 2G Nano

  • Uploading a File with AppleScript via JavaScript

    Hi everybody,
    being new to AppleScripting and JavaScripting I'm faced with the following problem:
    Is it possible to make AppleScript to input the path for a file to be uploaded via JavaScript? If yes, what should be the correct Path Format and how to wrap it up the JavaScript action into AppleScript? I've tried a few comands but to no success.
    On the webpage in question, there's a "Choose" button, that is defined as follows:
    <input type=​"file" class=​"gwt-FileUpload" name=​"swfFile">​
    I've been trying to use the following syntax:
    do JavaScript "document.getElementsByName('swfFile')[0].value('Macintosh HD:Users:myaccount:Desktop:Scrapbook:!动画.swf')" in document 1
    as well as this one, where the Path is definitelly understood by shellscript:
    do JavaScript "document.getElementsByName('swfFile')[0].value('/Users/myaccount/Desktop/Scrap book/!动画.swf')" in document 1
    The name of the file is (and must remain) in chinese, but for testing purposes I have also tried files with english names, without success.
    Currently I'm using a solution with JavaScript comand:
    do JavaScript "document.getElementsByName('swfFile')[0].click()" in document 1
    to click the finder  window to browse for the file, and manipulating  keystrokes by using System Events to find the right file, but it's not  infallible with a number of files and it's hardly an ellegant sollution.
    Any idea what I'm doing wrong?
    Cheers!

    @twtwtw
    the do JavaScript "document.forms[0].submit()" command didn't work, so I kept the original way of submitting by clicking the button. The submitting part works, but not the input file part.
    That's the code I used
        tell application "Safari"
            do JavaScript "document.getElementById('gwt-uid-13').value='on'" in document 1
            do JavaScript "document.forms[0].elements['swfFile'].value=" & "'" & SWFFilePath & "'" in document 1
            do JavaScript "document.getElementsByClassName('gwt-SubmitButton')[0].click()" in document 1  
            delay 1
        end tell
    with SWFFilePath set as the POSIX path as well as the default file format
    Macintosh HD:Users:myaccount:Desktop:Scrapbook:!动画.swf'
    but it did not work.
    If you've got the time, feel free to upload an .swf. The service is free and the server delats uploaded files after 15 min. (if you don't have any, you may try an empty .txt file instead - it won't get converted, but the point is just to get it into the input box).
    In the meantime, I'll have a look at adayzdone's suggestion. It's not perfect (the downside being that it requires the window to be active, so I can't run the script in the background or with my screensaver & password on), but it's still more reliable than my sollution with navigating arrowkeyes.

  • Mountain Lion Calendar won't launch my Applescript

    I've just upgraded to Mountain Lion and find that my previously automatically launched Applescripts, open but do not run.
    In 10.6, to run scripts unattended, I just created an Ical event with an alert that ran the script.
    This event was saved in the upgrade. My script still works, but now Calendar just *opens* the script. It doesn't run it.
    So where are you supposed to schedule things like this in Mountain Lion?
    For those who care - what the script does is copy text from a Safari page and save it to a text file.
    I need it to run every half hour.
    It doesn't run anymore, unless I am there to click the "run" button when calendar opens the script.

    Problem solved with thread titled (re)Enable iCalendar ability to execute AppleScript

  • Launch remote control via a command line?

    Is is possible to launch a remote control session via a command line as well
    as the other "remote actions"?
    Thanks,
    Bryan

    On Wed, 29 Sep 2004 22:25:17 GMT, Bryan Miller wrote:
    > Is is possible to launch a remote control session via a command line as well
    > as the other "remote actions"?
    take a look at the online documentation which describes this..
    Marcus Breiden
    Please change -- to - to mail me.
    The content of this mail is my private and personal opinion.
    http://www.edu-magic.net

  • Adobe apps fail to launch after copying via ARD 3

    For several years we have beeen updating our Adobe apps by updating our master image and copying (via ARD v.1, then v.2, now v. 3) the applications and the associated Application Support files to the target machines. (300 Macs running Tiger) Since upgrading to version 3 of ARD. Adobe apps fail to launch after they are replaced, even with the old files.
    I found a post alluding to a known issue with Acrobat from June. It stated it was a known bug that engineering was aware of. THAT was the only mention I could find. Does anyone know anything more about this? This is critical for our publishing workflow - Adobe has two updates that affect us in critical areas that we need to implement, but are reluctant to visit 300 individual desktops (even remotely) and run individual install patches.
    The silent install works great for installation, but does not address updates.
    Anyone?
    Mac OS X (10.4.7)
      Mac OS X (10.4.7)  

    Just FYI. I only had problems with InDesign not launching but this was a know issue with Adobe:
    http://www.adobe.com/support/techdocs/331578.html

  • HttpServer error in reading buffer size via keyboard input - HELP

    I've written a simple HttpServer program that reads keyboard input to construct a buffer to copy the requested file into the socket's output stream. I've done the string-to-integer conversion using BufferedReader and parse.Int. However, when I go to use the int later in the program, I keep getting the message "variable b may not have been initialized." Can anyone tell me what's missing from the code below? Thanks.
    private static void sendBytes(FileInputStream fis, OutputStream os)throws Exception
         //Construct a buffer via console input
         BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
         String str;
         int b;
              System.out.println("Enter desired buffer size or CTRL-C to break.");
         //Convert entry to an integer
         do
              str = br.readLine();
                 try
                   b = Integer.parseInt(str);
              catch(NumberFormatException e)
                   System.out.println("Invalid entry.");
         while((str=br.readLine())!=null);
         //Construct a buffer
         byte[] buffer = new byte;
         int bytes = 0;
         //Begin timing HTML page delivery
         long start, end;
              System.out.println("Timing for Web page delivery");
         start = System.currentTimeMillis();
         //Copy requested file into the socket's output stream
              while((bytes = fis.read(buffer)) != -1)
              os.write(buffer, 0, bytes);

    As the message suggests, what is missing is code to initialize the variable b. The first mention ("int b;") does not initialize it. The second mention ("b = Integer.parseInt(str);") only initializes it if no exception is thrown. So it's possible for b to be uninitialized when you actually try to use it.
    What do you need to change? First you need to decide what's to be done if the keyboard input isn't a valid integer. Do you have a default value in mind? If so, put that where you declare the variable ("int b = 42;"). If not, just initialize the variable to zero ("int b = 0;").

  • Logic symbols in math and philosophy (via keyboard app)

    Hello friends,
    I want a keyboard via an  app that allows me to input logic symbols. Like in math or philosophy. Symbols such as therefore, since, causation etc. what app would provide this?
    When I google this, I get logic pro or logic express for iPad. What is this?

    tridentinecanon wrote:
    I noticed MS Word has a dedicated panel for this. 
    Are you referring to Insert > Symbol?  Why is Character Viewer worse than that?  Aren't they essentially the same thing?
    In Word, under the Document Elements toolbar, there is an option to insert equations.  What's nice about this is that it makes all the math symbols available for selection right in the toolbar.
    I don't consider them the same mainly because the Character Viewer is in a separate window.

  • How to launch IE window via SCCM 2012 R2

    Hi,
    we need to open / launch Internet Explorer windows at a specific time everyday on the computers of a specific collection.
    How it could be achieved? Is this possible via SCCM? or it could be done via GP? What is recommended? Or with MS Orch? 
    Please assist.
    Regards, Syed Fahad Ali

    You could do this with ConfigMgr ...
    You can launch IE like this %programfiles%\Internet Explorer\IEXPLORE.EXE http://www.cnn.com
    Just create a batch file with all pages you'd like to open and deploy it with ConfigMgr.
    If timing is an issue ... you'd probably be better of with a scheduled task (which you can also implement using ConfigMgr).
    Tim | Blog |
    @Tim_DK

  • How to skip a few seconds via keyboard?

    I play audio using a laptop and itunes (windows) in my car, and I am used to a feature in winamp that allowed me to press my left/right arrow keys on the keyboard to move through the audio 10 seconds at a time -- is there a way to do this in itunes? I found an applescript for mac to do this, but of course this is windows...

    Ok, I came up with a solution myself - I used a program called 'autoit' http://www.autoitscript.com/autoit3/ , and created a script that runs in the background looking for the arrow keys on the keyboard to be pressed - if up is pressed, it plays, if down is pressed it pauses, if right is pressed it fast forwards about 5-7 seconds, if left is pressed it rewinds 5-7 seconds -- it is not a perfect solution, but it works for me... the autoit script uses wscript (built into windows xp) to run a vbs that I found here: www.maximized.com/freeware/scriptsforitunes/
    So create a folder, put all the .vbs scripts in it from that url, then create a .au3 file (autoit script) with a text editor such as notepad, in the folder, and put in the script below, and save. If autoit is installed properly you can right click the .au3 file you created/saved and choose compile. Now you have an exe that you can double click, and your arrow keys should work!:
    Global $Paused
    HotKeySet("{RIGHT}", "DoFastForward")
    HotKeySet("{LEFT}", "DoRewind")
    HotKeySet("{UP}", "DoPlay")
    HotKeySet("{DOWN}", "DoPause")
    While 1
    Sleep(100)
    WEnd
    Func DoPlay()
    Run("wscript.exe Play.vbs")
    EndFunc
    Func DoPause()
    Run("wscript.exe Pause.vbs")
    EndFunc
    Func DoFastForward()
    Run("wscript.exe FastForward.vbs")
    Sleep(100)
    Run("wscript.exe Play.vbs")
    EndFunc
    Func DoRewind()
    Run("wscript.exe Rewind.vbs")
    Sleep(100)
    Run("wscript.exe Play.vbs")
    EndFunc

  • Launching an app via system exec behaves differently to launching it outside LabVIEW

    Hi,
    My problem is as follows:
    I am trying to write some code to communicate with an Anritsu unit (MT1810A chassis with MU181020A plug-ins) via ethernet.  Anritsu supply a standalone app to control this instrument (MX180000A.exe) which gives comprehensive control over the setup & config of the instrument.
    I want to control this unit via LV however without recourse to their program.
    The only time that either MAX or LV seem to be able to successfully communicate with the unit is when the supplied Anritsu app is running.  Not only that, the app must be opened manually, ie by clicking on the exe (or selecting it from the Start --> Programs etc menu) or using cmd prompt with exe path.  Once the app has been started this way, MAX can talk to the unit and any LV code executes without error.
    If however I use the system exec vi within LV to launch the Anritsu app, the app opens as normal, is able to control the unit however MAX now has an exclamation mark on the VISA resource - status shown as:
    VISA returned this static device when finding resources, and MAX could use VISA to parse the resource name. MAX could not succesfully open a VISA session to the device.
    and it can no longer talk to the unit.  In addition any LV code now generates the following error when trying to open a VISA connection to the unit:
    Error -1073807343 occurred at VISA Open in BER Initialize.vi
    Possible reason(s):
    VISA:  (Hex 0xBFFF0011) Insufficient location information or the device or resource is not present in the system.
    So, getting to the point -
    - Why the difference in behaviour depending on how the app has been opened?
    (oh and of course, how do I fix it? )
    Regards
    Andy
    System is running XP, LV version 8.5, VISA 4.2
    Unit needs to be added to MAX using manual entry of raw socket, ie
    TCPIP0::192.168.1.21::5001:OCKET
    There are 2 network cards in the PC.  The unit is connected to card 2 which has been specified as the default in the network control panel.

    Hi,
    Here is a KnowledgeBase article that might help concerning the error you're receiving. Do you see this behavior on multiple PCs as well?
    Amanda Howard
    Americas Services and Support Recruiting Manager
    National Instruments

Maybe you are looking for

  • Is possible to save the user that uses the download action in an interactive report.

    Hi, In my application I want to save who is downloading the interactive reports information in any format, is it possible? Regards

  • Clearing customer & vendor

    Hello, We have customer & vendor to be cleared against each other.There is document splitting  at Business area & PC level. If the BA is is same - it clears.But If business area is different, there is an issue-It asks for profit center. How do we han

  • Google docs applications

    Does anyone have any experience/views on the various apps which offer editing and syncing with google documents? there is very little user feedback on the appstore pages. I would like the ability to do simple text editing on existing documents on the

  • Generate image assets "default" does not work in CC but does in CC 2014

    When I use "default -this" in a layer in photoshop cc it does not change the file names. In CC 2014 the same file works as expect.

  • Apple TV-doesn't support Netflix

    My Apple TV [purchased in 2008] does not support Netflix ...  [only shows youtube and radio under internet options] ... it says my software is up to date when I try to update ... is there anything I can do?