Can the command line application be extended?

I would like to add command like keys etc..Is this possible?

Correct me if I am wrong, from what I understand, beanShell is a scripting language which interprets the Java language. Yes, I could connect to coherence cache and run any commands I want. However, that won't include the commands which are already prefined in the tangosol command line, would it?
If I am wrong, I would appreciate if you could show me an example of beanShell and the command line application.

Similar Messages

  • How can I start System Preferences from the command line?

    Hello All,
    I have an issue I'm not quite sure how to solve. I have been tasked within my business environment  with tightening security on a Mac Leopard system and I've been granted Admin Rights to do this on a temporary basis.
    The problem is as follows:
    1) The original Sys Admin that set up this system is gone, no longer available.
    2) He was a Dvorak Keyboard fan and set up the system for a Dvorak Keyboard.
    3) The system actually has a standard Apple keyboard and is marked accordingly, i.e., qwerty (Most Users in the building have stopped using this system altogether - a terrible waste of a good system - even though some of their apps can be run normally (US style qwerty settings). The command line is useless, as is texteditor.app and a few others unless you know Dvorak layout)
    5) When I open System Preferences, the Dvorak keyboard checkbox is grayed out and I cannot change it. There is no lock at the bottom of that particular screen for me to unlock.
    6) Even though I select the US Keyboard at Login, and some apps work accordingly (like MatLab for example) the terminal is borderline useless. I spent over 2 hrs yesterday doing what should have been able to be done in about 30 minutes. I estimate a frustrating and mistake prone additional 8 to 10 hours to do what is normally a a 4 hour job at the command-line.
    7) I do not have the time or desire to re-mark all the keys on the keyboard, particularly since it is not my call to do so, nor do I have the time to re-learn Dvorak touch-typing, and finally I do not want to re-load the entire system. I just want to change the darn keyboard to a standard qwerty keyboard that is somewhat useful in a terminal environment with vi, command line, etc. It's either that or I go mildly insane
    This is frustrating as all get-out. The new Admin logged in and was able to uncheck his Dvorak settings (he is not a UNIX guy, nor is he comfortable om Macs), and we were hoping this was a system wide setting, but No. We re-booted the system, I logged in, still Dvorak, and the checkbox was still grayed out.
    So I figure, short of re-loading the entre system and all the applications necesary, I can either start the Systems Preferences GUI using sudo and hopefully that will change system-wide settings, or I can delete the .AppleSetupDone file and resetup the system (if the keyboard settings are part of the setup) without spending a couple of days reloading everything and re-setting up users, networks, etc.
    Needless to say, I am hoping for the easiest and quickest solution to this extremely frustrating and  aggravating problem.
    Thanks.

    For my situation the following C# code does the job:
        Process.Start(
           @"c:\Program Files\National Instruments\CVI71\cvi.exe",
           @"c:\temp\experiment.c" );
    The file must already exist.

  • Is there a way to switch between workspaces in Spaces from the command line?  I want to write a script to set up certain applications in certain workspaces (without having to do it manually each time)...

    Is there a way to switch between workspaces in Spaces from the comnand line?  I use several workspaces from Spaces, each workspace having a certain number of fixed applications running.  Rather than set all this up each time I log on, I'd like to write a script from the command line (I use gawk) to automate this. Currently I have a gawk script that, given a directory, opens a few xterms whose working directory is the given directory, and opens "preview" applied to a certain file in that directory.  However, at present I have to manually move an xterm through each workspace and run my gawk script in each workspace (applied to each directory that I'm working on).
    There must be a better way...

    Addendum: Can this be done via:   open -a Spaces --args xxx  , where xxx is some set of arguments (or something like this)?

  • 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

  • How can I put a "esc" character in the command line of the Iinstrument I/O Assistant?

    Hello
    I'm trying to prepare a VI for a device (Ultrasonic detector) connected to my RS-232 serial port, and which requires commands and enquires in the format
    The problem is very simple....since is a non printable character, how can I put it in the command line of the Instrument I/O Assistant???
    Best regards
    Massimiliano

    Hello Massimiliano,
    Thanks for contacting National Instruments.
    To answer you question, the best way to do what you are looking to do is to use the instrument I/O Assistant to generate whatever you want the code to do without the non-displayable characters, then once the Instrument I/O Assistant block is on the block diagram, then right click on the Assistant block and select to open the front panel. You will want to choose to convert it to a standard VI, which will allow you to change the code that has been auto generated. In order to add non-displayable characters to this code you follow the knowledgebase link below.
    http://digital.ni.com/public.nsf/websearch/77c8f61d36f5a23086256634005acb38
    Hope this helps!
    Regards,
    Steven B.
    Applications
    Engineering
    National Instruments

  • Can't send files to Trash from the command line

    Hello,
    as I'm programming in JAVA I must do all "special" operations as from the command line.
    I found several solutions but they don't work for me, at least not in Mavericks.
    I tried:
    osascript -e "tell app \"Finder\" to delete POSIX file \"/Users/me/totrash\""
    I got:
    21:60: execution error: Finder got an error: Handler can’t handle objects of this class. (-10010)
    I tried:
    echo "tell application \"Finder\" move POSIX file \"/Users/me/totrash\" to trash end tell | osascript
    I got:
    26:30: syntax error: Expected end of line but found command name. (-2741)
    Is there any working AppleScript way to send a file to the Trash Bin?
    Thanks in advance.
    ;JOOP!

    Near ....... I did not misspell 'me', I was in a different directory after all my experimenting .....
    Curse those who write cryptic error messages ...
    Bless those who still get it.
    So, thanks.
    ;JOOP!

  • Can apple mail be used from the command line?

    Can the Mac Mail application be used from the OSX command line?  Has anyone installed
    a command-line, Linux-like mail application to run on OSX?

    I don't know about the Mail app, but have you tried installing and configuring postfix? Here is a link to a blog with some details for a postfix solution.

  • Can I create a new folder using the command line interface

    Hi.
    Is there a way to create a new folder in an existing business area, from the command-line?
    We have an application that provides an interface for the user to create a table and load flat file data into the table. After loading the data, the user will verify the loaded data using discoverer. If there is a command line interface to create a new folder, then the script that created the table can also call the discoverer command line to create a new folder for the new table. Is this possible?
    Thanks

    Hi,
    I think I am having a similar question here. I am using Oracle 10g on Windows xp.
    I logged in to Oracle from command prompt. I used command “create directory myFunDir as 'd:/funDir';”. Oracle returns: “Directory created”. But I couldn’t find the directory “myFunDir”! Where is it?
    Thanks.
    Newbie.

  • Why can't I access the command line I just downloaded for xcode?

    Why I can't access the command line I just downloaded for xcode?

    Firefox will not appear in the Market for most phones with incompatible hardware. I believe the Motorola Bravo is supported. You can check if your phone is supported here:
    https://wiki.mozilla.org/Mobile/Platforms/Android
    On some supported devices, a bug prevents Firefox from appearing in the Market. This may be related to the recent Market update. You can go to Settings/Applications and uninstall the Market update, then find and install Firefox.
    Or, you can download the app directly from here:
    http://ftp.mozilla.org/pub/mozilla.org/mobile/releases/4.0b3/android-r7/multi/
    (Note: To download the app directly for an AT&T phone, you will have to search for instructions on how to "sideload" the APK file, since AT&T disables the option to install from non-Market sources.)

  • I am trying to set an open DNS using the MacAir. But when I tried to flush the existing one at utilities/terminal, it will not work.  I am using Yosemite.  May I know what should be the command line so that I can shift to an open DNS?  Thanks

    I am trying to set an open DNS using the MacAir. But when I tried to flush the existing one at utilities/terminal, it will not work.  I am using Yosemite.  May I know what should be the command line so that I can shift to an open DNS?  Thanks

    >SystemPreferences>Network>DNS

  • How can I start a second window of a second profile through the command line?

    I have two profiles set up, 'default' and 'second'. If both are already running how can I start a second window of profile 'second'?
    firefox -p 'second' : opens a new window of the default and,
    firefox -p 'second' -no-remote : tells me that firefox is already running.

    I don't think that this is possible.<br />
    You need to open this second instance (Firefox profile folder) with the -no-remote command line switch and that makes it impossible to open external links via the command line or via a double-click.<br />
    You can only open a link in such an instance by dragging the link on the tab bar of that Firefox window.

  • Can't change activation only mode to off using the command line in Windows 7 64 bit

    I used the command line to turn activation only mode on and now when I use teh command to turn it off it will not change the iTunes setup. I am on Windows 7 64 bit. I tried uninstalling itunes and reinstalling and it is stillin activation only mode.

    Hi! Thx for your quick reply! I am still unsure what to do tho---see my questions below in bold:
    Windows 7 comes with its own version of the standard PostScript driver. = Where is this driver? I have no idea how to find it, it doesn't show up in my Printer menu in FM?
    Given that PostScript generated by a driver can be highly device-specific, you need to install the driver as modified by the PPD file for the device in question. Most printer manufacturers in fact provide a PostScript driver installer that associates their printer's PPD file with the standard Windows Printer driver and subsequently creates what is called a PostScript printer driver instance for the particular device on the I/O port you designate. = ??? I've only updated a PPD file for watermarks and have no idea what this means...is there a step-by-step instruction for this? I just need to download a PS driver to select that works & doesn't freeze up my FM when creating a .ps file.
    The real question thus is exactly what are you trying to generate PostScript for? = I create a PS, & then use Distiller to create a PDF. This enables me to have a PDF that automatically has Bookmarks, the TOC/LOF/LOT & all corss-refs are hyperlinked, etc.
    If you are trying to create PostScript for distillation into PDF, Acrobat installs a PostScript driver instance of its own, labelled Adobe PDF, that is associated with the Acrobat Distiller PPD. = I have tried the Adobe PDF selection from my Printer menu in FM, but it freezes up FM and I have to close the whole program & no PDF generates.
    BTW, although you may be successful in installing and running FrameMaker 8 on Windows 7, in fact Adobe officially does not support FrameMaker 8 on Windows 7. = I don't know what to say---the upgrade is too expensive for some of us folks out here right now, so we all need to work with what we have for now!
    I appreciate your help, thank you.

  • How to enable telemetry logs and where can i find the command line for sun

    Hi i tried creating the telemetry logs directory but the logs are not being populated. i created the following directory:-
    /opt/SUNWmsgsr/data/telemetry/imap/usersns1
    where usersns1 is the userid.
    Also pl. tell me where can i get the command list for sun one messaging server to use the command line utility to list, delete mailboxes. also can i search for all the mailboxes under one domain name. if yes then which command i have to use.
    thanks in advance.

    Hi,
    Hi i tried creating the telemetry logs directory but
    the logs are not being populated. i created the
    following directory:-
    /opt/SUNWmsgsr/data/telemetry/imap/usersns1
    where usersns1 is the userid.Make sure the permissions (ownership) on the user directory and the sub directory match those that messaging server uses - by default mailsrv:mail. This is the most common cause of the telemetry data not being created. The other thing to verify is that the user's account isn't stored as user@domain, otherwise you may need to create the directory as the entire user@domain (try both just to be sure).
    Also pl. tell me where can i get the command list
    for sun one messaging server to use the command line
    utility to list, delete mailboxes. also can i search
    for all the mailboxes under one domain name. if yes
    then which command i have to use.The Messaging Server reference guide is a good place to start (lists all the command-line utilities/flags and what-not):
    http://docs.sun.com/app/docs/doc/819-4429?l=en
    The mboxutil command is used to list/create/delete mailboxes and you can use a pattern to only list those mailboxes in a specific domain.
    Regards,
    Shane.
    thanks in advance.

  • "Policytool" can not be invoked from the command line

    Hello Everyone. I tried to use Policytool to generate a java policy file, however I can not start it from the command line. Could somebody here let me know it there is any trick there? Thanks in advance!
    Kuilian

    try this
    java -Djava.security.policy=<"your policy file"> <your file to run>
    srikanth.n

  • Can I manage resource designates via the command line?

    I would like to manage resource designates via the command line and
    the <i>"unires"</i> command does not seem to have this function. Could I use
    <i>"uniadmrights"</i>?
    # uniadmrights -e -add -resrc -n 10000
    <br>
    -e modify user rights, search filter
    <br>
    -add set user right on (-e only, default)
    <br>
    -resrc resource administration
    <p>
    The <I>uniadmrights</I> command is not able to assign designate rights. You can assign
    rights such as the ability to create and manage public and administration
    groups. The "Resource administration" flag exists so far only on the
    server side, and it is currently not used by the client. This is for future use.
    <p>
    There are two ways to assign a designate to a resource:
    <ol>
    <LI>Log on as the resource via the client. There are only a few commands
    available, one of them being the "Access Rights".
    <P>
    <LI>On the server side:
    <P>
    Edit the /users/unison/misc/resource.ini
    file and create a new section to specify the resource designate.
    <P>
    [DES]
    Designate0 = S=Lastname/G=Firstname
    <P>
    Run the unires command as follows:
    <P>
    % unires -mod "R=resourcename" -s DES 10000
    [sysOpPsw]
    </OL>
    <P>
    <B>Note:</B> The full resource name should be used eg. "R=Resource/N=1/CA=2/ID=2
    57"

    This sounds like a job for wget . You'll have to build and run it on Unix or Cygwin.
    You could also build a test suite to do this in various testing tools. You could even write a short Perl or Groovy script to do this, or a slightly longer Java class.

Maybe you are looking for

  • Problem with JDBC and Tomcat

    I don't know where the problem originate, the only thing in my memory is that the program worked very well on my PC yesterday, but today, without even slightest change, it doesn't work anymore. As to debug it, I simplified the codes to the least, but

  • How can I disable right/left mouse buttons and scroll wheel in PDF?

    Hi all, I want the user to have to click on "forward" and "back" buttons that I've created in the PDF, in order to move around in it. Is there any way to disable the mouse buttons and scroll wheel from allowing users to go back and forth? Also, a sep

  • Problem with printing through SAP

    Hi All, We have problem with printing, only one person through SAP can only print the documents successfully and the remaining are getting incomplete print output. This is happening only for transactions GD23 and FB03 (FI related transactions). We ha

  • Please support more complex characters in ADE - time to switch reading engines !

    In ADE 1.7 (and previous versions) there has always been a lack of support for Latin extended characters - such as a 'H' with a dot below - as shown at this post here: http://graphemica.com/%E1%B8%A5 In version 1.7.x these characters appear as a ques

  • Host  string(s) on NT

    How can we find out all the valid host_strings to login to SQL*plus on NT? Tried leaving it as blank and logging in a system/manager, scott/tiger... but neither worked. Please advise ASAP.