Script works in Word 2008 but can't assign keyboard shortcut

Since I must have emacs keystrokes on those fortunately rare occasions when I have to use Word 2008, and because there is no explicit "delete character" command in Word (since there's already a built in keystroke for it, presumably) I've written a simple script that activates the delete key:
tell application "System Events"
tell application "Microsoft Word" to activate
key code 117
end tell
I have put this in ~/Documents/Microsoft User Data/Word Script Menu Items so that it shows up in the script menu in Word. If I select the script from the menu via the mouse, it works just fine and deletes the character to the right of the cursor. However, if I try to assign a Word-specific keyboard shortcut (the usual emacs keystroke Ctrl-d, of course) using the Keyboard & Mouse preference pane to this macro it simply doesn't work. "^D" shows up next to the name of the script in the Word script menu, so the shortcut appears to be registering, and the little script menubar icon even flashes blue when I hit Ctrl-d, but nothing happens; the script just does not seem to run.
Any help appreciated. I really need to have this keystroke to be able to use Word and remain reasonably happy about it.
-TXLogic

Follow up: My Word-specific shortcut seems to work the *first time* I use it after bringing up a document. Thereafter it fails. Thanks.
-TXLogic

Similar Messages

  • I can print word documents but can not print email messages

    i can print word documents but can not print email messages
    I am using an officejet 4500 wireless on  Windows 7

    I called HP and after being on the phone for 1 1/2 hrs  They reinstalled my printer and I printed an alignment page without then I tried to print arouble  I was also able to scan a page to HP.      When I tried to print something from my email  it barely printed 2 faded lines and that was it  I openrd my word documents and was able to print a clear copy.  HP told me my cartrige was empty so I changed my cartridge with no results it was the same.  I use refill  CATRIDGES AND NEVER HAD ANY PROBLEMS but they told me they can ruin a printer.  I told them I would purchease new HP cartridges and they we agreed they would call me back on Monday to determine if my problems were solved with the new cartridges.  What I don't understand is how I can print documents but not emails.   HELP

  • How to switch from a word doc to another using a keyboard shortcut?

    how to switch from a word doc to another using a keyboard shortcut?

    Cmd+tilde to switch between open Word documents, or
    Cmd+tab to switch between open applications, if that's what you are after?

  • Short, basic VB script works on 2003 Server but not on 2012 R2 server

    Hello all,
    Hopefully I'm posting this in the right place. I have a legacy VB script that I need to keep, but I'm having trouble getting it to work on Server 2012 R2.
    The script reads a file called "Test.txt" that contains the following string:
    String1|String2
    Part of the VB script is to read this "Test.txt" file and parse this line into 2 separate elements based upon the "|" delimeter:
    On Error Resume Next
    Dim FSI, inputFile, String, f, WshShell,WshNetwork, WshFSO, StringArray
    inputFile = "Test.txt"
    CONST ForReading = 1, ForWriting = 2, ForAppending = 8
    Set FSI = CreateObject("Scripting.FileSystemObject")
    Set f = FSI.OpenTextFile(inputFile, ForReading, True)
    Set WshShell=WScript.CreateObject("WScript.Shell")
    '********* Read the file ********
    String = f.ReadLine
    msgbox("String: "&string)
    '********* Split the line *******
    StringArray = Split(String,"|", -1, 1)
    msgbox("stringarray(0): "&stringarray(0))
    msgbox("stringarray(1): "&stringarray(1))
    The variables in this script when ran on Server 2003 are:
    string = String1|String2
    stringarray(0) = String1
    stringarray(1) = String2
    So this script parses the String1|String2 line perfectly on Server 2003. However, running this same VB script on Server 2012 R2 results in very strange output:
    The variables in this script when ran on Server 2012 R2 are:
    string = ӱƥt
    stringarray(0) = ӱƥt
    stringarray(1) =
    Is there anything on Server 2012 R2 that I need to install to get this to work in VB, or what is the issue with Server 2012 R2 and visual basic? I'd LOVE to redo this in PowerShell but I need to keep it Visual Basic for legacy reasons for a few more months.

    Hmm interesting. I tried using the 3 different "format" parameters for the OpenTextFile method, and none of them worked on Server 2012 R2:
    http://msdn.microsoft.com/en-us/library/aa265347(v=vs.60).aspx
    However, I copied the text file directly from the 2003 server and placed it on the 2012 R2 server, and then the script worked great!
    Thanks for steering me in the right direction Bill!

  • Why does my sound not work to watch movies but can here itunes and utube

    Can some one please advsie what i need to do, as i have no sound when watching a movie but can play my itunes and listen to utube shows.
    I beleive i have checked everthing with the apple manula and tv manual.  TV is only a yr old.  do i need an optical sound cord.  It just dosnt make senese i can hear everything else besides the movies
    Thanks

    Weird.
    If you haven't done so, ensure AppleTV has latest software update (4.4.3) and also restart it by unplugging the power cord.
    There are some other options to check later.
    AC

  • I can`t do an @ sign on the internet however it works in Word etc, What can I do apart from copy and paste

    Any time I am on the internet I can`t use the @ key I get " instead. Any time I need an @ I open work use the @ (2) key and paste it in. PLease help

    Windows remembers the keyboard layout setting per application and you may have changed the keyboard layout by accident via a keyboard shortcut.
    See:
    * http://windows.microsoft.com/en-US/windows-vista/The-Language-bar-overview - The Language bar (overview)
    * Make sure that you have the Language bar visible on the Windows Taskbar.
    * You can do that via the right-click context menu of the Taskbar: Toolbars > Language Bar.
    * Check the keyboard language (keyboard layout) setting for the application that has focus via the icon on the Language bar.
    * You need to do that while Firefox has focus because Windows remembers the keyboard layout setting per application.
    * The default keys to rotate the layout is a combination (Ctrl+Shift or Alt+Shift) that can easily be used in Firefox to activate a menu item.
    * To avoid an unintentional switch assign a specific key sequence (Alt/Ctrl+Shift+number) to select keyboard layouts and remove the key combination to rotate layouts (Alt+Shift or Ctrl+Shift)
    * Control Panel > Regional and Language Options > Keyboards and Languages > Change keyboards > Advanced key settings > Change key sequence
    http://support.microsoft.com/kb/258824 - How to change your keyboard layout

  • Can't get keyboard shortcut to work

    Hello all,
    I am using Illustrator CS5 and the shortcut for "Show Grid" is Ctrl + "
    My problem is that the " key needs me to hold shift to access it (Quebecer layout, it's on the "2" key. i.e. I need to press Shift + 2 to get the ")
    when I try Ctrl + shift + 2 it doesn't show the grid.
    How to get the grid to appear without having to go through the menus each time?
    thanks a lot

    Even though it show CMD" the shortcut is really CMD' (single quote or the same key without shift, Adobe has it wrong in the pull down menu but might be easier for people to find so no harm done), you can edit >> keybaord shortcuts to check.
    Check your keyboard shortcuts, and I am guessing your keyboard is set to a Canadian English or French correct?

  • Can't change keyboard shortcuts

    I have the newest macbook pro with 10.9.5 , and I cannot change the keyboard shortcuts. I want to make "show the desktop" F7, when I click it and type the f7 key nothing happens. tks

    Thanks Eric,
    Not clicking in the window where the insertion point is but just typing worked. If you click in the window where the insertion point is you can't enter anything.
    I know of no other place in the Mac OS or any application that they have ever come out with that works this way. It's the little inconsistencies like this that I'm seeing more and more crop up in every new OS release.

  • Can't map keyboard shortcuts in Dreamweaver CS6 (Mac)

    I am trying to modify the keyboard shortcuts in Dreamweaver CS6 on Mac to match the mappings I had for CS5.
    I used Ctrl + Tab and Ctrl + Shift + Tab to switch between open documents. When I trry to set this in the Keyboard Shortcuts dialog it ignores my input. I tried to modify it in menu.xml (which already had this set, presumably because it copied it from CS5), but it still doesn't appear in the Keyboard Shortcuts dialog or work when I press the keys.

    I've just done some testing, and can confirm that Dreamweaver CS5.5 on a Mac (UK keyboard) allows you to assign Ctrl+Tab to that keyboard shortcut. But it won't accept it on Dreamweaver CS6.
    I've no idea why that should be so. It's probably an internal change to something else that has affected it, and nobody noticed during testing because it's not common to change an existing keyboard shortcut to something else.
    I suggest that you file a bug report through the form at https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform. Reports filed through that form go directly to the program team.
    I can understand your frustration, but please remember that most of the people answering questions here, including myself, are not Adobe employees.

  • How can we disable keyboard shortcuts on webpages?

    I am using the add-on firemacs, which allows us to edit text with emacs key-bindings.
    The problem is: some key-bindings (set by firemacs) are overwritten at several webpages (e.g. Evernote and StackExchange).
    For example, Ctrl-b moves normally the text cursor to the previous character in a textarea. But in the textarea at any site of StackExchange, Ctrl-b creates `**strong text**`.
    Is it possible to disable keyboard shortcuts without disabling shortcuts for firemacs?
    The trivial solution is to disable JavaScript. But I want to know a possibility of other solutions.

    StackExchange links to a bunch of other sites, so I looked at the superuser.com site. The specific script that creates the interactive features of the editor is http://cdn.sstatic.net/Js/wmd.en.js. It's minified so I can't figure out the call needed to remove the keypress event listener. (Actually, I'm not sure I could figure it out even with the full source, as I don't use jQuery.) Maybe it's a question for StackOverflow?

  • Can`t find keyboard shortcuts in EN_GB cs5 folder for AI.

    normally the keyboard shortcuts save to this folder EN_GB for CS5 AI.. as a file named KBSC KYS file.
    I cant locate it now either in the cs5 or cs4 directory which used to have the same...
    any ideas where its gone?

    I think I found it, its no longer titled KBSC but the icon reads "prefs" and grey text  "adobe premiere keys" for some reason..
    there are the "illustrator defaults", and my custom shortcuts titled "marks",
    I dont know why the icon title has changed though, for CS4, perhaps this happened when I installed the upgrade for CS5, can`t think of any other reason.
    as its the same in the CS5 en_GB folder.
    When I pasted the CS4 "marks" into the CS5 en_GB folder, they worked as my shortcuts in Ai CS5...

  • How can I see all the assigned keyboard shortcuts, including those from my installed add-ons?

    I was looking at an add-on screenshot and noticed the invocation of an option is through Ctrl-Shift-H, however it's Ctrl-Shift-K on my system. The add-on has no options (it's the Element Hiding Helper for Adblock Plus) so I can't set that keyboard shortcut. So I am curious as to all the keyboard shortcuts on my system, including which one has Ctrl-Shift-H.

    Im sorry to revive this, but i didnt want to create another topic for this.
    Anyway, is there a working version of keyconfig for FF4? Firefox 4 is almost released yet this addon isnt working and its a 'key feature' thats missing.

  • Can you create keyboard shortcuts to open applications?

    Hi everyone,
    I have been trying to create some keyboard shortcuts to open individual applications but they haven't been working. For example, to open up iTunes, I assigned Command+i. But I'm starting to think this isn't possible in OS X. Is this true? Any suggestions on how to accomplish this?
    Thanks,
    Dustin

    The Apple Help for Keyboard Shortcuts in "System Preferences" (the Question Mark "?" down at the bottom) says the following: "Note: You can create keyboard shortcuts only for existing menu commands. You cannot define keyboard shortcuts for general purpose tasks such as opening an application or switching between applications."
    I use a program called "Quicksilver" from blacktree.com . It is not easy to get used to, but it is quite powerful. To open a program (once Quicksilver is installed properly), you can either set a keyboard shortcut such as "Control-i" (or whatever you want), or use their universal opener "Control-space" and type the first letter or two of the application you want to open and then hit or type open.
    My favorite feature of Quicksilver so far is the ability to recover easily any number of previous copies to your clipboard. How many times have I copied something and then before pasting it copied something else by mistake and lost the first thing I copied?!? Quicksilver lets me hit "Control-space" and then open a clipboard history window and scroll down to whatever I want to paste (I have it set for 100 items, pretty excessive, I know!). Cheers!

  • In full screen mode how can i use keyboard shortcut just like

    recently i used adobe cs 5.1 version and some problem are there which problem was not in cs 3 and cs 4 in advance version why this problem kindly tell me the solve which may be i dont know
    my problem is, in photoshop  3 screen mode are there 1-standard screen mode, 2- full screen mode with menu bar  and 3- full screen mode
    in 3- full screen mode ---- in this view window how can i go to image-adjustments-brightness/contrast  through using only keyboard shortcuts just like ALT+I then A then C = brightness/contrast menu will come
             any body please solve my problem
         thank U very much

    Chris, he means the windows-only ALT+letters shortcuts, not brightness contrast in particular.
    RA, this is your third thread on the topic, please do not create multiple threads...
    http://forums.adobe.com/thread/957264
    and http://forums.adobe.com/thread/957168

  • Hello Sir. This Is Nilesh B.Desai From India. Our Clients Need is Picture Should Not Be Download So How Can We Disable Keyboard Shortcut For That Website Only.

    Hello...
    We are In the Business Of developing Website and Software.. We Are facing A problem Regarding Download. Our Clients need is not to download or print a single picture from website. so need help how can i disable download or print by using keyboard or with use of mouse.. so need to block all keyboard shortcut for such website only.. so if it is possible then please help us. we will great thankful to you..
    thanking You.
    Nilesh Desai
    Marketing Executive
    WiseCom Technologies Pvt.Ltd.
    Amadpore , Navsari, India

    No, Firefox is user choice rules over the "wants" of individual websites as far as disabling contextual menus and the keyboard commands.
    Placing a transparent image over the image will keep the less technical user from saving the main image. If they do try to save it all they'll get is the transparent image overlay.

Maybe you are looking for

  • Purchase Limitation in US Apple Stores?

    Anyone know about Purchase Limitations in Apple Stores? And will Apple Stores do family plans?

  • Problem with converting

    Everytime I convert a PDF to word or excel, it looks like a foreign language. What's going on?

  • How can I run a LabVIEW app as a service in 8.2

    I have need to run a LabVIEW created Executable as a Service using LabVIEW 8.2. I have heard 8.2 can host it but I cannot find any docs on this. Any help would be appreciated. SvcAny was not an option that worked.

  • Java on Background

    How can I run a background java program in a Windows NT/2000 OS ?? I want to run this program like a Windows NT Service, but not necessary these program should be. Thanks, /jcf

  • My Microphone is not working in Facetime (iPad2)

    The microphone is not working when i use various applications on my iPad2, i am not sure if it happens when i upgrade the IOS to the latest version. Is there someone with the same issue as mine? Pls. help. Facetime is useless without the microphone..