Script to Hide Speech Commands

Alright...I know close to nothing about writing scripts. I just made one to hide Mail when I have it set to start at log-in (apparently this is a popular bug people have worked on getting around). Now, I also have Speech Commands (from System Preferences) set to start when I start my computer, and along the same lines as Mail, I was wondering if I could start it without having the circular icon come up. In other words, can I write a script to have it automatically hide instead of me having to hide it b y double clicking on it? I tried to edit the script I was using to close the window for Mail so that it would work on the Speech Commands icon, but it doesn't. The speech thing isn't quite an application like Mail is, so I guess you can't just tell it to close the front window. If someone could show me what to write as the script, I would really appreciate it. Thank you.

To hide the window completely use…
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">tell application "System Events"
tell process "Speech Feedback Server"
set value of attribute "AXHidden" to true
end tell
end tell</pre>…or to just minimize it to the dock use…
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">tell application "System Events"
tell process "Speech Feedback Server"
tell window "Speech Feedback"
set value of attribute "AXMinimized" to 1
end tell
end tell
end tell
</pre>

Similar Messages

  • How can hide the command line of a t.code in the portal

    Dear Experts.
    I have the following doubt:
    How can hide the Command Line of a Report that is called with a T.Code in the portal?
    Attach Image:
    [Image T.Code|http://www.freeimagehosting.net/uploads/eab3b6a03c.jpg]
    When I created a service using the T.Code SICF for the T.Code , I can hide buttons and the filed command line  using
    ~webgui_simple_toolbar
    ~singletransaction
    ~NOHEADEROKCODE
    With notes 1010519, "SAP GUI for HTML: Simplified Title Area Without Menu and OK Code" and 959417.
    But the problem is that when I create the service in the T.Code SICF, I also have that create an Iview IAC in the portal.
    The Question is : How can hide this fields and buttons if I want Publish the T.code using an Iview Transaction in the portal?
    In this moment I have used the two options:
    1 option) I created a service using the t.Code SICF for my Transaction and I also created an Iview IAC in the portal for call the service.
    RESULT:
    SAP Web Application Server
             500 Connection timed out
            Error: -5
           Version: 7000
           Component: ICM
           Date/Time: Sat Jun 12 20:26:39 2010 
           Module: icxxthr_mt.c
           Line: 2698
           Server: xyxab...
    Error Tag: {-}
    Detail: Connection to partner timed out after 60s
    2)  created an Iview Transaction  in the portal and  call my transaction.
    RESULT.
    [Image T.Code|http://www.freeimagehosting.net/uploads/eab3b6a03c.jpg]
    But not can hide the field Command Line and other buttons.
    I think that the command :
    ~webgui_simple_toolbar
    ~singletransaction
    ~NOHEADEROKCODE
    Only can be used if I create a service using the T.Code SICF .
    Best Regards
    Carmen.

    Hi Carmen,
    The bottom line is that this cannot be done for transaction iviews without modifying the standard webgui service in SICF, which is probably not a good idea (since it affects everyone using SAP GUI for HTML). (You could hack the appintegrator to add the ~webgui_simple_toolbar parameter to the transaction URL template in the portal, but again its not a recommended thing to do ...). Better to create an IAC service in SICF with ~webgui=1 where you set the required appearance using an appropriate value for ~webgui_simple_toolbar, and then create an IAC iview to point at this service.
    You can even override the ~transaction value configured in the new service in individual IAC iviews by entering the appropriate value in the application parameter of the iview, for example:
    ~okcode=/nSU01
    And you can pass parameters in the same way:
    ~okcode=/nSU01 USR02-BNAME=xyz;USREFUS-USERALIAS=abc;
    By the way, it would not be recommended to create a URL iview to access an IAC, since you are likely to encounter session management issues in this scenario - better to use an IAC iview.
    Regards, Rory

  • Script to hide out of the box form field in SharePoint 2013

    Can someone post a script to hide the fields on the out of the box New form of a particular list ?

    You can still edit form pages within SPO.  Embedding that script should work.  Have you tested it?
    As an alternative, you can set some of the column properties (such as
    ShowInEditForm) to No via the SPO Manager but this is a paid product - http://office.microsoft.com/en-us/store/sharepoint-manager-2013-online-WA104025157.aspx?queryid=6e5f213e%2D1ae8%2D4d5c%2D85f0%2D83712736e194&css=sharepoint%20manager&CTT=1
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • Controling wheelchair by speech command using Neuron Network in labview

    Hi all,
    I'm doing project about "controling wheelchair  by speech command using neuron network in labview". I found some informations about controling whelchair combine with function microsoft speech recognition in window or something like that but this was not my point. So, I have some question about that:
    1) How do I store the command "Left-Right-Back-Go-Stop" in labview. After that, analyzing to find the differences of characteristic of these command.
    2) Based on these characteristic above, using neuron network to find exactly command.
    Are there anyone do like this before? I need all help from you.
    Thank you so much.

    Greetings;
    First, it is most excellent that you have gotten to where you can compare the words being said to the sample.
    If I understand correctly, you are interested in continuously acquiring sound, saving it and then comparing it with the sample? That is not as straightforward as it sounds simply because it would be difficult to realize when there is sound in the first place and when that sound is relevant. 
    I would probably start by figuring out whether there is or not sound by comparing the microphone input to a certain threshold, saving if there is sound, and then halting the recording when the sound stops. It would be then that you would compare with your samples via the algorithm that you have made.
    In order to check for volume, I came across the following example:
    http://zone.ni.com/devzone/cda/epd/p/id/2150
    It was mentioned in the following discussion:
    http://forums.ni.com/t5/LabVIEW/Microphone-Input-Detection/td-p/487367
    Cordially;
    Simon P.
    National Instruments
    Applications Engineer

  • How to create script that run sudo-command, via automator?

    Hi
    I'd want to create script to automate one command I need quite often. I just can't get this to work.
    I'm not using english OS, but I think this is what I do. In automator I choose Utilities -> Run script
    Here's the script I try to run:
    sudo "/Library/Application Support/VMware Fusion/boot.sh --restart"
    I found some tip to do it like this:
    do shell script "sudo /Library/Application Support/VMware Fusion/boot.sh --restart password "pass" with administrator privileges
    Where pass is my admin password.
    This does not work, either.
    Could anybody help me on this?
    Thanks...
    Tomi Toivonen
    Message was edited by: Tomi

    This is not working. What's wrong?
    What's wrong is that the '--restart' is a parameter for boot.sh, and therefore needs to be included within the quotes.
    Additionally, the shell uses spaces to divide parameters, so the spaces in the command will make it appear as multiple commands - '/Library/Application', 'Support/VMware' and 'Fusion/boot.sh'. You need to escape them using a backslash:
    <pre class=command>do shell script "/Library/Application\ Support/VMware\ Fusion/boot.sh --restart" password "pass" with administrator privileges</pre>
    If it's outside of the quotes it would be interpreted as a parameter to 'do shell script' and it won't know what to do with that.

  • Speech Commands - Not working after 1st command

    Speech commands were working properly several days ago just after doing a fresh 10.8 install, not upgrade.  I have since installed many programs.
    Speech Commands are turned on and my microphones are all working.  The first command is heard perfectly by the system.  Any further commands are not acknowledged by the system.  I can reboot and I can again issue one command.  The calibration under Accessibility>Settings shows it hears the commands.  I can change the microphone, I have several and still only the first command is acknowledged.
    I have looked over many posts concerning this and I see others are having the same problem and some have tried manually installing the newest Java directly from Oracle.
    Oddly enough, dictation works perfectly, so I know my MAC can hear me ok, just something loused up with the speech getting to the accessibility>speekable items.  I have tried various Key to actively listen for commands.   I have modified the listening method in various options "Listen only while key is pressed" and "Listen continuously with keyword"
    Does anyone have this issue and know how to solve it?

    This is an update in case anyone else has a similar issue with Speech Commands.
    I ran accrosss a post in Apple discussions from 2011, regaurding a very similar issue.  The acutal issue had something to do with the system voice.  I had changed my system voice to Sangeeta, one of the Aplle English voices with an Indian accent.  It seems that only the default voices seem to work correctly with the speech commands.
    I changed my system voice back to Alex, deleted the speech files (above) then rebooted my computer.  Calibrated the speakable items then there was no issue with speech commands.
    In my NSHO, Apple needs to fix this issue, at least properly address it.  I so wanted to use Sangeeta's voice, but I would rather have Alex and a properly working speech commands.

  • Need script to hide 6 fields and 3 OK buttons

    Hi All
    Seems if I fix one problem I add another one.
    I have a Job Proposal in Acrobat 9 and now need a script to hide calculation fields and 3 OK buttons.
    These fields need to be hidden when the form is filled out and emailed to the prospective customer.
    Ron A

    Thanks try
    That works.
    What I did was go under Properties, Actions, Add Javascript and pasted it 9 times.
    Then I typed in the correct field name in each one, works great.
    Looks like this.
    this.getField("City1").display = display.hidden;
    this.getField("City2").display = display.hidden;
    this.getField("City3").display = display.hidden;
    this.getField("Trans1").display = display.hidden;
    this.getField("Trans2").display = display.hidden;
    this.getField("Trans3").display = display.hidden;
    Ron A

  • I am missing Speakable Items in the Speech commands window

    Hi there,
    I just realized that I can't command any speakable actions, I have NO commands in place in the speech commands window, and my -/user/library/speech/speakable items folder is empty.
    I am administrator and single user of my Mac
    I have no idea why it is empty, i suppose it has been like this from the day I have installed OSX, years ago now.
    I have tried to install OSX from scratch on a separate partition, and of course, with this new system, the commands are in the proper place and the speech commands works.
    However, when I re-import my profile with the SetUp assistant from the original partition, all the commands are lost, since the Speakable items folder is under my personnal home directory, it has just been copied, and left empty by the assistant with all my profile.
    Can anyone help me and tell me which items i should copy from/to where to have the speech commands working ????

    Same here.
    I copied the Speakable Items folder from my old computer, but it still won't work.
    I hope you get an answer!
    ANSWER! - I had the same problem. Open up your Speech and turn off speakable. Than go to commands select address book click on configure if there is any Name that has (NUL) uncheck it. than go and turn on speakable again. Your commands should be there!
    It worked for me! Good Luck!
    Message was edited by: Acumowchek

  • How to hide the command prompt

    I want to hide the command prompt as soon as the execution begins.
    please can you guide me
    thanks

    Hi,
    I tried as suggested but got the following exception :
    java.io.IOException: CreateProcess: start /B cmd /c myprogram.bat error=2
    at java.lang.Win32Process.create(Native Method)
    at java.lang.Win32Process.<init>(Win32Process.java:66)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Runtime.java:551)
    at java.lang.Runtime.exec(Runtime.java:477)
    at java.lang.Runtime.exec(Runtime.java:443)
    I have the myprogram.bat file [other commands like "echo also do not work].
    The O.S is Windows 2K [it does have the start command] and I am using Jdk 1.3.1x
    Thanks !

  • How do I turn off Speech Command for Chess?

    I love playing the Chess app, but I do not use the Speech Command. The little round icon annoys me a bit. Is there a way to get rid of it?

    Turn off Speakable Items in Accessibility preferences or close the window from an app that uses speech recognition. For example, if you’re using Chess, choose Chess > Preferences, and then deselect the “Allow Player to Speak Moves” checkbox.
    To move the window into the Dock, double-click it or say “Minimize speech feedback window.”

  • How to create shell script on solaris "TOP" command

    Hi All,
    i need to write a shell script on unix top command.
    Requirement:
    In top command grep the more than 25% CPU utilization f60webmx process and that f60webmx process time stamp is more than 3HR's and also needs to grep the load average information in top command.
    Please help me some one.

    i need to write a shell script on unix top command.You have our permission to begin to do that.
    These forums are NOT for doing your work for you. They are here to provide assistance for YOUR work.
    I suggest you go get paper and pencil and write down all the steps you think you need to take to accomplish that. Write it down as if you were going to do that manually at the command prompt. Then put it all into a text file and save it with a file name of your script.
    When you have that "script", you can run it and examine whether it succeeds or whether it has errors. Work at it for a while and fix whatever errors might happen.
    When you are really, really stuck at it, you can paste your script into a reply of this thread and maybe someone will respond with suggestions for improvement.

  • How to create Speech Commands in Aperture?

    I'm having trouble figuring this out, so hopefully someone out there has an answer . . .
    I'm trying to add speech commands to use in Aperture. I'm using the program and mousing (and tableting) so much that my wrists are starting to complain. I would like to start some of my most frequent tasks by using Speech Commands and Speech Recognitions.
    So, to start, if someone can explain to me how to . . .
    • create a command to white balance a photo (click eye dropper)
    • create a command to go to Monochrome Mixer
    That would be a great start, and should start me on the road to less mousing!

    This doesn't exist in Aperture but if I am reading correctly what you are looking to do check out the plugin BorderFx

  • Systemd startup script - half of the commands run, half don't??

    i have a previous rc.local file which was a startup script on a router machine i have. it is designed to run tcpdump commands for the interfaces and output them to terminals tty9, tty10, and tty11. it worked perfectly...
    i have since transitioned to systemd. I followed wiki instructions to make a oneshot service file and have enabled it. here is the file: (/usr/lib/systemd/system/startup.service)
    [Unit]
    Description=Startup Script
    After=iptables.service
    [Service]
    Type=oneshot
    ExecStart=/etc/scripts/startup
    [Install]
    WantedBy=multi-user.target
    here is the script /etc/scripts/startup: (email addresses disquised)
    #!/bin/bash
    route add -net 10.11.12.0/24 gw 172.16.16.4
    /usr/sbin/tcpdump -pnq -i external >> /dev/tty11 &
    /usr/sbin/tcpdump -pnq -i internal >> /dev/tty10 &
    /usr/sbin/tcpdump -pq -i wifi >> /dev/tty9 &
    echo "$HOSTNAME system startup complete `date '+%r %x'`" | /usr/bin/mailx -c "[email protected]" -s "$HOSTNAME Startup Message" [email protected]
    here is the output from the startup command with journalctl:
    Nov 18 22:46:10 pLAN9-Gateway systemd[1]: Starting Startup Script...
    Nov 18 22:46:10 pLAN9-Gateway systemd[1]: Starting OpenSSH Daemon...
    Nov 18 22:46:10 pLAN9-Gateway systemd[1]: Started OpenSSH Daemon.
    Nov 18 22:46:13 pLAN9-Gateway startup[409]: . . . message not sent.
    Nov 18 22:46:13 pLAN9-Gateway systemd[1]: Started Startup Script.
    the route add command runs, but nothing else does. as you can see, there is absolutley NOTHING helpful in the log, other than the completely useless "message not sent" output from mailx. running the startup script manually with "systemctl start startup" works fine.
    iptables.service is setup to run After=netcfg.service, so I would assume that beucase the startup script runs after iptables, it should run after netcfg as well.
    why aren't these commands running?

    A oneshot service is killed once the main process returns (that's why it is called a "oneshot"). Your tcpdump processes are killed once startup returns.

  • Oracle Scripting 11i - custom java command problem

    Hello
    Can someone pls help me with the following issue I'm having with Oracle Scripting 11i.
    I want to use in my script a custom Java command for a shortcut button. I follow the instructions given in the docs that I found, but seems that I miss something, so pls advice.
    This is what I did:
    1. in my script a defined a shortcut button with a Java command type. The command name is correctly specified as :
    a.b.myclass::mymethod - I'm also passing a Proxy parameter and a string - the name of the group I want to jump to. (this is the exact example I found in Oracle Scripting use and administer course dating from 2000 -:( ).
    2. I packaged my classes in a jar. (What is strange is that I am using the exact code for my method as the ScriptUtil class provided as bestpractice by Oracle)
    3. using Oracle Scripting Administration Console I upload my jar as global.
    4. Deploy my script to the database.
    5. Run the script
    After all that, what I get when I push the shortcut button is .... nothing!!!!
    If I am removing my jar from the database using Oracle Scripting Administration console - I am getting "Unable to load class since no jar was associated with your script"
    If I'm indicating on purpose a Java method name (that does not exist in my class) I'm getting java.lang.RuntimeException.
    So, I really do not know what the problem is, since my code is the same as the ScriptUtil class, and if I'm using the Script Util as my Java Command it works just fine.
    Can someone help me? What am I doing wrong? Did I missed a step?
    Thank you
    Cristina

    Hello
    Can someone pls help me with the following issue I'm having with Oracle Scripting 11i.
    I want to use in my script a custom Java command for a shortcut button. I follow the instructions given in the docs that I found, but seems that I miss something, so pls advice.
    This is what I did:
    1. in my script a defined a shortcut button with a Java command type. The command name is correctly specified as :
    a.b.myclass::mymethod - I'm also passing a Proxy parameter and a string - the name of the group I want to jump to. (this is the exact example I found in Oracle Scripting use and administer course dating from 2000 -:( ).
    2. I packaged my classes in a jar. (What is strange is that I am using the exact code for my method as the ScriptUtil class provided as bestpractice by Oracle)
    3. using Oracle Scripting Administration Console I upload my jar as global.
    4. Deploy my script to the database.
    5. Run the script
    After all that, what I get when I push the shortcut button is .... nothing!!!!
    If I am removing my jar from the database using Oracle Scripting Administration console - I am getting "Unable to load class since no jar was associated with your script"
    If I'm indicating on purpose a Java method name (that does not exist in my class) I'm getting java.lang.RuntimeException.
    So, I really do not know what the problem is, since my code is the same as the ScriptUtil class, and if I'm using the Script Util as my Java Command it works just fine.
    Can someone help me? What am I doing wrong? Did I missed a step?
    Thank you
    Cristina

  • Speech commands not working

    MY SPEECH COMMANDS IS NOT RESPONDING. ANYONE KNOW A FIX?

    This is an update in case anyone else has a similar issue with Speech Commands.
    I ran accrosss a post in Apple discussions from 2011, regaurding a very similar issue.  The acutal issue had something to do with the system voice.  I had changed my system voice to Sangeeta, one of the Aplle English voices with an Indian accent.  It seems that only the default voices seem to work correctly with the speech commands.
    I changed my system voice back to Alex, deleted the speech files (above) then rebooted my computer.  Calibrated the speakable items then there was no issue with speech commands.
    In my NSHO, Apple needs to fix this issue, at least properly address it.  I so wanted to use Sangeeta's voice, but I would rather have Alex and a properly working speech commands.

Maybe you are looking for

  • Sharing an Itunes library with Iphones...

    My wife and I each have our own laptops that our iPhones sync to. Our music is on a separate Mac on the same network. Is there anyway to share the one library so that it can be used on both laptops and sync with both iPhones without making multiple c

  • Is pavilion dvd compatible with windows 8.1

    My dv3 notebook currently runs Vista and I want to update to Windows 8.1 and ultimately Windows 10 - is this possible? TechImp

  • Team Calendar in MSS

    Hi: Is it possible to remove the 'All Employees' from the display on the team calendar under the MSS user? I only want the manager to have the option to display their 'Directly Reporting Employees'. I have made the following changes but 'All Employee

  • HT4623 I have an iphone 5.  How do I download my photos onto my computer?

    Help.  I need to download my photos to my computer so that I can upgrade my phone.  I have it plugged into my computer right now.  I don't know what to do next.

  • Skype can't connect with internet while the connection is fine

    I've installed Skype (version 7+) for my mac,  OS XYosemite 10.10.1. When I try to login with my microsoft account in the application, it says that there is no internet connecting, even if there is clearly is. At the same time I can login with my mic