Command Line in desktop

Hi all,
How can I to export a sheet using command line in Discoverer 10g? It's posible?
Thanks a lot.

disco51.exe /connect user/password@db /opendb workbook /sheet sheet1 /export XLS c:\spreadsheet.xls /batch
(roughly)
also check out disco51.exe /?

Similar Messages

  • Problem in passing parameters in command line in desktop

    Hi,
    I am trying to generate reports from command line (Oracle Discoverer 4i Version 4.1.42.04.00) but I am facing problems when I try to pass date or numeric parameters. It seems to work with strings
    The following command is successful when i pass string as parameters
    C:\orant\DISCVR4\dis4usr.exe /connect reports/reports@orcl /opendb load_report_1 /batch /sheet 2 /parameter "P Date" "31-JUL-2006 Month End" /export xls c:\Temp\load_report_!
    But in the following commands the command line execution stops when a worksheet with parameters is encountered. Once then parameter is entered the command line is executed successfully. In these problem cases it seems like the /parameter option is not being recognized. I have tried to pass parameters with double quotes, single quotes, without any quotes.
    C:\orant\DISCVR4\dis4usr.exe /connect reports/reports@orcl /opendb "load report 2" /sheet 3 /parameter "Select P Day" "20-JUN-2006" /batch /export xls c:\Temp\load_Report_2
    C:\orant\DISCVR4\dis4usr.exe /connect reports/reports@orcl /opendb "load report 3" /batch /sheet 1 /parameter "Enter Date Using Format YYYYMMDD" 20060703 /export xls c:\Temp\load_report_3
    The only difference I can see is that I have not used double quotes in the command line that is successful in generating reports with parameters.
    Any inputs will be appreciated - we are stuck in our project due to this issue. Many thanks.
    Warm regards
    Sucharita

    Hi
    I work in the same team as the original poster.
    We tried by changing NLS_DATE_FORMAT for the oracle_home.
    Just to clarify our issue I am describing it one more time below -
    Using Disc desktop (4.1.42) we are trying to run the reports using command line interface. Any report that takes character input for the parameters ,is running fine in the batch mode without prompting.
    Any report that takes Date/Numeric input for the parameters, though in batch mode, is prompting for user to give the parameters.We tried with quotes as well.
    For Example -
    1. Character input : when we run this command supplying the input parameter values (which are characters), report runs fine without prompting for values.
    C:\orant\DISCVR4\dis4usr.exe /connect rep/rep@orals /opendb Schd_Report /batch /sheet 2 /parameter "Process Date" "31-JUL-2006 Month End" /export xls c:\audit_report_5
    2. Date Input -
    C:\orant\DISCVR4\dis4usr.exe /connect rep/rep@orals /opendb "DLS.Arrears Reports" /batch /sheet 1 /parameter "Please Enter Date Using Format YYYYMMDD" 20060703 /export xls c:\CA_arr
    When we submit this we get a window prompting for the input values. So his is the issue.
    Thanks
    Raman

  • [plasma] Add icon of "command line" on desktop [Solved]

    Hi,
    for my work i use a ssh redirect port to make some applications (rdp, samba...) works and like this i can work outside like if i were inside the factory. So on kde4 i could put an icon with the command line, directly on the desktop.
    I guess it is possible to do the same on kde5. For simple application on kde5 i drag on the screen but it is not possible to see inside it and to change the code that is use.
    Is ther a way to do that on kde5 (plasma).
    Thanks
    Sincerely
    Last edited by archqt (2015-05-04 11:47:16)

    damjan wrote:Right click the "K" menu - the one that opens kickoff - and choose the "Edit applications…" menu.
    Then add you app, remember to check the "run in terminal" option.
    Thanks but is there any way to only have icon on desktop and not a line on the menu ? I can see the 2 are connected.
    Thanks

  • HT3924 Target display mode connects but only displays desktop background, no files or command lines

    I have connected my early 2014 MacBook to a late 2012 imac and connected them via Thunderbolt cable.  Pressing Command F2 causes the screen on teh iMac to change to teh MacBook background screen, but does not display any desktop files or command lines.  Any ideas how to fix this?

    Hi tdmone,
    Welcome to the Support Communities!  The resource below may help you with the Target Display Mode options for connecting your Macbook and iMac:
    Target Display Mode: Frequently Asked Questions (FAQ) - Apple Support
    http://support.apple.com/en-us/HT3924
    The table below shows iMac computers that support TDM, the required cables, and the port of the computer to which you are connecting the iMac.
    iMac Model
    Cable Supported
    Port on Source Computer
    iMac (27-inch Late 2009)
    Mini DisplayPort to Mini DisplayPort
    Mini DisplayPort or Thunderbolt
    iMac (27-inch Mid 2010)
    Mini DisplayPort to Mini DisplayPort
    Mini DisplayPort or Thunderbolt
    iMac (Mid 2011)
    Thunderbolt to Thunderbolt
    Thunderbolt
    iMac (Mid 2012 and later)
    Thunderbolt to Thunderbolt
    Thunderbolt
    Are you connecting via the Thunderbolt ports on both computers?
    How do I enable TDM?
    Make sure both computers are turned on and awake.  
    Connect a male-to-male Mini DisplayPort or ThunderBolt cable to each computer. 
    Press Command-F2 on the keyboard of the iMac being used as a display to enable TDM. 
    Note: In Keyboard System Preferences, if the checkbox is enabled for "Use all F1, F2, etc. keys as standard functions keys," the key combination changes to Command-Fn-F2.
    Can I use a third-party keyboard or older Apple keyboard to enable TDM?
    Some older Apple keyboards and keyboards not made by Apple may not allow Command-F2 to toggle display modes. You should use an aluminum wired or wireless Apple keyboard to toggle TDM on and off.
    I hope this information helps ....
    - Judy

  • Command line desktop icon

    I have finished my application in forms10g,
    as I create an icon in desktop for the execution?,
    What command line I can use?
    thank you very much

    Hello,
    For instance this one:
    "C:\Program Files\Mozilla Firefox\firefox.exe" http://your-machine:8889/forms/frmservlet?config=your_config
    Francois

  • Hello I am on a macbook pro (retina IOS 9) i have installed xcodes and command line tools but codeblocks does not compile, terminal gives this message /Users/MacPc/Desktop/Untitled1: Permission denied      any one has a solution

    Hello I am on a macbook pro (retina IOS 9) i have installed xcodes and command line tools but codeblocks does not compile, terminal gives this message /Users/MacPc/Desktop/Untitled1: Permission denied      any one has a solution?? please...

    Back up all data before proceeding.
    This procedure will unlock all your user files (not system files) and reset their ownership, permissions, and access controls to the default. If you've intentionally set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it, but you do need to follow the instructions below.
    Step 1
    If you have more than one user, and the one in question is not an administrator, then go to Step 2.
    Triple-click anywhere in the following line on this page to select it:
    sudo find ~ $TMPDIR.. -exec chflags -h nouchg,nouappnd,noschg,nosappnd {} + -exec chown -h $UID {} + -exec chmod +rw {} + -exec chmod -h -N {} + -type d -exec chmod -h +x {} + 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window by pressing command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
    You'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command may take several minutes to run, depending on how many files you have. Wait for a new line ending in a dollar sign ($) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1, if you prefer not to take it, or if it doesn't solve the problem.
    Start up in Recovery mode. When the OS X Utilities screen appears, select
              Utilities ▹ Terminal
    from the menu bar. A Terminal window will open. In that window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not going to reset a password.
    Select your startup volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
               ▹ Restart
    from the menu bar.

  • Webstart-deployed desktop app, command line and Windows ShellExecute.

    Hi all,
    I want to be able to associate Windows Shell registry actions (shellExecute from right click menu, double click, and protocols) with a Webstart Java Swing desktop app. This is pretty key to our deployment strategy.
    I have two options that I'm pursuing right now.
    OPTION A
    Unfortunately I'm encountering a few problems:
    1) javaws.exe does not accept parameters, therefore I can't pass parameters directly from a Windows command line
    2) The only way to get arguments in is through the jnlp file. Sounds like this is possible using a jnlp written by a servlet. But can I just pass GET parameters to my servlet like so?
    http://webstart.com/go/?param=value&param2=value2Would that work?
    2a) subissue: I want to use JNLP's SingleInstance to make sure that only one of my app is running at any time. It sounds like that JNLP interface also allows for new parameters to be passed in as arguments... but if I pass in parameters to my webstart address, will SingleInstance properly recognize that http://webstart/go and http://webstart/go?param=value are the same program?
    OPTION B
    So the alternative deployment strategy that I'm contemplating is using webstart, but then deploying a separate .jar to the machine and registering that to be the argument acceptor from Windows. So windows would run something like so:
    java -jar cmdLauncher.jar argshereFrom there I will do two things:
    a) If the program is already running, then I pass the argument in using network sockets and deal with it like so.
    b) If the program isn't already running, then I execute javaws http://myurl and then maybe write to the socket when it's ready. This might really suck since i'll have to poll until the socket is ready.
    Anyway, was hoping someone with more webstart internals had some idea as to
    a) would a option A (dynamic servlet) work in the way I expect?
    b) Is option B the only way to really do it? It certainly seems feasible at this point.
    Ideally I just wish javaws.exe allowed passing arguments, and thus this entire problem would not exist. It's a pretty powerful and important feature for WebStart to be able to be a fully featured deployment solution.

    OPTION A
    Unfortunately I'm encountering a few problems:
    1) javaws.exe does not accept parameters, therefore I
    can't pass parameters directly from a Windows command
    line
    2) The only way to get arguments in is through the
    jnlp file. Or the SingleInstanceService.
    ....Sounds like this is possible using a jnlp
    written by a servlet. But can I just pass GET
    parameters to my servlet like so?
    http://webstart.com/go/?param=value�m2=value
    2Would that work?Huh? Assuming the servlet that produces the
    launch file fir this application is called 'go', and that
    servlet returns the correct content-type, and writes
    the two params in the URL into the JNLP as
    arguments, then.. yes - this should work.
    http://webstart.com/go?param=value�m2=value2Note the lack of one '/'.
    ( I have not had much direct experience with
    JNLP combined with servlets, but am familiar
    with both. )
    2a) subissue: I want to use JNLP's SingleInstance to
    make sure that only one of my app is running at any
    time. It sounds like that JNLP interface also allows
    for new parameters to be passed in as arguments...
    but if I pass in parameters to my webstart address,
    will SingleInstance properly recognize that
    http://webstart/go and http://webstart/go?param=value
    are the same program?As I understand from my experience, the URL
    becomes redundant, any params that were in
    the JNLP are ignored in preference to the single
    -open argument. Here is my buildable example..
    http://www.physci.org/jws/#sis
    a) would a option A (dynamic servlet) work in the way
    I expect?Sounds like it.

  • Desktop command line parameter problem

    We have just completed an upgrade from Discoverer 4i to 10g. We use the desktop version installed on a windows 2000 terminal server to run a batch file nightly (using the windows task scheduler to call the batch file). This runs the reports, then exports them in xls format to a public directory. During my testing I installed the 10g desktop version on my win xp machine to test the command line capabilities - we have about 50 reports that run nightly, and everything ran fine. Now I have installed the 10g Desktop and Admin versions on the terminal server, and need to use this new version to run the reports nightly. I did the install as an admin, and I am running the scheduled task as an admin. The reports are failing, complaining about the parameter values. With the exception of the path to the dis51usr.exe file, I'm using the exact same command line on my pc as I'm using on the terminal server.
    Here's the command line I'm using on my pc, which runs fine:
    c:\oracle\BIToolsHome_1\bin\DIS51USR.EXE /connect it_reports/password@prod /opendb "Order Shipments" /parameter "From Date" "01-APR-2006" /parameter "To Date" "30-APR-2006" /parameter "Sales Territory" "North America" /export xls "\\docserve\rhonda\Discoverer\DiscovererReporting\SalesReporting\North America\Order Shipments Apr 2006.xls" /batch
    Here's the command line I'm using on the terminal server:
    d:\oracle10g\BIToolsHome_1\bin\DIS51USR.EXE /connect it_reports/password@prod /opendb "Order Shipments" /parameter "From Date" "01-APR-2006" /parameter "To Date" "30-APR-2006" /parameter "Sales Territory" "North America" /export xls "\\docserve\rhonda\Discoverer\DiscovererReporting\SalesReporting\North America\Order Shipments Apr 2006.xls" /batch
    This fails, with the following noted in the log file:
    4/25/2006 1:54:09 PM
    d:\oracle10g\BIToolsHome_1\bin\DIS51USR.EXE /connect it_reports/password@prod /opendb Order Shipments /parameter From Date 01-APR-2006 /parameter To Date 30-APR-2006 /parameter Sales Territory North America /export xls \\docserve\rhonda\Discoverer\DiscovererReporting\SalesReporting\North America\Order Shipments Apr 2006.xls /batch
    Invalid value "From Date" for parameter "01-APR-2006"
    Invalid value "To Date" for parameter "30-APR-2006"
    Invalid value "Sales Territory" for parameter "North America"
    4/25/2006 1:54:10 PM
    I've been trying to figure this out for a couple of days now. Just got my copy of the new Discoverer 10g Handbook in the mail today (great book, by the way!) - I was hoping it would shed some light on this problem, but I'm still stuck. I'm hoping I'm missing something really simple here, and appreciate any help I can get.
    Thanks
    Rhonda

    Hello Ott,
    Yes, I tried that, because that is what the error message indicates. I also tried using single quotes instead of double around the parameter names and/or parameter values, and using no quotes at all. The confusing thing is that the same command works on my pc installation. I have also looked at all the option settings between the 2 installations, and made sure they are the same. The only difference is the operating system - for the life of me I can't figure out why 10g would act any different than 4i installed on the same OS, or for that matter why 10g would act any different installed on XP vs Terminal Server. I've got to be missing something simple here.
    thanks
    Rhonda

  • Remote Desktop Initiating Command Line Software Update to local server

    Hi there-
    We have a Software Update server (Mac OS X 10.4.4 Server) that works great. I'm trying to initiate a software update on a lab of 20 computers with ARD through the "send unix command." Now, because it's a software update, you need admin privs to install the software.
    I'm initiating the command line software update as root so that it will install without prompting for a password (and not having to type one in 20 times).
    However, as root user or any other admin the Open Directory setting to have the computer point at our local software update server is ignored. Is there any way around this other than not allowing administrators ignore management settings?
    There doesn't seem to be any way to tell the software update command line utility what server to look at.
    Any ideas?

    I had the same problem and came up with this solution. Create this text file and then copy it to /Library/Managed Preferences/root/com.apple.SoftwareUpdate.plist on each workstation. Replace the <<your server here>> with the address of your actual software update server.
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>CatalogURL</key>
    <string>http://<<your server here>>:8088/</string>
    </dict>
    </plist>

  • Running Discoverer Desktop query.... via command line

    Hi Everyone,
    Hope all is well,
    I have learned how to run Discoverer using command line.
    My question is:
    ===========
    When you log into Discoverer manually, the parameters values that were last used in the last run display when
    the query opens....
    When i run Discoverer command line, i have to explicitly mention all the parameter names and their values
    If i do not mention the parameters, i get an error message: unresolve parameter...
    I'd really like to run the query command line style WITHOUT mentioning parameters, and wish Discoverer to run
    the query with the default parameters....
    Is this possible...
    Thx for your ideas and advice, sandra

    Hi Tamir,
    sigh...
    tx for writing...
    i just found this post.... says if parm is used in calc, cannot be made optional...
    Parameters - do they have to be mandatory?
    tx, s

  • Error while running a Discoverer Workbook with parameter from command line

    I am trying to run a discoverer report from command line and export the results in xls on to my local machine. I could do it fine for a simple workbook, but if I add a parameter(madatory) to the workbook and run it from command line specifying the parameter value I wanted to run the report for, I do not get any results. Here is the command line I am using.
    dis51usr.exe /connect user/password@database /apps_user /apps_responsibility "System Administrator" /eul EUL_US /open C:\Disco\Test.DIS /sheet Testsheet /parameter Period Jan-07 /export xls C:\Disco\X.xls /batch
    Parameter value is entered in correct format(Jan-07).
    When I removed /batch from this to see if I get any error, Discoverer Desktop opened up, logged in and gets terminated saying 'Oracle Discoverer Desktop has encountered a problem and need to close. We are sorry for the inconvenience.'
    Did anybody come across this issue before?

    Hello,
    If you have a few minutes, Windows is also aborting for me:
    the differences are, my situation is:
    a) am running the command line from a .bat file
    b) am NOT running with parms, want the discoverer query to come up for the user
    c) am running a query from the database
    i am signing in as myself BUT running a query that was created by a generic user called SREG
    c) if i run the .bat file from Windows Explorer, the query opens fine
    d) if i execute the .bat file from within Microsoft Access using the shell command,
    the query opens and then aborts RIGHT BEFORE the parm screen would display
    e) btw, if i modify the .bat file, to run a query from MY database signon, then (d) - running .bat file
    from vb using SHELL command works
    Do you have a ideas as to why (d) does not work? I would be very grateful for your time, tx, sandra
    this is what i posted yesterday, tx: Re: Running Discoverer command line
    tx, sandra

  • GUI Applications unable to use command line tools

    Hi All-
    I've searched, but I can't find a thread about this one, so...
    On OS 10.4.5:
    Whenever I use a GUI app that wants to use a command line tool (e.g. curl, df, java), the app fails giving an error message to the effect of "unable to find curl" or the like. It is as if the GUI cannot find my unix $PATH.
    Examples:
    -- Eclipse refuses to launch, because it appears to use "java xxxxxxx" to launch.
    -- Automator fails to run certain Safari actions because they use curl to navigate web pages.
    -- Carbon Copy Cloner fails to launch, because it can't find a tool (df, IIRC) to read drive/volume info
    Possibly relevant details:
    -- I can use the tool in question from the command line, so they are present, and in my $PATH, but the GUI can't find them.
    -- I recently moved from an old G4 to a relatively new G5, and had issues migrating files, so I eventually just copied my entire home directory from the old machine to the new, replacing the freshly created one on the new machine. I feel like that missed something that tells the GUI where your $PATH is, or some other link between GUI and command line.
    -- I created a new user, and that user does not experience the same troubles. This adds to my suspicion that it is account/PATH related.
    Any help anyone can give it greatly appreciated.
    -p
    PM G5 dual 2.0   Mac OS X (10.4.5)  

    Did you by any chance create an evironment.plist file? It is located in ~/.MacOSX/ If you don't know about it or don't know to look (.MacOSX is normally invisible), try this:
    In Finder.app, in the "Go" menu select "Go to Folder..." (shift-command-G), type ~/MacOSX in the text field and hit OK, the finder should then open a window or complain.
    If it opens a window and you find in it a file named environment.plist move that file to the desktop and try your applications. Do they work as advertized? Try again after logging in/out if things don't work. Do they work now?
    Whatever hapens, tell us more...

  • Need a command line switch to close Acrobat Catalog Index batch file

    I am looking for help with a command line switch.  I am VERY new to scheduling tasks and writing scripts.
    Our office created an Acrobat Catalog Index that needs to be updated on a regular basis.  I created a .bpdx file as follows:
    \\dept\SPDintelshare\Analysis\2nd Hand Transaction Logs\Secondhand Transaction Logs.pdx /rebuild
    This runs via Microsoft Task Scheduler from a .bat file as follows:
    "C:\Program Files\Adobe\Acrobat 9.0\Acrobat\Acrobat.exe" "C:\Documents and Settings\cutrone0999\Desktop\PawnIndex.bpdx"
    The batch runs just like it is supposed to, but it won't close when it is finished re-building.  I have tried using EXIT at the end of the .bat file and that doesn't work.  I also tried a force close for acrobat.exe and that doesn't work either.  The problem is that if I log off my computer the batch will run as scheduled and when I log back on in the morning the scheduled task shows 'running' and I have to end it.  Then I have to re-start my computer or I can't open any Adobe documents.
    If I leave my computer logged on, the batch runs as scheduled and when I log back on in the morning I have to close the dialog boxes showing the index re-ran and then close Adobe.
    I would appreciate any suggestions.  I have googled this every way I can think of and I'm not finding any results that are helpful.  Thank you in advance!
    Paula Cutrone
    Lead Crime Analyst
    Onondaga Crime Analysis Center
    Syracuse, NY

    Acrobat can be opened by a Windows batch process, but a Windows batch process can not trigger a batch process/Action within Acrobat.  It is possible with MacIntosh's Apple Script to open a PDF and run Acrobat JavaScript but not interact with Acrobat's Batch Processing or Acrobat's Actions. Note that opening a BPDX file is different than opening an Acrobat Seq file.
    The catalog/index scheduled update is not part of Acrobat "Batch Process" or "Action". The running of rebuilding of the catalog/index is controlled by the values within the  BPDX file. So if one opens the  BPDX file with Acrobat and a catalog/index is scheduled to be rebuilt or past the scheduled date and time, then the catalog/index build is submitted for precessing by Acrobat..
    Now the issue is how to close Acrobat after this processes has completed. Since Acrobat does not communicate with the Windows OS system, the Widows scheduled process has no way to know when this task has completed. Even though one can use JavaScript to test the status of a submitted Catalog/Index build/rebuild there is no communication of the submitted catalog job unless quired by Acrobat JavaScript. If you check the Acrobat JS API Reference you will see there are 2 possible results for a catalog/index rebuild, a completed rebuild and a termination with errors. One of these should require additional action.
    Further, a recent update to Acrobat JavaScript has added restrictions to using JavaScript to "closeDoc" method which may need to be addressed.
    It is also possible to open an FDF file and add/run JavaScirpts within a PDF, and again this is different than running a "Batch Process"/"Action" in Acrobat.

  • Error while running the Discoverer report from the command line.

    Hi All,
    I've to run a discoverer report from command line and export the results in xls/html on to my local machine. This report I've to run it as batch and scheduled it.
    I have a parameterized worksheet and this has to be run from command line specifying the parameter value I wanted to run the report for. I do not get any results. Here is the command line I am using.
    dis51usr /connect user/password@database /opendb "TIMS-PCJ status Report" /sheet "TIMS observation status report (based on performed date)" /parameter "Test Number" '40351' /parameter "From Date" '05-MAY-2008' /parameter "To Date" '06-MAY-2008' /export HTML "C:\DISCOVERER_REPORT_SCHEDULING\DIS_OUTPUT\PCJStOutputinHTML123"
    I even added the TO_DATE conversion for the parameters and also gave the format of the date as 'DD_MON_YYYY'.
    Discoverer Desktop opened up, logged in and gets terminated saying 'Oracle Discoverer Desktop has encountered a problem and need to close. We are sorry for the inconvenience.'
    Please anyone reply me.
    Regards & Thanks,
    P. Gayathri Devi

    Hi Gayathri,
    Try changing your parameter names to be a single word. (Change "Test Number" to Test_Number).
    Does the report run fine when run through Desktop for the same parameter values? Which version of Discoverer are you using?
    Thanks.

  • How to change "open with" defaults via command line?!?

    folks,
    i know that if i get info on a file -- in this case, a filemaker 5.5 file -- i can choose the default "open with" settings and apply those settings to all files of that kind. see the attached image for what i mean.
    but how do i do that via the command line?
    thus far, here's what i've got: i know that i can open a document called "scrubbing shell.sh" on my desktop WITH either MS Word of TextEdit by calling:
    open -a textedit /Users/david/Desktop/scrubbing-shell.sh
    or
    open -a Microsoft\ Word /Users/david/Desktop/scrubbing-shell.sh
    no sweat. BUT....how do i set the defaults so that it ALWAYS opens with that app in the future when double-clicking via the GUI?
    many thanks, ya'll!
    david koff
    associate systems admin
    the j. paul getty trust
    dkoff AT getty DOT edu

    Hi David,
       OK, I investigated the new format and treatment. It appears that the first entry in the property list file that matches the file being opened wins. The Finder may still honor the new format; when I moved my old Panther file into Tiger it seemed to work. However, in other ways, the Finder doesn't recognize the old format, which is the format of the FileMaker entries you posted.
       The Finder puts all of the new format entries at the beginning of the property list file. If you change a preference that was controlled by an old format entry, the Finder won't edit that entry. What it will do is to create a new entry in the new format closer to the beginning of the file than any of the old-format entries. SInce the new entry comes first, the old one doesn't apply. If you then edit the preference and change it back to what it was before, the Finder will edit the new entry. Consider the following sequence of events and commands:
    % cp ~/Library/Preferences/com.apple.LaunchServices.plist ~/Library/Preferences/com.apple.LaunchServices_copy.plist
    I change all GIF files to be opened by GraphicConverter instead of Preview, which is an old setting in the old format.
    % plutil -convert xml1 ~/Library/Preferences/com.apple.LaunchServices.plist
    % diff --text ~/Library/Preferences/com.apple.LaunchServices.plist ~/Library/Preferences/com.apple.LaunchServices_copy.plist
    404,409d403
    <      <dict>
    <         <key>LSHandlerContentType</key>
    <         <string>com.compuserve.gif</string>
    <         <key>LSHandlerRoleAll</key>
    <         <string>com.lemkesoft.graphicconverter</string>
    <      </dict>
    Then I change all the GIF files to be opened by Preview again.
    % plutil -convert xml1 ~/Library/Preferences/com.apple.LaunchServices.plist
    % cp ~/Library/Preferences/com.apple.LaunchServices.plist ~/Library/Preferences/com.apple.LaunchServices_copy2.plist
    % diff --text ~/Library/Preferences/com.apple.LaunchServices.plist ~/Library/Preferences/com.apple.LaunchServices_copy.plist
    404,409d403
    <       <dict>
    <          <key>LSHandlerContentType</key>
    <          <string>com.compuserve.gif</string>
    <          <key>LSHandlerRoleAll</key>
    <          <string>com.apple.preview</string>
    <       </dict>
    % diff --text ~/Library/Preferences/com.apple.LaunchServices.plist ~/Library/Preferences/com.apple.LaunchServices_copy2.plist
    408c408
    <          <string>com.apple.preview</string>
              <string>com.lemkesoft.graphicconverter</string>
       Note that I had to change the file to text after every change because the Finder converted the file to binary format every time it edited it. I didn't have to logout or reboot; the property list file change less than a second after the preference was set. I'm guessing that because you were just looking at the old-format entry, you missed the real changes to your property list file. Did it change from text to binary format? Try the command line tools that I used above.
       Note that this means that it matters where you put your entries in the property list file if you edit it.
    Gary
    ~~~~
       There are only 10 kinds of people in the world. Those
       who understand binary numbers and those who don't.

Maybe you are looking for

  • Multi-year monthly CO report for Actual/Budget/Variance

    I have a requirement of creating a 5-year cost centre report for the following: Actual by month (5 years x 12) Budget by month (5 years x 12) % of the monthly amounts compared to the total (5 years x 12) Variance (5 years x 12) The request is at the

  • Adobe PDF Printer gone after updating!?

    Good afternoon, My PDF Printer has literally disappeared after running the automatic update (9.4.4) early this morning. In fact, the sequence has been like this: 1. Running InDesign so I keep on working on a project. 2. Adobe updater pops up 3. Since

  • How Do I Set up Windows 7 to Use Aero Theme?

    Can someone give me some pointers here?  Is it possible to modify the Unattend.xml to load the Windows 7 Aero theme or do it with MDT/SCCM?  Every time I  install/Deploy Windows 7, the Windows 7 Basic theme keeps loading?  I have to go in and manuall

  • Clara search changed my first page and when I go to Options I cannot restore Mozilla Firefox homepage. Can I do something about that?

    I have downloaded a program which then installed in my computer the "Clara search engine". Since then every time I run Firefox, or any other browser, "clara search" or "searchfunmoods"(?) always appear as the first page. I have uninstalled the clara

  • Spry menu when published

    Could somebody please view my site, www.turnersdesigns.com the spry menu goes funny when published to the web, i had made sure all spry assests are up loaded too, the live view and publish within dreamweaver are fine just when uploaded to ftp to it a