Custom command problems on Mac OS X

I am seeing a problem with custom context commands in our custom connector that is also reproducible with the sample FTP connector shipped with the SDK.  I am using Adobe Drive 3.2.0.41 on Mac OS X 10.8.2
For my test I am connecting to a FTP server and attempting to run the "File Properties" command from a file's Adobe Drive menu in Finder.  When I first start Drive and connect, the command works and the "File Properties" dialog appears as expected.  However, if I disconnect, reconnect, then browse back to the file and attempt the command again, the File Properties dialog does not appear.  The Finder window does kind of "grey out" as if another dialog is about to be shown, but it never is. I don't see any kind of error messages in the CS5ServiceManager logs. 
If I disconnect, close Drive, kill the AdobeDriveCS5 and CS5ServiceManager processes with Activity Monitor, and then restart Drive and reconnect, the custom commands work again.
Has anyone else experienced these kinds of problems with custom commands on Mac OS after a disconnect/reconnect cycle?
Thanks,
Brian

Our only other environment we could set up was on Mac OS 10.7.5, and we could not reproduce the issue.  Based on that it would appear to be something new with Mac OS 10.8.

Similar Messages

  • JTree Custom TreeCellRenderer problem on Mac OS + Firefox

    Hi,
    I have a JApplet containing a JTree component with custom renderer that implements TreeCellRenderer to display CheckBox along the tree nodes.
    Everything works fine on Window and Linux OS (firefox browser)
    Problem is with :
    Firefox + Mac: applet fails to load because getTreeCellRendererComponent() does not seem to get invoked.
    Appreciate you time and thoughts on the problem.
    Edited by: rg18mar on Nov 27, 2007 10:31 PM

    Our only other environment we could set up was on Mac OS 10.7.5, and we could not reproduce the issue.  Based on that it would appear to be something new with Mac OS 10.8.

  • Problem under Mac OS X with very long commands

    Hi,
    in one app. I have very long commands, this make problems under mac os x (sdk 1.4.2)
    it works under Lin and Win, only under Mac OS X it wont work like it shoud.
    is there a possibility of arise this "max length" ?
    sample:
    http://matrix.phileon.de/java_mac.html
    thx!
    phileon

    It seems as he didn't like the last entry of the classpathhuh, i always thought of MacOS X as a she..

  • Custom command set problems

    Hi,
    I am having some problems with my custom Avid based command set.
    I have had the "A" and "S" keys assigned to "Go to prev/next edit" to simulate Avid but want to change it to "Up" and "Down" which does pretty much the same in the timeline but allows me to go to next/previous clip in the list view as well.
    The problem is that every time I try to assign the "Down" command to the "S" key the .commandset file gets corrupt and the next time I start fcpx it freezes at "Restoring the window layout".
    I can assign it if I make a completely new command set.
    Can anyone see if they can recreate this? My commandset file can be downloaded here: http://dl.dropbox.com/u/6196177/Avid.commandset
    I have a norwegian keyboard if that matters...
    Thanks!

    OK, then it has do be something specific with my command set. I've recreated my problem several times: Start fcpx, works fine, quit, take backup of preferences file. Start fcpx again, works fine, switch to custom command set, works fine, quit, restart of app fails... revert to backed up preferences file, works fine...
    What could it be in my command set then? I've tried recreating the setup I use in Avid. The thing is that it works just fine until I quit and restart the app... Really annoying!
    Thanks for your answer though!

  • Problem description: mac mail not opening, software updates not working, app store not opening. imac osx 10.9.5

    Problem description:
    mac mail not opening, software updates not working, app store not opening. 10.9.5
    EtreCheck version: 2.0.11 (98)
    Report generated 1 December 2014 16:51:49 CET
    Hardware Information: ℹ️
      iMac (21.5-inch, Late 2009) (Verified)
      iMac - model: iMac10,1
      1 3.06 GHz Intel Core 2 Duo CPU: 2-core
      12 GB RAM Upgradeable
      BANK 0/DIMM0
      4 GB DDR3 1067 MHz ok
      BANK 1/DIMM0
      4 GB DDR3 1067 MHz ok
      BANK 0/DIMM1
      2 GB DDR3 1067 MHz ok
      BANK 1/DIMM1
      2 GB DDR3 1067 MHz ok
      Bluetooth: Old - Handoff/Airdrop2 not supported
      Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
      NVIDIA GeForce 9400 - VRAM: 256 MB
      iMac 1920 x 1080
      BenQ GL2240 1920 x 1080 @ 60 Hz
    System Software: ℹ️
      OS X 10.9.5 (13F34) - Uptime: 1:32:17
    Disk Information: ℹ️
      WDC WD5000AAKS-40V2B0 disk0 : (500.11 GB)
      S.M.A.R.T. Status: Verified
      EFI (disk0s1) <not mounted> : 210 MB
      Macintosh HD (disk0s2) /  [Startup]: 499.25 GB (164.03 GB free)
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
      HL-DT-ST DVDRW  GA11N 
    USB Information: ℹ️
      EPSON EPSON Epson Stylus S22 Series
      Canon MX410 series
      ASMedia AS2105 1 TB
      S.M.A.R.T. Status: Verified
      EFI (disk3s1) <not mounted> : 210 MB
      Backup (disk3s2) /Volumes/Backup : 999.86 GB (506.24 GB free)
      Apple Inc. Built-in iSight
      Apple Internal Memory Card Reader 7.95 GB
      S.M.A.R.T. Status: Verified
      EOS_DIGITAL (disk1s1) /Volumes/EOS_DIGITAL : 7.94 GB (7.83 GB free)
      Western Digital My Book 1140 2 TB
      S.M.A.R.T. Status: Verified
      EFI (disk2s1) <not mounted> : 210 MB
      2TB (disk2s2) /Volumes/2TB : 2.00 TB (1.50 TB free)
      Wacom Co.,Ltd. CTE-450
      Contour Design ShuttlePRO v2
      Apple Computer, Inc. IR Receiver
      Apple Inc. BRCM2046 Hub
      Apple Inc. Bluetooth USB Host Controller
    Gatekeeper: ℹ️
      Mac App Store and identified developers
    Kernel Extensions: ℹ️
      /Applications/Parallels Desktop.app
      [not loaded] com.parallels.kext.hidhook (9.0 24217.979618) Support
      [not loaded] com.parallels.kext.hypervisor (9.0 24217.979618) Support
      [not loaded] com.parallels.kext.netbridge (9.0 24217.979618) Support
      [not loaded] com.parallels.kext.usbconnect (9.0 24217.979618) Support
      [not loaded] com.parallels.kext.vnic (9.0 24217.979618) Support
      /Applications/Toast 10 Titanium/Toast Titanium.app
      [not loaded] com.roxio.BluRaySupport (1.1.6) Support
      /Library/Extensions
      [loaded] at.obdev.nke.LittleSnitch (4052 - SDK 10.8) Support
      [not loaded] xxx.qnation.PeerGuardian (1.1.9) Support
      /System/Library/Extensions
      [not loaded] com.FTDI.driver.FTDIUSBSerialDriver (2.2.18 - SDK 10.6) Support
      [not loaded] com.pctools.iantivirus.kfs (1.0.1) Support
      /Users/[redacted]/Library/Services/ToastIt.service/Contents/MacOS
      [not loaded] com.roxio.TDIXController (2.0) Support
    Startup Items: ℹ️
      ParallelsDesktopTransporter: Path: /Library/StartupItems/ParallelsDesktopTransporter
      WkSvMacX: Path: /Library/StartupItems/WkSvMacX
      Startup items are obsolete and will not work in future versions of OS X
    Launch Agents: ℹ️
      [running] at.obdev.LittleSnitchUIAgent.plist Support
      [not loaded] com.adobe.AAM.Updater-1.0.plist Support
      [loaded] com.adobe.CS4ServiceManager.plist Support
      [running] com.epson.epw.agent.plist Support
      [loaded] com.oracle.java.Java-Updater.plist Support
    Launch Daemons: ℹ️
      [running] at.obdev.littlesnitchd.plist Support
      [failed] com.adobe.fpsaud.plist Support
      [loaded] com.adobe.versioncueCS4.plist Support
      [loaded] com.barebones.textwrangler.plist Support
      [running] com.cleverfiles.cfbackd.plist Support
      [not loaded] com.gopro.stereomodestatus.plist Support
      [loaded] com.microsoft.office.licensing.helper.plist Support
      [loaded] com.oracle.java.Helper-Tool.plist Support
      [loaded] com.oracle.java.JavaUpdateHelper.plist Support
      [invalid?] com.tvmobili.tvmobilisvcd.plist Support
      [loaded] fi.polar.libpolar.plist Support
      [running] fi.polar.polard.plist Support
      [failed] xxx.qnation.PeerGuardian.kextload.plist Support
    User Launch Agents: ℹ️
      [loaded] com.adobe.ARM.[...].plist Support
      [loaded] com.facebook.videochat.[redacted].plist Support
      [loaded] com.google.keystone.agent.plist Support
      [loaded] com.macpaw.CleanMyMac.helperTool.plist Support
      [loaded] com.macpaw.CleanMyMac.trashSizeWatcher.plist Support
      [running] com.macpaw.CleanMyMac.volumeWatcher.plist Support
      [invalid?] com.plexapp.helper.plist Support
      [not loaded] com.spotify.webhelper.plist Support
    User Login Items: ℹ️
      Garmin Express Service Application (/Applications/Garmin Express.app/Contents/Library/LoginItems/Garmin Express Service.app)
      SmartDaemon Application (/Library/Application Support/CleverFiles/SmartDaemon.app)
      SilverKeeper Scheduler ApplicationHidden (/Applications/SilverKeeper.app/Contents/Resources/SilverKeeper Scheduler.app)
      Dropbox Application (/Applications/Dropbox.app)
      Garmin ANT Agent UNKNOWN (missing value)
    Internet Plug-ins: ℹ️
      DirectorShockwave: Version: 11.5.7r609 Support
      Google Earth Web Plug-in: Version: 6.1 Support
      Default Browser: Version: 537 - SDK 10.9
      Flip4Mac WMV Plugin: Version: 3.2.0.16   - SDK 10.8 Support
      PandoWebInst: Version: 1.0 Support
      AdobePDFViewerNPAPI: Version: 10.1.12 Support
      FlashPlayer-10.6: Version: 15.0.0.189 - SDK 10.6 Support
      DivXBrowserPlugin: Version: 2.0 Support
      Silverlight: Version: 5.1.10411.0 - SDK 10.6 Support
      Flash Player: Version: 15.0.0.189 - SDK 10.6 Mismatch! Adobe recommends 15.0.0.239
      iPhotoPhotocast: Version: 7.0 - SDK 10.8
      QuickTime Plugin: Version: 7.7.3
      SharePointBrowserPlugin: Version: 14.0.0 Support
      AdobePDFViewer: Version: 10.1.12 Support
      GarminGpsControl: Version: 4.2.0.0 - SDK 10.8 Support
      JavaAppletPlugin: Version: Java 7 Update 71 Check version
    User Internet Plug-ins: ℹ️
      fbplugin_1_0_3: Version: (null) Support
    Safari Extensions: ℹ️
      Open in Internet Explorer
    Audio Plug-ins: ℹ️
      DVCPROHDAudio: Version: 1.3.2
    3rd Party Preference Panes: ℹ️
      Adobe Version Cue CS4  Support
      DivX  Support
      Flash Player  Support
      Flip4Mac WMV  Support
      GoPro  Support
      Growl  Support
      Java  Support
      MacFUSE  Support
      MenuMeters  Support
      Perian  Support
    Time Machine: ℹ️
      Skip System Files: NO
      Auto backup: NO - Auto backup turned off
      Destinations:
      Back Up [Local]
      Total size: 0 B
      Total number of backups: 0
      Oldest backup: -
      Last backup: -
      Size of backup disk: Excellent
      Backup size 0 B > (Disk size 0 B X 3)
    Top Processes by CPU: ℹ️
          12% Google Chrome
          12% WindowServer
          4% Dock
          2% Little Snitch Agent
          2% SystemUIServer
    Top Processes by Memory: ℹ️
      399 MB iTunes
      322 MB mds_stores
      216 MB Google Chrome Helper
      193 MB Google Chrome
      155 MB com.apple.IconServicesAgent
    Virtual Memory Information: ℹ️
      6.64 GB Free RAM
      3.51 GB Active RAM
      1.36 GB Inactive RAM
      1.11 GB Wired RAM
      1.91 GB Page-ins
      0 B Page-outs

      [not loaded] com.pctools.iantivirus.kfs (1.0.1) Support
    Un-install according to the developer's un-install instructions.
    You do not need to use cleaning programs. They can destroy your computer operation as they may already have done.
    CleanMyMac - Uninstall
    CleanMyMac2 Un-install
    After un-installing, run this program to make sure you got all the pieces.
    EasyFind – Spotlight Replacement
    Do a backup.
    Go to Finder and select your user/home folder. With that Finder window as the front window, either select Finder/View/Show View options or go command - J.  When the View options opens, check ’Show Library Folder’. That should make your user library folder visible in your user/home folder.  Select Library. Then go to Preferences/com.apple.appstore.plist. Move the .plist to your desktop.
    Restart, open the application and test. If it works okay, delete the plist from the desktop.
    If the application is the same, return the .plist to where you got it from, overwriting the newer one.
    Thanks to leonie for some information contained in this.

  • AD account Login problem with MAC 10.6.8

    Hi All,
    We have around 50 odd MAC that are connected to windows server 2008 R2. the user were logining in to these MACs using their AD account. Recently few of the random MAC did not allow the user to login using their AD account.When analyzed though the MAC shows that it has connected to the Domain and the server is active with green button it has unbind itself from the server.I had to login in as local user bind the MAC back to get this resolved.
    Now the same has started happeneing for most of the MAC that we have and every morning I have login as local Admin and unbind / bind the MAC with the server. this gets reset once the user reboots or shutsdown.
    Have tried with few of the below solution but nothing helped:
    Solution 1:
    <key>mdns_timeout</key>
    <integer>2</integer>
    The integer value is in seconds; changing it to at least 5 should allow the Mac OS X client to reconnect to the Active Directory domain after a network interruption. In some configurations, a larger timeout value may be required.
    You can change this value by using the sudo command and a text editor to edit the preference file directly. Or you can use the Terminal command below, making sure to enter it all on a single line:
    sudo /usr/libexec/PlistBuddy -c 'Set :mdns_timeout 5' /System/Library/SystemConfiguration/IPMonitor.bundle/Contents/Info.plist
    Solution 2:
    I have seen all of the probable solutions and tried everything and still I am getting issues with 10.6.6 and after rebooting the Mac gets unbind. Or the Mac gets Network Accounts Available even when not accessing the list of users from AD. But the thing that I have done that has solved all my issues with AD on the Macs is to uncheck the box to search on all domains. For some reason I am seeing that when the Macs have this option checked, it searches through out the forest on the same domain controller more than once, so AD stops the handshaking of the authentication.
    I hope this helps like it did on our Network, since then I have not seen the Macs lose the binding or slow SMB.
    If you've tried this please let us know.
    TIP: Uncheck Allow Authentication from any domain for Mac AD problems
    Wednesday, April 20, 2011
    Steven Wells sent a fix and an explanation of problems with Macs losing their binding to Active Diretory:
    Unchecking "Allow authentication from any domain in the forest" is working at our college. We have been beating our heads on this for about 2 terms, with no understanding of why it works in some places and not in others. When we found this working, our IT guy said that the Security SID is being duplicated, when it looks in other domain forest, and that is what is causing the problem. This is the first time I have found an explanation for the problem.
    If you've tried this approach please let us know.
    Solution 3:
    Solved it. Create a file in Textedit with the name 'auto_master' (no file extension) with the following contents:
    # Automounter master map
    +auto_master # Use directory service
    /net -hosts -nobrowse,hidefromfinder,nosuid
    /home auto_home -nobrowse,hidefromfinder
    #/Network/Servers -fstab
    /- -static
    Place this in /etc/ folder
    Hope this helps
    solution 4:
    TIP: a Kerberos fix for OS X 10.5 and 10.6 binding to Active directory
    Friday, November 11, 2011
    Mehdi Mafi forwarded a fix he found for problems with Leopard and Snow Leopard binding to Active Directory:
    This was taken from Dane Riley's imaging building for DeployStudio.
    With Mac OS X Leopard every Mac is now running a KDC (Kerberos Distribution Center). Basically each imaged machine is using the same security certificate and hash. Deploying a single image will deploy the same KDC to every system. This [Apple] article covers how to reset the local KDC so that each system is unique. Basically, do the following:
    Launch Keychain Access
    Search for com.apple.kerberos.kdc and delete all 3 items
    Using Terminal type sudo rm -fr /var/db/krb5kdc
    After deployment, perhaps using Apple Remote Desktop to all systems, re- establish the KDC by typing sudo /usr/libexec/configureLocalKDC
    If you've tried this approach with Mac OS X 10.5, 10.6, or even Lion, please let us know. .
    TIP: More on a kerberos fix for AD binding problems
    Monday, November 14, 2011
    Mehdi Mafi updated his Friday report about Mac OS X 10.6 problems binding to Active Directory:
    You may want to add this. If the Mac keeps unbinding from AD (people can't log in to a Mac), here is how to fix it:
    Unbind it from Domain
    Launch Keychain Access
    Search for com.apple.kerberos.kdc and delete all 3 items
    Using Terminal type sudo rm -fr /var/db/krb5kdc
    Re-establish the KDC by typing sudo /usr/libexec/configureLocalKDC
    Bind it to domain again ( When you bind, uncheck allow authentication from any domain in the forest in: Directory Utilitiy-> Advanced Options\Administrative ) this fix the issue that sometimes it can' find AD under search space.
    If you tried this please let us know.
    Solution 5:
    For Snow Leopard AD login issues, use upper case domain
    Solution 6: for .local
    To create this StartupItem, create the following directory as root:
    /Library/StartupItems/FixADAuth
    Then chown it to root:wheel and chmod it to 755. These must also be the owner/permissions on the two files it will contain, below:
    Contents of our /Library/StartupItems/FixADAuth/FixADAuth:
    #!/bin/bash
    . /etc/rc.common
    date > /var/log/FixADAuth.log
    n=0
    AuthSuccess=0
    while [ $AuthSuccess != 1 ]
    do
    id Administrator && AuthSuccess=1 || networksetup -setsearchdomains Ethernet "Empty"; networksetup -setsearchdomains Ethernet middlewich.local; n=$(($n+1))
    done
    echo Authentication successful: $AuthSuccess >> /var/log/FixADAuth.log echo Operation count: $n >> /var/log/FixADAuth.log
    date >> /var/log/FixADAuth.log
    Contents of our /Library/StartupItems/FixADAuth/StartupParameters.plist:
    Description = "Fixes Active Directory authentication issue";
    Uses = ("Disks");
    Obviously you'll need to change "middlewich.local" to your own domain name (and the network interface name if your connection is wireless). The script checks to see if it can see the user "Administrator" on the domain, as he's a fairly common bloke, but if you've renamed yours for security reasons then pick another one. I've also included some logging functionality for debug purposes, so you can verify how well the script is working if you need to and time it in your environment before telling the users how long to wait. The /var/log/FixADAuth.log file will contain the date/time the process started, the success variable set to 1 (just to verify), how many DNS operations were required to fix the problem, and the date/time it ended. For us the time difference is normally about +30-40 seconds with around 120-180 operations taking place. Once you're happy with the script, you can strip it down to its bare functionality if you like, like so for us:
    #!/bin/bash
    . /etc/rc.common
    AuthSuccess=0
    while [ $AuthSuccess != 1 ]
    do
    id Administrator && AuthSuccess=1 || networksetup -setsearchdomains Ethernet "Empty"; networksetup -setsearchdomains Ethernet middlewich.local
    done
    I hope this helps someone!
    Regards

    You are welcome.
    But the question is 10.6 mac  just like 10.6.8  , as long  as its the same and works.
    Yes. You can save some updates by using the combo update.
    10.6.8 Combo Updater

  • Resetting the id of dynamically generated JSF custom command link

    I have a java faces page which displays data from an arraylist.
    This list is populated when user inputs data in the input text field and clicks "Add Group" button.
    The arralylist consist of another arraylist within the former.
    I have created a custom command link for the former arraylist.
    As an user can add data to the arraylist so can he remove it from the arraylist.
    The command link has a method binding "closeTask" which is invoked when command link is clicked.
    This action removes the clicked element from the arraylist and displays the fresh list.
    The key field from the bean in the former arraylist is set in request, and is retrieved in the "closeTask" method to be assigned to the command link output text id (i.e. it identifies the element that is to be deleted from the arraylist).
    This functionality does not work as expected, i.e. command link component is not created/rendered during deletion as it is created while addition.
    As a result eventhough the element is removed from the arraylist, the id corresponding to the fresh arraylist is not refreshed and for further actions correct id is not passed and the deletion function does not work.
    How can I have resolve this problem?
    The sample code is included.
    Thanks in advance.
    Java Faces Code:
    <%
    FacesContext facesContext = FacesContext.getCurrentInstance();
    Application app = facesContext.getApplication();
    Bkbean bean = (Bkbean)app.createValueBinding("#{bckbean}").getValue(facesContext);
    List aList = bean.getAList();
    if(aList!=null && aList.size()>0) {                                                            
    for(int i=0; i<aList.size(); i++) {
    ABean abean = (ABean) aList.get(i);
    int keyValue = abean.getKey();
    request.setAttribute("key", String.valueOf(keyValue));
    %>
    <TR>
    <TD width="90%">
    <%=abean.getCtg()%>
    </TD>
    <TD width="9%">
    <%=abean.getKey()%>
    </TD>
    <TD width="1%" align="right" valign="top">
    <h:commandLink binding="#{bckbean.commandLnk}" styleClass="commandLink">
    </h:commandLink>
    </TD>
    </TR>
    <%
    List dList = abean.getDList();
    if(dList!=null) {
    for(int j=0; j<dList.size(); j++) {
    String tData = (String) dList.get(j);
    %>
    <TR>
    <TD width="90%">
    <%=tData%>
    </TD>
    <TD width="10%" colspan="2">
    </TD>
    </TR>
    <%
    }%>
    <%
    %>
    <TR>
    <TD align="right">
    <h:inputText id="inputtxt001" value="#{bckbean.val}"></h:inputText>
    </TD>
    <TD align="left" colspan="2">
    <hx:commandExButton type="submit" value=" Add Group " styleClass="commandExButton" id="submitbtn001" action="#{bckbean.addVal}">
    </hx:commandExButton>
    </TD>
    </TR>
    Backing Bean Code:
    public void closeTask(ActionEvent event) {
    String key = "";
    UIOutput lnkTxt = null;
    UICommand comp = (UICommand)event.getComponent();
    if(comp.getChildren() != null && comp.getChildren().size() >0) {
    for (int i=0; i<comp.getChildren().size(); i++) {
    lnkTxt = (UIOutput)comp.getChildren().get(i);
    key = lnkTxt.getId();
    int selectedKey = (new Integer(key.substring(2))).intValue();
    if(aList!=null) {
    for(int i=0; i<aList.size(); i++) {
    ABean abean = (ABean) aList.get(i);
    if(abean.getKey()==selectedKey) {                                             
    aList.remove(i);
    break;
    public UICommand getCommandLnk() {
    String id = (String) request.getAttribute("key");
    UICommand commandLnk = new UICommand();
    commandLnk.setId("key" + id);
    UIOutput outTxt = new UIOutput();
    outTxt.setId("id"+id);
    outTxt.setValue("X");
    commandLnk.getChildren().add(outTxt);
    MethodBinding mb = app.createMethodBinding("#{bckbean.closeTask}", new Class[]{ActionEvent.class});
    commandLnk.setActionListener(mb);
    commandLnk.setImmediate(true);
    return commandLnk;
    }

    You cud define jsObjectNeeded and onClientClick properties for the htlm component and catch the event to find itz ID.
    This might help you:
    Accessing HTMLB form values from JAVASCRIPT
    To give you an idea abt how the code works:
    Portal: Bug in the  radio button's javascript api
    Regards,
    N.
    Plz click a star if it helped.

  • Custom Command - Invoke a link file

    Hi All,
    I was able to write custom command that could invoke an exe file in the device. The exe file had to be present in the Windows folder (or) root folder (or) Oracle Lite installation folder.
    Is the only file that could be invoked by System.execute method are "exe" files. Can I invoke any link or batch files in Windows Mobile, so that would be helpful in invoking my java programs instead of having to invoke exe.
    Thanks,
    Aravind.

    We are able to launch a .bat file using the System.execute("cmd /C \test.bat") call from a customize command.
    Though cmd.exe is not available in Windows Mobile 6 prof by default. It can be installed from the windows mobile developer power toys.
    We need to do a registry tweak to get it working.
    We were trying to launch a batch file from custom command because we want to launch a java program whenever a custom command is sent from the mobile server.
    We are also successful in launching a java program directly without using cmd.exe as following:
    <c:set var="j9_home" value="\\IBM\\WECE\\WM60\\PRO\\ARM\\FOUN11\\bin\\"/>
    <c:set value="${System.Execute (j9_home+"j9w \Test\HelloWorld")}"/>
    This works fine and it launches the HelloWorld java program on windows mobile 6 prof emulator.
    The problem is that it does not work if the j9_home point to a folder path which contains spaces
    ex <c:set var="j9_home" value="\\Program Files\\IBM\\WECE\\WM60\\PRO\\ARM\\FOUN11\\bin\\"/>
    Is there is a workaround available to get it working ?
    We have to re-install the j9 to a folder whose folder path does not contain spaces to get it working.

  • Custom command to strip all except specified tags / parameters using javascript or regex?

    Hi all
    I'm trying to figure out how to create a custom command that will allow me to strip all tags from a page except for those I specify, and will only allow the parameters that I specify for the remaining tags. It seems to me that it should be achievable either with a custom command using javascript, or by simply recording a command and doing a search and replace with regex.
    I'm not familiar with javascript, so I've been trying the latter route, but I'm open to help with either method (or for that matter, any other method that will allow me to perform this with just a couple of mouse clicks, and no need to initiate a long sequence of commands manually every time).
    The tags I'd like to retain are:
    p
    br
    ul
    ol
    li
    a
    table
    tr
    td
    Any tags other than the above would need to be stripped. For the tags above, I'd obviously want to retain opening and closing tags, and I'd also want to allow href and target parameters for the a tag. I would want to strip all other parameters from these tags, though.
    I got partway into this, in that I managed to make regex that finds all the tags apart from the above, but hadn't yet gotten to trying to strip the unwanted parameters:
    </?\w+(?<!p|br|ul|ol|li|a|table|tr|td)((\s+\w+(\s*=\s*(?:".*?"|'.*?'|[^'">\s]+))?)+\s*|\s* )/?>
    This validates on the online version of RegExr (http://gskinner.com/RegExr/), and finds all tags apart from the above correctly as far as I can see. However, it doesn't work in Dreamweaver's Find box with Use Regular Expression checked, reporting "Invalid Quantifier".
    ...and this is as far as I've gotten. If anybody can offer help, it'd be much appreciated!
    Thanks in advance to you all...
    Mike

    Thanks, Barry. Paste Special is what I'm currently doing, but as you can imagine, it's mighty tedious cleaning up the formatting by hand on every single document, when the formatting I need is all there to start with in a regular paste -- just along with a bunch of extraneous formatting. With as many as a dozen or more documents to do each day, some with lengthy, nested lists and many bits of formatting that I need to keep, it's a bit soul destroying to have to do it manually.
    It must be possible with Javascript, but my problem is I'm not a Javascript coder and would need to learn from scratch. It's likely possible with regex too, but my issue there is that Dreamweaver's version of Regex seems to be cut down from the version all of the regex validators I could find online use. I came fairly close to having something workable done entirely with regex when I last looked at this a couple of months back, and it validated just fine (only remaining quirk was to do with some attributes I didn't need, but that was probably solvable.) Unfortunately, although it validated in multiple online tools, Dreamweaver refused to accept it as valid.
    I've since found a (very old) Dreamweaver Command extension that partially works, incidentally, and could perhaps be extended to do what I need -- but again, it would require me to understand code I simply don't, as yet.
    http://www.andrewwooldridge.com/dreamweaver/commands.html
    The Remove Tags Except command there mostly works, but it seems to have an issue with nested tags that throws up an error message, and it also doesn't have a way for me to specify which attributes to keep, just which tags. Other than that it's close to ideal though -- the only other way it could be improved would be if I could kludge it to simply run straight away with a predetermined exclusions file, rather than making me manually select and load the exclusions every time.

  • The was a problem installing "Mac OS X"

    After formatting SSD of section MacBook Air it is not possible to install anew Lion 10.7.
    Is load SD, USB c Lion from them it is not put - at once draws a gray circle crossed on the screen!
    Tried with holding Command+R that that downloads, overloads, writes Installing and in 3 seconds The was a problem installing "Mac OS X"

    Exactly which iMac model do you have? The following explains how to find it.
    To find the model identifier open System Profiler in the Utilities folder. It's displayed in the panel on the right.
    Post the result here:
    To post screen shot do this:
    Press COMMAND-SHIFT-4 which will change the cursor to crosshairs.
    Hold down the mouse button and use the crosshairs to select the part of the screen you wish to capture.
    Release the button and the image will be saved to your Desktop.
    Click on the Camera icon in the toolbar of the forum message editor.
    Drag the image onto the Choose File button and click on the Insert button.

  • Same Problem - Different Scenario: Encountering Problems running Mac OS X c

    Same Problem - Different Scenario: Encountering Problems running Mac OS X commands.
    Hi. I'm having a weird experience on opening document using
    the Microsoft word 2008 application in MAC OS X.
    To be specific on what is the scope of my application.
    What I'm trying to do is run or simulate my application on appletviewer on a certain pop-up HTML
    document. The first part of my statement block on my code doing well on
    executing the downloading process of a file and save it on local machine.
    This portion of works fine.
    But the thing that I'm having some difficulties is
    whenever i Re-opened the downloaded file from my local machine
    that is being downloaded from my server.
    I'm trying to established a checking or triggering pattern that the
    file from my local machine was modified or not.
    doing this execution I'm using the following code below to figure it out:
    java code:
    portion of calling the trigger part
    if((nMacEditMode = editFileViaMac(clientFile)) == 1)
    baseApplet.addMsg("Opened and edited file on local machine ...");
    else
    if(nMacEditMode == 3)
    baseApplet.addMsg("Opening and editing of file on local machine failed! Try again!!");
    else
    baseApplet.addMsg("No changes made. Server file unchanged! You may close this window.");
    portion of the runtime execution of opening the file via MAC OS X
    public int editFileViaMac(String wordFileName)
    try
    String cFile = wordFileName.trim().replaceAll(" ", "\\ ");
    wordPath = wordPath.trim().replaceAll(" ", "\\ ");
    Process wordProcess =null;
    Date startTime;
    Date endTime;
    File wordFile = new File(cFile);
    startTime = new Date(wordFile.lastModified());
    String[] myCommand = { "open", "-a", wordPath, wordFile.getAbsolutePath(), "-W" };
    wordProcess = Runtime.getRuntime().exec(myCommand);
    wordProcess.waitFor();
    endTime = new Date(wordFile.lastModified());
    if (startTime.before(endTime))
    return 1;
    return 2;
    catch(Exception ex)
    baseApplet.addMsg("Method Error : editFileViaMac() - "+ex.getMessage());
    ex.printStackTrace();
    return 3;
    Now the weird things happen here.
    The file was able to opened- as I wanted to, but when a made changes or not doing anything.
    The Microsoft Word 2008 application on the MAC Activity Monitor. The instance was still alive or
    keep running and I execute MAC commands being implement on the Process on the Terminal and it still
    stuck in that thing. which means I have to manually kill the process of the said application on
    the GUI part of Task Manager of MAC and my 2nd statement on the if replies.
    Any thoughts will glady appreciated.

    Please ensure new topics are posted in an appropriate forum. I have moved this thread from "news & updates" but in future posts made there in error will be deleted.
    Edited by: dcminter on 19-Aug-2009 13:13

  • Deployment using Custom Commands

    Howdy all,
    I'm trying to create customized shortcuts to the Test Executive User Interface other than the default one(s) available to the Deployment utility. I found a way to do this without having to download a separate application or add-on using the VBScript capabilities in Windows/XP. The problem I'm having is that the deployment utility will execute the batch file, but returns an exit code of 1. when I run the batch file manually, it works just fine. I'm using TestStand 3.5 and a modified version of the Deployment utility that doesn't update sequence paths, but that should not have an effect on this.
    My batch file consists of the following lines:
    ECHO OFF
    ECHO Creating a shortcut using VBScript
    PAUSE
    CreateShortcut.vbs
    ECHO Shortcut creation complete...
    PAUSE
    My VBScript file CreateShortcut.vbs consists of the following lines:
    Set oWS = WScript.CreateObject("WScript.Shell")
    strMyPath = oWS.SpecialFolders("AllUsersStartMenu")
    sLinkFile = strMyPath & "\My Test Executive.LNK"
    Set oLink = oWS.CreateShortcut(sLinkFile)
    oLink.TargetPath = "C:\My Programs\Bin\TestExec.EXE"
    oLink.Arguments = "-useExisting"
    oLink.Description = "My Test Executive (Only)"
    ' oLink.HotKey = ""
    ' oLink.IconLocation = "C:\My Programs\Bin\TestExec.EXE, 2"
    ' oLink.WindowStyle = "1"
    ' oLink.WorkingDirectory = "C:\My Programs\Sequences"
    oLink.Save
    When I run this using the deployment tool I get the following message when the batch file tries to execute the CreateShortcut.vbs file:
    'CreateShortcut.vbs' is not recognized as an internal or external command, operable program or batch file.
    Can anyone explain to me why this doesn't want to work in the Deployment tool, but it does work if I run it manually?
    Thanks,
    -Jack

    Antonio,
    Your suggestion helped me figure out what is going on. I believe there may be a feature/bug in the way the Deployment utility runs commands. I'm having the files installed in the Temp directory Installation Destination and using the <Temp> Command Directory in the Custom Commands to tell it where the files are to execute. This temp directory path resolves to "C:\Documents and Settings\<User Account>\Local Settings\Temp\". I neglected to add the path to the CreateShortcut.vbs file because I assumed that the batch file could find it since it's in the same directory as the batch file. But for some reason, it is looking for the file on the Installer drive and path for Setup.exe (see attached file), instead of the <Temp> path. This may be default windows behavior, but it seems odd that this is what happens.
    I was able to get this to work using the "%USERPROFILE%\Local Settings\Temp\CreateShortcut.vbs" in the batch file.
    Thanks for getting me going down the right road!
    -Jack
    Attachments:
    MessagePopup.jpg ‏12 KB

  • Problems with Mac OSX 10.5.2 and installing my pro tools le 7.1.1

    Problems with Mac OSX 10.5.2 and installing my pro tools le 7.1.1.
    My garage band & reason software don´t open anymore giving me a error messasge regarding the midi drivers in the operating system.
    Please help!!!
    Thanks,
    Paolo

    Somewhere at either Macworld or here I learned that DVDSP 2, DVDSP 3 and now DVDSP 4 "internally" are major re-writes.
    Support for HD among a few other items along with QT 7 which comes with Tiger means sincerely that one set of applications/OS is not going to be stable.
    Personally I think of all the issues possible its DVDSP vs QT.
    Unless you move to DVDSP v4 the alternative is to wipe the disk and go back to Jaguar (10.2) or perhaps Panther but avoid upgrading QT beyond 6. I advocate wiping the disk because I'n not sure an archive and install to down shift to an earlier version of the OS is possible. If it is I'd still worry about mis-matched files in all sorts of locations.

  • Hello  I have a problem with Mac Pro, iPhoto does not want to stay open and close as I can figure this out?  thanks

    Hello  I have a problem with Mac Pro, iPhoto does not want to stay open and close as I can figure this out?  thanks

    Refer below link once
    App doesn’t open | Progress wheel spins continually

  • Problem:  this mac is not reading an excell file after upgrading to yosemite.   My Mac is from 2009, it use to work perfectly but it wasn´t able to open some apps, thats why i upgrade it.   Now it once i donwload the zip it appears with an ".ods" ext

    Problem:  this mac is not reading an excell file after upgrading to yosemite.   My Mac is from 2009, it use to work perfectly but it wasn´t able to open some apps, thats why i upgrade it.   Now it once i donwload the zip it appears with an ".ods" extension
    i even already download a link
    http://www.microsoft.com/en-us/download/confirmation.aspx?id=44026
    which i read on another support page... but it doesnt allowed me to install it cause it says that i already have the disk of this program....
    Im afraid to erase it and not being able to get it back...
    What can i do!??
    Thanks in advance for this kind answer!!!

    fsolution wrote:
    Problem:  this mac is not reading an excell file after upgrading to yosemite...   Now it once i donwload the zip it appears with an ".ods" extension...
    If the "it" refers to a compressed (zipped) spreadsheet that you downloaded, the ".ods" extension is used by LibreOffice and probably OpenOffice (which are free versions of MS Office) for spreadsheets, which would suggest that wherever you're getting that "Excel" file from has switched to one of those programs. I've tried opening an .ods file from LibreOffice using MS Office 2013 for Windows and it does open though with a warning that some things have been changed. I don't know if Office for Mac can normally open .ods files. But if your need is to just open .ods files, take a look at LibreOffice.

Maybe you are looking for

  • GR/IR balances

    We are having small balances for amounts of less than 10 USD in GR/IR account Is it possible to have these differences after Logistics Invoice Verification, LIV should take care of these differences through price variances and quantity variances righ

  • Duplicate events in iCal

    I've just started using iCloud and now whenever it updates I get duplicate events in my calendar on my Mac.  I delete one copy of each event and all seems well until the next sync.  Is there a preference that I need to adjust to prevent this from hap

  • Play count in album view itunes 11?

    I was wondering if there was a way to show your play count in album or artist view? Such as if you click to expand your album, where it says the time of the song is there a way to get it to list the play count too? I use play count a lot and this wou

  • Magic Mouse, Trackpad, Keyboards, etc.

    Upon starting up my new iMac for the first time on St. Patrick's Day, I tried an experiment. I used both the standard Apple Bluetooth keyboard and mouse (they were temperamental during the Setup Assistant process) and an older Apple USB Extended Keyb

  • Extra line running through the screen on my Officejet 6500 printer

    I just noticed a second horizontal line running through the screen on my Officejet 6500 printer screen (right through where the ink levels show up.)  The screen resembles graph paper.  What causes this?  Is there something wrong with the machine?  Ca