Mysql startup line in server startup script

I am trying to create a cron job for my backup of MySQL data. This seemed simple on linux (just a start and stop mysql statement) But I can't seem to figure it out on Mac Server 10.5 I have tried the mysql.server and MySQLCOM but that does not work.
Where is the Mac Server OSX main startup script(s) so I can copy the line that starts MySQL?
Cheers!

Hi,
mysqldump should work. I found it referenced in CCC and elsewhere
http://www.vbulletin.com/forum/showthread.php?t=2978. Unless your database is huge, it does not require stopping/starting the database manually.
Backup the entire database with:
mysqldump -u user_name -p your_password database_name > File_name.sql
Restore with:
mysql - u user_name -p your_password database_name < File_name.sql
HTH,
Harry

Similar Messages

  • How to specify the webLogic server startup script to use different config.xml  file ??

    Hi,
    I have 2 weblogic startup scripts (startWebLogic.sh and
    startWebLogic_recovery.sh) for the same domain.
    startWebLogic.sh uses config.xml file.
    I would like to use config_recovery.xml as the configuration file for startWebLogic_recovery.sh
    How would I do this ?
    I am using WebLogic Server 6.1 on SunOS 5.8 / HP-UX 11.0.
    Appreciate any help.
    Regards
    Gunaseelan Venkateswaran

    I guess you're using Weblogic 6.1 with WLCS 3.5. I think you're supposed to work with one config.xml for the same domain, and not have a different config.xml.
    To start up different applications or EJBs, use the "target" property to control which applications to start up for the particular instance.
    YY

  • Managed server startup script not reading login info from boot.properties

    To encrypt the username and password in weblogic admin server, I used a boot.properties file and setting some properties like StoreBootIdentity=true. This works as expected.
    Now, I have a weblogic managed server within the same folder i.e.
    under /bea/user_projects/domains/mydomain
    To get the similar behaviour on this managed server, I created a boot1.properties file and set the following in the startup script
    java -Djava.compiler=NONE -ms200m -mx200m $HOTSPOT_OPTIONS -classpath $CLASSPATH -Dweblogic.Domain=mydomain -Dweblogic.Name=$SERVER_NAME -Dweblogic.management.server=$ADMIN_URL -Djava.security.policy==$WL_HOME/server/lib/weblogic.policy -DRCP_PROPS=/data/css/adixit/samsung/scc612/server/cfg/RCP.props -Dlog4j.configuration=log4j.xml -Dweblogic.system.BootIdentityFile=/bea/user_projects/domains/mydomain/boot1.properties -Dweblogic.RootDirectory=/bea/user_projects/domains/mydomain weblogic.Server
    When I run the script I get the following :-
    <Jan 24, 2005 3:41:44 PM GMT+05:30> <Info> <Security> <BEA-090065> <Getting boot identity from user.>
    Enter username to boot WebLogic server:
    Why is it not able to pick the username and password from the boot1.properties file ? Any clues ? What settings can I change to make it work ?
    Thanks in advance.

    Being that you posted this problem a few months ago, I am assuming you found the cause of your problem. I too experienced this same symptom (boot.properties not being read) when trying to start a managed server on a different server than the admin JVM. I found the resolution in the following documentation:
    http://e-docs.bea.com/wls/docs81/ConsoleHelp/startstop.html#BootIdentityFiles
    Basically, you have to copy the SerializedSystemIni.dat from the server that the admin JVM is on to the secondary server where the managed JVM is going to run. I was able to do as the link says (add the boot.properties file with plain text passwords and have it encrypted). Hope this helps you or someone else down the road.

  • Can we have seperate startup script for each managed server?

    Hi,
    Can we have a seperate startup script (startManagedWebLogic.sh) to start each
    Managed Server? for example startManagedWebLogic.sh for ms1 and startManagedWebLogic.sh
    in ms2 in another directory?
    Any help would be appreciated.
    Thanks
    Siraj

    startManagedWebLogic.sh internally calls startWebLogic.sh with few added parameters, that's all it does. You are free to modify the startup script, the way you want.
    Madan
    >
    Hi,
    Can we have a seperate startup script
    (startManagedWebLogic.sh) to start each
    Managed Server? for example startManagedWebLogic.sh
    for ms1 and startManagedWebLogic.sh
    in ms2 in another directory?
    Any help would be appreciated.
    Thanks
    Siraj

  • Bridge can't find Startup Scripts on OSX (CS5, CS5.5, CS6)

    I just spent a few hours trying to figure out why Bridge could not be launched from Photoshop, and also why the Stratup Script panel in Bridge Preferences was empty.
    On the chance someone else has this issue, I have found one cause for the problem on OSX... and I must say it is rather stupid.
    If you have a volume named "Library" mounted, either a local volume or a server volume, Bridge expects to find its startup scripts on it. You can either rename the volume, or if that really isn't an option, you can create a folder path of /Application Support/Adobe on the Library volume and copy the /Library/Applications Support/Adobe/Bridge CS6 Extensions  and  /Library/Applications Support/Adobe/Startup Scripts 6.0 folders to that new folder.
    Obviously renaming the volume is the easiest. Replace CS6 in the paths above with CS5 or CS5.1 if you also use those products.
    If you have encountered this error in Photoshop when opening bridge, you may have a volume called "Library":
    Error 2: photoshop is undefined.
    Line: 1
    -> photoshop.invokeBridge (false, false, '');

    If you have a volume named "Library" mounted, either a local volume or a server volume, Bridge expects to find its startup scripts on it. You can either rename the volume, or if that really isn't an option, you can create a folder path of /Application Support/Adobe on the Library volume and copy the /Library/Applications Support/Adobe/Bridge CS6 Extensions  and  /Library/Applications Support/Adobe/Startup Scripts 6.0 folders to that new folder.
    I'm sorry but I certainly can't second this advise, in fact I'm strongly against it. Mac Os uses 3 libraries, one at root level, one in the system folder on root level and one on user level, by default hidden per OSX 10.7.
    That is for a single user set up.
    Creating folders in those libraries yourself should only be done with great care and good knowledge but rather you should let this be done during default installation of the applications themselves, they have been designed to place the folders they need to use to work under the correct name and path, otherwise they won't recognize the needed files or script or preferences.
    Renaming the library folder or creating a folder called library your self is a bad idea because all applications use the default root- and user library for various tasks as does the system itself.
    If your initial installation ended up without having access to the other applications using the start up scripts inBridge the install either went wrong or your copy of the software is not correct.
    The default location for the start up scripts should be in the library at root level and that would make the path: Macintosh HD (or the custom name you gave to the start up disk) / Library / Application support / Adobe / Startup Scripts CS6.
    Inhere should each installed application of the CS6 suite have a folder with its application name. These folders contain the needed scripts. Some have only one and some have more. the particular script to run Photoshop is called "photoshop.jsx".

  • Need to write a startup script for TunTap

    Dear community,
    I am using 10.10.1, 13" MBPr Late 2013 and I need to be able to access my Work VPN. From what i have been told, the OS X client can't work and that I have been advised to use Shrew Soft VPN. (We initially tried to get the WatchGuard Firewall to build a Mac .dmg and that didn't work). To get ShrewSoft to work, I have had to follow these steps:
    http://ulaptech.blogspot.co.uk/2012/11/shrew-soft-vpn-client-for-mac-os-x.html
    ·         Install the qt-mac-opensource-4.7.1.dmg file first
    ·         Install the tuntap20111101.tar.gz file second
    ·         Install the shrew soft client.
    But the TunTap download that is above will not work as it is unsigned and Yosemite has now killed off unsigned kexts.I tried turning off the requirement for OS X for signed kexts by using this command:
    sudo nvram boot-args="kext-dev-mode=1"
    Then rebooting, but it didnt work.
    I can get the VPN to work if I open up terminal and enter these two commands:
    sudo kextload /library/extensions/tap.kext
    sudo kextload /library/extensions/tun.kext
    But I have to do this everytime i turn my Mac on.
    Could somebody please help me write those two lines into a startup script? As I really have no idea how to do it.
    Your help and guidance would be appreciated

    Choose Utilities from the Finder’s Go menu, open the AppleScript Editor, and paste in the following:
    set thepassword to text returned of (display dialog "Your administrator password is required." default answer "" with hidden answer)
    do shell script "kextload /Library/Extensions/tap.kext" with administrator privileges password thepassword
    do shell script "kextload /Library/Extensions/tun.kext" with administrator privileges password thepassword
    Save it as an application and set it as a login item.
    (120186)

  • Office 2010 setup thru computer startup script

    I am trying to install Office 2010 (sp2 seperate in the updates folder) thru group policy startup script and configured with OCT .msp file. Also try to start Access Runtime 2010 with SP2 update in the updates folder.
    In group policy set run scripts asynchronisely disabled and run scripts visible enabled otherwise i could not see what the system was doiing also not when configiguring OCT with full display. The gpo settings lets the screens show during install so the user
    can see what happens.
    There is another problem that rises however: I have made 2 batchfiles and both are starting as a computer startup script in seperate gpo's (that is in another post). First the Accessruntime is installing, after that Office 2010 is running. Both are installed
    after login but only one of the 2 have SP2 installed (7015) in this case Accessruntime has it. When i run only the Office 2010 install and not the Accesruntime 2010 then Office 2010 standard has also SP2 installed (version 7015). When running both only Runtime
    has this sp2 and Office has 4763 this is without sp2 i believe.
    In both folders (Office en Runtime) are the update files .msp in the updates folder of the installation, so thats ok.
    Why is only 1 of the 2 installing the SP2 when running both?
    A second thing is when restarting the system and before the login screen appears a message: Upgradepatch cannot be installed by Windows installer becasue the upgraded program does not excist of the upgradepatch is not suitable for this program?
    Here is part of the batchfile:
    IF EXIST "c:\program files\Microsoft Office\Office14\WINWORD.EXE" (goto mkfile) ELSE (goto DeployOffice)
    :mkfile
    ECHO Office 2010 is reeds geinstalleerd>c:\temp\office.txt
    goto end
    :DeployOffice
    call cscript \\sharename\office2010\Offscrub03.vbs ALL /bypass 1 /q /s /NoCancel
    start /wait %DeployServer%\setup.exe /adminfile %DeployServer%\officeconfig.msp
    echo %date% %time% Setup ended with error code %errorlevel%. >> %LogLocation%\%computername%.txt
    Another batchfile
    start \\sharename\accessruntime2010\setup.exe /config \\share\accessruntime2010\config.xml
    REM echo %date% %time% Setup ended with error code %errorlevel%. >> %LogLocation%\%computername%.txt
    freddie
    after installing both runtime and office both have SP2 in updates folder:
    runtime 4763
    Office 2010: 7015
    So in this example runtme is installed without the SP2. installing runtime alone gives with SP2...
    The message is gone. There was a other policy inherited from above that caused the message. The only problem now is that when installing both, runtime 2010 with SP2 files and Office 2010 with SP2 files, then one of the two don't get the Sp2 installed, why
    is that?

    > In the bat file, I have a line that records if the install completes
    > successfully or failed.  I don't have any other logging in my
    > script.  Are you referring to something like GPO logging? I know that
    > the script runs because when I am looking at one of the PCs, I can
    So it is NOT GP related but rather your script fails?!? Put some "echo
    %~n0 %date% %time%>>Log-File-Of-Your-Choice.txt" in it to check what's
    going on. And put ">>Log-File-Of-Your-Choice.txt 2>&1" at the end of
    critical commands to capture their output.
    > I ran the gpresult /h command which shows all User Configuration
    > policies, but NOTHING appears under the Computer Configuration section.
    Admin commandline? If not, you don't see computer settings :)
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))
    Martin,
    I still did not figure out why the installation script did not work for some of the PCs, even though the PCs have the same image.  For the ones that don't work, I will install manually.  Can you please look at the screenshots of the GPO
    settings I am using, and let me know if there is any settings that I need to remove or add?
      Thanks

  • Qustion for those using a ConfigMgr startup script in your environment

    Hello, I've been testing Jason's ConfigMgr Startup Script and really like it so far. My only gripe is that I can't use environmental variables in the XML file for client and hotfix locations. For example,
    rather than "\\server1.domain.local\Client" I'd like to specify "\\%server%\Client". This would be very helpful to reduce WAN traffic. When I set a variable the script uses it as a literal string and obviously can't find the server named
    %server%. Has anyone found a startup script that will allow this or modified Jason's?
    Thanks!

    I know he spending time with his family over the holidays. I'm will to bet that he will be back on Jan 6th. and it will take a few days for him to clean up his inbox. so look for a reply late next week.
    http://www.enhansoft.com/

  • Group Policy - Computer Startup Scripts - Add/Set Default printer

    Good Morning.
    Let's say we have 2 offices, A and B, and only 1 user.  The user is using Roaming Profiles.  Each office has its own printer.
    What I am trying to do, is make a Startup script that is specific to the COMPUTER being logged into so when any user logs into that computer, they get the printer in that office defined and set as default.
    I am able to do this successfully with my script but ONLY if i have the script be on the USER side of GP (i.e. in the Logon script section)
    That is great that that is working however, when my user goes to Office B, they still get mapped to Office A's printer if I use that method.
    So I figured I could just modify my GP and run the same script from the STARTUP section of the computer, rather than the LOGON section of the user.  It does not work.
    Here is my script:
    Set WRFCUNetwork = CreateObject("Wscript.Network")
    PrinterPath = "\\fileserver\MAINTELLER"
    PrinterDriver = "PrinterDriver"
    WRFCUNetwork.AddWindowsPrinterConnection PrinterPath, PrinterDriver
    WRFCUNetwork.SetDefaultPrinter "\\fileserver\MAINTELLER"
    This is where I Have the script placed:
         Computer Configuration -> Windows Settings -> Scripts(Startup/Shutdown)
    Once i'm in there, I double click Startup, click Add, and select my script which is named:
         MainPrinterSetup.vbs
    I have this GP applied to ONE OU, and that OU has ONE computer in it (my test computer)
    I login with a brand new user called "testuser" (creative, huh?) and basically nothing happens
    except they log in and have some Microsoft Document Image Writer printer set as default (which by the way sure does slow the PC down to the point of it almost being broke if anyone actually tries to print to that by accident)
    No Main Teller Printer, no anything.
    The strangest part about this is, if i apply this script to the user LOGON scripts, it works fine, the printer is there, and is set as default. (but see above why that wont work for my situation)
    So obviously the script works fine, but I guess i'm missing something when it comes to applying GP's to Computers rather than Users.
    Can anyone shed some light as to why the script is not running (i'm guessing the script isn't even attempting to run, rather than failing, but i have no way to know that)
    Thank you in advance!!
    Derek Conlon
    Network Administrator
    WRFCU
    EDIT:  Here are the PC's info that i'm working on:
         Server:  Windows Server 2003 Standard Edition (where my GP's are created and managed with AD)
         Target PC:  Windows XP Professional SP3
    EDIT #2:  I manually navigated to the Script file after logging in and "opened" it and it added and set the default printer no problem.  the issue is definately with the script running at startup.

    I wanted to clarify a few things:
    1. While it is true that printer connections are usually per user, it is definitely possible to create "global printers".  There are a number of ways to do this, but two methods that come to mind are using:
    a. "Rundll32 printui.dll,PrintUIEntry" option with the "/ga" switch.  The "/ga" switch is the key here since it allows you to deploy printers "per machine" instead of "per user".  More information
    about this is available at:
    http://members.shaw.ca/bsanders/NetPrinterAllUsers.htm
    http://technet.microsoft.com/en-us/library/ee624057%28WS.10%29.aspx
    http://www.computerperformance.co.uk/Logon/logon_printer_computer.htm
    http://www.robvanderwoude.com/2kprintcontrol.php
    b. The Print Management console that is available in Windows 2003 R2 and higher can help you deploy printers "per machine" in addition to "per user".  More information about this is available at:
    http://www.czsolution.com/print-management/print-management/print-management-console.htm#DeployingPrintersByGroupPolicy
    http://technet.microsoft.com/en-us/library/cc753109%28WS.10%29.aspx
    2. As Guy mentioned, Group Policy Preferences can help set the default printer.  But there is another way to accomplish this.  The problem with the computer startup portion is that it runs before the user logs in.  And applying this script
    in the login script section would not work per computer unless you used loopback processing.  So another way to do this is to place a script that sets the default printer into the "All Users" startup folder.  Items in the "All Users"
    startup folder run for any user that logs into the computer, but it runs in the user's context.  So, this script would effectively set the default printer on a "per machine" basis.  The script method is a cruder way to approach the problem,
    but it will help get the job done.  Here are some resources on setting the default printer via script:
    http://www.intelliadmin.com/index.php/2007/08/set-default-printer-from-a-script
    http://www.computerperformance.co.uk/ezine/ezine17.htm

  • Ssh install on solaris core group installation - startup scripts?

    hi all,
    i have a fresh "core group" installation of solaris 11/06 now up and running.
    I have added the following pkg to get ssh running.
    bash-3.00# pkginfo |grep ssh
    system SUNWsshcu SSH Common, (Usr)
    system SUNWsshdr SSH Server, (Root)
    system SUNWsshdu SSH Server, (Usr)
    system SUNWsshr SSH Client and utilities, (Root)
    system SUNWsshu SSH Client and utilities, (Usr)
    so it is installed. I have manually created ssh_host_keys and I can start and use sshd/sftp -server. However I'm in need to find the best way of starting this up at boot. I have followed a link to Sun Blueprints for open ssh startup scripts.
    http://www.sun.com/blueprints/tools/ > secureshell-tools.tar.Z
    however this relies on prng (psuedo random number generator). my "default installation" of solaris 10 11/06 does not have this installed and ssh works fine, so I am reluctant to go down prng path.
    furthermore searching my "default installation" of solaris 10 11/06 i can not see any ssh startup scripts that I could heist
    please advise best practice

    fixed for now
    http://www.sun.com/bigadmin/content/selfheal/smf-quickstart.html > Enabling and disabling services
    since solaris 10, use "svcadm"
    ie
    mybox86# svcadm enable network/ssh:default
    very nice.

  • Startup Scripts for OBIEE 11g on Linux

    Hi, I originally spent many hours trying to find a startup/shutdown script for OBIEE on linux, in the end I compiled a new one based on notes in the install manual and other posts on the subject until I got it working consistantly
    Please add comments or improvements :)
    Note: you need to create the boot.properties file (in /security) for each server, and provide the username/password so WebLogic won't prompt for it when starting automatically (otherwise it doesn't start :p) ....refer to the install manual or [weblogic boot.properties|http://onlineappsdba.com/index.php/2010/08/21/weblogic-startup-prompting-from-username-password-bootproperties/]
    #!/bin/bash
    # /etc/init.d/obiee
    # Run-level Startup script for OBIEE
    # set required paths
    export ORACLE_BASE=/opt/oracle
    export ORACLE_HOME=/opt/oracle/product/11.1.0/db_1
    export ORACLE_OWNR=oracle
    export ORACLE_FMW=/opt/oracle/product/fmw
    export PATH=$PATH:$ORACLE_FMW/bin
    case "$1" in
    start)
    echo -e "Starting Weblogic Server...."
    su $ORACLE_OWNR -c "$ORACLE_FMW/user_projects/domains/bifoundation_domain/bin/startWebLogic.sh > /dev/null 2>&1 &"
    sleep 30
    echo -e "Starting Node Manager..."
    su $ORACLE_OWNR -c "$ORACLE_FMW/wlserver_10.3/server/bin/startNodeManager.sh > /dev/null 2>&1 &"
    sleep 30
    echo -e "Starting Managed Server: bi_server1..."
    su $ORACLE_OWNR -c "$ORACLE_FMW/user_projects/domains/bifoundation_domain/bin/startManagedWebLogic.sh bi_server1 [url for admin console] > /dev/null 2>&1 &"
    sleep 30
    echo -e "Starting Components...."
    su $ORACLE_OWNR -c "$ORACLE_FMW/instances/instance1/bin/opmnctl startall > /dev/null 2>&1 &"
    sleep 30
    stop)
    echo -e "Stopping Components...."
    su $ORACLE_OWNR -c "$ORACLE_FMW/instances/instance1/bin/opmnctl stopall > /dev/null 2>&1 &"
    sleep 30
    echo -e "Stopping Managed Server: bi_server1..."
    su $ORACLE_OWNR -c "$ORACLE_FMW/user_projects/domains/bifoundation_domain/bin/stopManagedWebLogic.sh bi_server1 [url for admin console] [weblogic user] [weblogic pass] > /dev/null 2>&1 &"
    sleep 30
    echo -e "Stopping Weblogic Server...."
    su $ORACLE_OWNR -c "$ORACLE_FMW/user_projects/domains/bifoundation_domain/bin/stopWebLogic.sh > /dev/null 2>&1 &"
    sleep 15
    status)
    echo -e "Component Status...."
    su $ORACLE_OWNR -c "$ORACLE_FMW/instances/instance1/bin/opmnctl status"
    restart)
    $0 stop
    $0 start
    echo "Usage: `basename $0` start|stop|restart|status"
    exit 1
    esac
    exit 0
    Hopefully this helps others in the same situation
    Cheers

    HI,
    Is this script for Enterprise Install on a single computer? For Simple install I think there is no concept of nodemanager and managedserver.
    --Joe                                                                                                                                                                                                                                                                                                                           

  • Registry startup script for computer-based proxy configuration

    I am attempting to deploy computer-based proxy server settings via importing a .reg file to user PCs as a startup script. It has appeared to work on some PCs but not on others. We have a mix of Windows XP Professional x86 and Windows 7 Professional x64 PCs
    in our domain.
    I am not sure whether to use "reg import" or "regedit /s" in my batch script.
    Before trying the batch script method, using "Computer Configuration > Preferences > Registry" settings did not work.
    I have created a GPO, applied it to an OU containing computers and used the following settings:
    Computer Configuration > Policies > Windows Settings > Scripts > Startup
    Batch Script: regedit /s \\FQDN\netlogon\wmproxy.reg
    Registry File:
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings]
    "ProxyEnable"=dword:00000001
    "MigrateProxy"=dword:00000001
    "ProxyOverride"="<local>"
    "ProxyServer"="proxy.FQDN:8080"
    Computer Configuration > Administrative Templates > Windows Components/Internet Explorer
    Disable changing proxy settings = Enabled
    Make proxy settings per-machine (rather than per-user) = Enabled
    As at the beginning of my post, the settings deploy to some PCs but not all and I have yet to see it work on the Windows 7 PCs. Am I attempting computer-based proxy settings the wrong way, or am I missing something with how I am currently trying to deploy
    it?
    Thanks all!

    Hi,
    You mentioned you have tried to configure the computer-based proxy settings via GPP but it didn’t work. Before going further, would you please let me know how did you configure the settings?
    In order to narrow down the cause of the issue, I suggest we’d better collect the following information.
    GPMC.log
    ==================
    a. On domain controller, click Start ->Run, type GPMC.MSC, it will load the GPMC console.
    b. Right click on "Group Policy Result" and choose wizard to generate a report for the problematic computer and user account (please place appropriately). (Choose computer and select the proper
    user in the wizard)
    c. Right click 
    the resulting group policy result and click the "Save Report…" => save report to save the report to a HTML file.
    Once we get the GPMC.log, please check the detailed report logged in it.
    You said you have created a startup script to edit the registry key to configure the proxy setting of the computer but it worked on only some of the computers in the domain. Have you tried
    to run the script on the problematic computer manually to see if it works? If it still fails to run, it could be related to the script issue, then we’d better ask in the script forum.
    The Official Scripting Guys Forum!
    http://social.technet.microsoft.com/Forums/en-US/ITCG/threads
    Regards,
    Andy

  • Startup script to load shortcuts - in a Citrix environment

    Let me offer a sample of what I have and ask if anyone knows how to fill in the gaps.
    For starters, a listening script upon booting up InDesign:
    #target InDesign
    #targetengine session
    //collect the name of current user
    var userName = getUser();
    function getUser() {
    var myUser = ($.os.substring(0, 7)=="Windows")
      ? $.getenv("USERNAME")
      : $.getenv("USER");
    return myUser;
    // var startupScriptsFolder = "/z/Scripting/Startup scripts/";
    var startupScriptsFolder = "/Applications/Adobe InDesign CC/Scripts/startup scripts/";
    var startupScriptFiles = Folder(startupScriptsFolder).getFiles();
    for (var i = 0; i < startupScriptFiles.length; i++) {
        app.doScript(startupScriptFiles[i]);
    then the script itself:
    #target InDesign
    #targetengine session
    //get or create folder for script preferences
    var scriptPrefsFolderPath = "/Users/madmac55/Library/Preferences/Adobe InDesign/Version 9.0/en_US/InDesign Shortcut Sets/";
    if (Folder(scriptPrefsFolderPath).exists == false) {
            Folder(scriptPrefsFolderPath).create();
    var locationPrefsFilePath = scriptPrefsFolderPath + "/ MyShortcuts.indk";
    This hasn't worked for me and it's a hacked solution at best.  So I am wondering how to get it all to click.  In a Citrix environment (windows), Adobe puts the preferences in a hidden folder path ~/AppData/Roaming/   and this is where it's tough to find them — on the server(s) you land on.
    Because you land on an arbitrary server, you have to run the getUser statement first, then drill down inside.  I realize I have mixed paths of  Mac & PC, and I'm really writing abiout a PC environment, but paths are interchangeable.  It's the script that counts.

    Hey Mac,
    I'm not sure if this will work for you as I've only used it when making .bat files... but, in Windows, you can reference the folder directly by using the variable "%USERNAME%"
    C:\Users\%USERNAME%\AppData\Roaming\Adobe\InDesign\Version 5.0\Scripts\Scripts Panel\
    Hope it helps.

  • CC startup script to set Preference "Default Composer"?

    I have a startup script that I wrote for CS3 that controls about 20 preferences.
    One of the preferences was for Composer, which was by: app.textDefaults.composer = "Adobe Single-line Composer"
    This script has worked for CS 3, 5, 5.5, and 6 (we skipped 4)
    We're moving to CC and my script still works, but I see a new preference at Preferences > Advanced Type for "Default Composer"
    I get lost in ExtendScript's Object Model Viewer, so would someone be kind enough to tell me what to add to my startup script to set the Default Composer to Adobe Single-line Composer
    Thanks for your time
    Tom

    It seems to be related to app.textDefaults, but it seems to me that it's broken...

  • Missing STARTUP script for upgrade program

    Hi Experts,
    We are performing a upgrade from 4.7 to ERP6. From the documentation, it mentioned starting the upgrade program using the STARTUP script on the upgrade master. But I was unable to locate this STARTUP file on the upgrade master that is shipped to us.
    We are using SAP ERP 6.0 upgrade master (D51033520). May I know where can I get this STARTUP program?
    Thanks in advance,
    Tzyy Ming

    Hi Lee,
    You have to follow below command to run upgrade program:
    1) Go to upgrade directory
    2) Then run /<DVD mount directory>/PREPARE
    3) Then you can run PREPARE from here.
    Once PREPARE finishes. You can run upgrade assistant from upgrade directory:
    Run java -cp <upgrade directory>/ua/ua.jar UaServer
    When upgrade assistant server console shows you Ready
    Then run java -cp <UaGuiDir>\uagui.jar UaGui to start upgrade GUI.
    Thanks
    Sunny

Maybe you are looking for

  • Progress bar in forms-10g???

    hi there....can I use a Progress bar in forms-10g??? Previously I've been using an OCX for progress bar. But as forms-10g dont support ocx so is there any replacement in form of java bean, pjc or anything else??? 2ndly can I open my browser window ru

  • "Select Users..." Button is greyed out in Remote Settings on windows 8.1 pro-pack upgrade

    I recently purchased the pro-pack upgrade from the Microsoft website to take my windows 8.1 base version to pro so I could use the remote desktop connection.  I can use this under my account which has sysadmin priviliges.  I don't want to have to hav

  • Managing content no longer on device

    When I search for a name or something, it sometimes shows up in a message that is months old that are no longer in my messages. Also, when I go to type in a name to start a new message, there are names showing up that are not even in my contacts list

  • Key in  HashSet

    I want to insert my customized objects into HasSet but same time i want to ensure that it should not accept duplicate objects and also i want to insert the objects in sorted manner but the constraint here is i can o use only HashSet, so how i can do

  • Upgrading storage on retina 13"

    I'm considering purchasing the MacBook Pro Retina 13" and find that on the Apple website, the base model (and the next one up) do not seem to allow me to configure them with a larger hard drive. However, the specs page indicates that they CAN be upgr