Any way to execute menu commands?

I'd like to execute the equivalent functionality to some existing menu commands in Bridge from a Bridge script. In particular, I'd like to be able to turn off the favorites panel and the folders panel (View/Favorites Panel) and (View/Folders Panel). Using the published menu identifiers for them, I can tell if they are checked already (e.g. displayed already), but I haven't figured out how to actually call those commands.
In case you are wondering why I'd like to turn thse off, I'm creating a new window/document and displaying a custom browse scheme. When using a custom browse scheme, the folders window shows nothing useful so I'd like to turn it off. Further, since I'm not displaying files and folders, I think it will be less confusing to users if they don't see the folders pane.
Any ideas?
--John

Bummer. Another one for the feature request list.
I'd actually like full scripting control of the chrome including setting a workspace, setting visibility of panels, access to the filter menu in the toolbar, etc...

Similar Messages

  • Is there any way to use embedded commands in text to create pauses when using text to speech in iOS 5? You can do it in OS X by typing [[slnc 2000]] to get a two-second pause.

    Is there any way to use embedded commands in text to create pauses when using text to speech in iOS 5? You can do it in OS X by typing [[slnc 2000]] to get a two-second pause.

    Thanks for the reply Russ.
    Yes, I've considered adding titles and/or generators in the FCPX storyline, but this creates a need to render the entire timeline. As I'm juggling library locations and hard drive spaces I just didn't want to add a new render that will occupy a lot of space. It's also a bit of visual clultter for me, so my goal is to find the best workflow for adding this stuff on or after export.

  • Trying to find a way to execute from command prompt using java....

    I want to find a way to execute a command from the command line using a java program this is my code:
    import java.io.*;
    public class SQLHopefully
         public static void main(String[] args)
              try{
              Runtime rt = Runtime.getRuntime();
              Process proc = rt.exec("cmd /k start cmd.exe");
              OutputStream out = proc.getOutputStream();
              System.out.println(out);
              out.write("test.txt".getBytes()); //I THOUGHT THIS WOULD WORK
              InputStream stdin = proc.getErrorStream();
              InputStreamReader isr = new InputStreamReader(stdin);
              BufferedReader br = new BufferedReader(isr);
              String line = null;
              while ( (line = br.readLine()) != null) {
              System.out.println(line);
              stdin = proc.getInputStream();
              isr = new InputStreamReader(stdin);
              br = new BufferedReader(isr);
              line = null;
              while ( (line = br.readLine()) != null) {
              System.out.println(line);
              int exitVal;
              try {
              exitVal = proc.waitFor();
              } catch (InterruptedException e) {
              throw new IOException(e.getMessage());
              if (exitVal != 0) {
              throw new IOException("Exit value was " + exitVal ");
              }catch(IOException e)
              {System.out.println("ummmmm");}
    I hope my code is readable. I am trying to get the command prompt that comes up from the Runtime.exec() to run a file called "test.txt" I know it would be easier to just do it by executing it from java but I want to see if it is possible this way. I thought the out.write would do the trick but I was wrong. Somebody help please....
    Nate

    First read this article:
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
    Second, you should probably send the Enter key to the shell if you want anything to happen. (Not that I know whether it will work, but I do know it won't work if you don't press Enter.)

  • Applescript: "execute menu command" syntax

    Greetings,
    Anyone know the syntax for using:
    execute menu command v : executes a menu command using the menu shortcut string
    execute menu command
    menu command string text : menu command shortcut
    I can't figure out what string to use for the "menu command string" argument.
    Thanks!

    Hi,
    I’m not an applescript guy, but the following link may help you with the concept: http://kasyan.ho.com.ua/open_menu_item.html . You may think I’ve lost my mind in that 1) it isn’t applescript and 2) it’s for InDesign, but my thoughts are that it may serve as basis for you to google what you need.
    TT

  • Is there any way to execute process chain from the portal?

    Hello,
    Is there any way to execute process chain from the portal? I dont want to link process chain with any of report. I want to have a button in some of portal folders. User presses the button and it executes the process chain.
    I was thinking about to create a fake planning cube, aggregation level and planning function. I call FM within the Fox planning function that runs the process chain. But it should be done within the report.
    Any ideas?
    Thanks a lot in advance!

    Hi.
    I want to have a button in some of portal folders
    You mean that you want to use some link in EP ?
    Regards.

  • Any way to send CTRL commands to external visualization software?

    I recently purchased G-Force for iTunes on Windows (www.soundspectrum.com), and found out after I purchased it that iTunes doesn't send CTRL commands to visualizations, so essentially I can't do any cool stuff with this software I just bought. Is there any way around this?

    The only thing soundspectrum says about it is: "Note: iTunes for Windows doesn’t pass CTRL keystrokes or mouse clicks to plugins, so G-Force control is limited." Can't find anything on Google, which is why I'm here.

  • Is there any way to execute a custom script after JPA created tables?

    Hi
    I am looking for a way to execute some scripts right after JPA created the tables. I want the script to be executed once and not every time my application start.
    I though maybe Toplink has some extensions for this.
    Thanks.

    In general the auto-generated DDL is more for rapid prototyping, than production. If you have got to the point of defining your own DDL extensions, you may be better off outputting the auto-generated DDL to a file, and using ant or some other tool to define the schema including your extensions.
    You could do it using EclipseLink as well using a SessionCustomizer (which is an event class set in your persistence.xml). The SessionCustomizer is executed before the DDL is generated however, so you would need to remove the DDL properties from your persistence.xml and generate the DDL using an EclipseLink SchemaManager (SchemaManager.replaceDefaultTables(true, true)).
    James : http://www.eclipselink.org

  • 2 Monitors--Any way to move menu to right hand monitor (IMAC on left)

    Don't know if I'm even asking this question correctly:
    I have 2 monitors with the IMAC on my left and the additional monitor on my right. It is annoying to have to scoot over to the IMAC every time to do anything with the menu. Can the menu be moved to the monitor on my right? If so, how?

    In Displays System Prefs, drag the menubar on the display image over to the display on the right.

  • Robohelp HTML command-line utility overwrites merged files in .hhp file with absolute paths. Any way to prevent this?

    I have a Robohelp 11 HTML project which uses merged CHM files. I have a help build script which compiles this project using the RH command-line utility. Whenever this runs, RH overwrites the names of the merged CHM files in the .hhp file to use absolute paths (even if the .hhp file is read-only!). I've searched Adobe forums and this appears to be a RH bug. In my case, it doesn't stop the project performing the merge, but it looks like it causes problems when searching the resultant parent CHM (topics matching the search simply don't show up in child projects), as the search cannot necessarily find the merged files referenced in the .hhp when someone performs the search on a different machine. I notice that if I compile via the RH UI, the .hhp entries are not overwritten. So, a workaround is to do the build manually. However, we'd like to automate our help build. Is there any way to prevent the command-line compiler overwriting the merge file entries in the .hhp?

    This was a problem with Rh9, see Item 13 at Using RoboHelp 9
    I haven't seen it reported since but maybe something at that link will help.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • How to execute dos command in Java program?

    In Perl, it has System(command) to call dos command.
    Does java have this thing?
    or any other way to execute dos command in java program?
    Because i must call javacto compile a file when the user inputed a java file name.

    Look in the Runtime class, it is implemented using the Singleton design pattern so you have to use the static method getRuntime to get its only instance, on that instance you can invoke methods like
    exec(String command) that will execute that command in a dos shell.
    Regards,
    Gerrit.

  • Executing "at" command of UNIX through JSP

    Friends,
    1. "at" command in UNIX execute Unix command at a scheduled time. 2. For each user there will be a table maintained internally which can be accessed by "at" with "-l" argument.
    3. A mail will be sent to the owner with the output of the commands as a message.
    I tried to run the "at" command of Unix in JSP, which gets succesfully executed in Oracle 10g App Server container (Installed in Solaris machine). I have tested the successful execution of command with the log file. But I haven't got any mail for the output. If anyone had any idea, please help me.
    The code I have wtitten is
    Runtime rt = Runtime.getRuntime();
    Process proc = rt.exec(new String[] {"sh","-c","at 2115 Dec 7 < /export/home/usr1/abc.sh"});
    InputStream stderr = proc.getErrorStream();
    InputStreamReader isr = new InputStreamReader(stderr);
    BufferedReader br = new BufferedReader(isr);
    String line = null;
    logger.info("<ERROR>");
    while ( (line = br.readLine()) != null)
    logger.info(line);
    logger.info("</ERROR>");
    int exitVal = proc.waitFor();
    logger.info("Process exitValue: " + exitVal);
    My doubts are:
    1. Who is the owner of the output of "at"command, which gets executed under Oracle 10g App Server container?
    2. If no one is the owner, then where will the output of "at" command will go?
    3. Is there any other way to execute "at" command of UNIX in java program? If so, then please help me.
    Thanks in advance.
    regards
    Nandha Kumar.M

    I would imagine the process call out will be under the guise of the process owner of the OC4J instance which executing the call.
    Have you seen anything different.
    cheers
    -steve-

  • Execute os command w/sql

    Is there any way to execute an arbitrary os command (e.g., grep, etc.) and pipe its output into a SQL statement?
    e.g., UPDATE table SET column = `grep ....`;

    Thanks, Chris.
    We have a bit of a catch-22 here, since we're creating a sequence based on the contents of a table, and we want both the table and the sequence to be replicated via Cache Connect. We load the table, do a select and use the output of the select to create the sequence. The create sequence fails if the cache group exists, but if the cache group doesn't exist, then the table doesn't get replicated. There is no alter sequence command...
    Yes, we could load the table, do the select, save the result, truncate the table, create the cache group with the sequence, and then re-load the table, but that seems like a bit more trouble than its worth. Was hoping we could do something with the raw files before they were loaded directly from the ddl. Oh, well....

  • Is there any way to add a text from html into a PDF form using javascript?

    I have a SCORM based package having only a PDF form to show. I want to add user name from SCORM LMS to be added on the PDF whenever user launches PDF from LMS.
    Please let me know if there is any way to execute this.
    Thanx.

    Hi, hbirkie, and welcome to Apple Discussions. No, there isn't any way to apply text to a photo in iPhoto — you have to do that in a different application. MS Word is the last one I would ever have thought of using for that purpose, but if it works for you, great!

  • Afterfx command line "restores" maximized window - any way to duplicate ExtendScript invocation?

    Hi all,
    I am controlling After Effects CC from another application by invoking JavaScript files from the command line. But the command *always* restores the maximized window of After Effects. That is, if the After Effects application is maximized, it always *restores* it, every time I invoke the JavaScript file through the command line (e.g. through Windows cmd prompt or through my application). When I execute the same JavaScript file through ExtendScript IDE, it doesn't do this erronous behaviour.
    For example: "AfterFx.exe -r C:\path\showDialog.jsx"
    Contents of showDialog.jsx:
    alert("Showing Dialog from JSX file");
    My question is: Is there *any way* to mimic what ExtendScript does to invoke JavaScript files?
    From listening on Windows processes, it seems that ExtendScript tacks on some JavaScript code, dynamically, to do the execution (i.e. couldn't trace any command line processes/arguments). But I can't seem to figure out what exact JavaScript code it invokes. ExtendScript also seems to be working via Bridge.
    I get the same "restore window" behaviour when I try to use "-s" argument with the JavaScript expression passed as a string argument or if I use "AfterFx.com" instead of "AfterFx.exe". I couldn't find any documentation for what command line parameters are supported for AfterFx (other than "-r" and "-s") and what Extend Script might be doing exactly to invoke the .jsx files. I managed to take a peek at the executable binary of AfterFx.exe (through a hex editor) and noticed the following switches.
    -rquiet, -noerr, -noui, -debug, -livelink, -selflink, -headlessonly, -rquiet, -rq, -mp
    But I couldn't get the "window restoring" behaviour to stop with any of the parameters.
    Any advice will be really appreciated.
    Thanks.

    Hi,
    Thanks again for your comments. I tried with PsExec just now but no luck still. The only useful argument parameter in PsExe seems to be:
    -d
    Don't wait for process to terminate (non-interactive).
    But the same behaviour happens. I tried with "-e" as well (separately and combined with "-d").
    I also tried a few command line argument options with "start" command, on the Windows Command prompt. For example:
    "start /MAX AfterFx.exe -r C:\path\file.jsx" <-- supposed to start the application in the maximized state
    "start /b AfterFx.exe -r C:\path\file.jsx" <-- supposed to start the app without a creating a new window
    But no luck still . Tried various combinations of the above two arguments as well.
    Seems like Adobe After Effects explicitly does something weird to snap the application *out* of the MAXIMIZED state, if the executable is invoked (either via command line, with or without arguments or directly from start menu/GUI items). I don't know why they would do this though. I also wonder whether this is simply a bug in their implementation of Adobe After Effects CC on Windows 7.
    Is there any way to MAXIMIZE Adobe Effects Effects through their JavaScript API? I am wondering whether I can explicility check/set the window to be maximized in my invoked script, to fix this behaviour.
    Thanks.

  • One of the folders on my external hard drive has transformed into a unix executable file and I can no longer access my files. Is there any way to save the data?

    One of the folders on my external hard drive has transformed into a unix executable file and I can no longer access my files. Is there any way to save the data?

    Wow, have seen Files do that, but a whole Folder as I recall!
    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
    Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair. Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)

Maybe you are looking for

  • Announcements /events / FAQs web part in a scrolling fashion on the landing page

    hi, can anyone help how to develop the below kind of UI in my SP 2013 KM  portal using cqwp/cewp/ jquery. i tried with the custom visual web part, but my customer says they want me to use client side / OOTB feature of SP.  i am wanting to display the

  • Firefox won't start after update?

    Apparently my system crashed during a win7 64 update overnight. I restored to a previous restore setting and was able to get windows back and going again. Then, when I clicked my firefox shortcut to open the browser and restore my previous session it

  • Unknown Device ipod Classic and Windows Vista problem??

    Help!! My ipod Classic is not being recognized by my computer. I have read the previous articles and tried the solutions but I continue to get the result "Windows has determined that the driver software is up to date" I continue to get the error nois

  • Why do I get build failed "Can't find project or library" in TFS 2013

    Using TFS 2013, VB6, Windows Server 2008R2 Problem:  While performing a TFS build of a VB6 application, I am receiving an error "Compile error in file c:\builds\clsCommon.cls Line 122:Can'tfind project or library" Setup: I have three projects: two VB

  • ACE VIP OK HTTP, NOK other TCP port

    Hi, we are having issues in configuring load balancing for a TCP port. For HTTP it's working without issues and we have the ACE also balancing for other TCP ports. Here goes the relevant config: probe http PROBE-HTTP   interval 5   passdetect interva