CS3/4, Mac OS X, XCode .jar problem

Hi there,
I got some problem while trying to launch a .jar file from a SDK plug-in.
First, I have to start a .jar file to do some work with an open InDesign document.
I try to do this with:
system("open /Application/Adobe InDesign CS3/Plug-Ins/myFile.jar");
but nothing happens - the file doesn't start.
Then I've tried another location for the file:
system("open /Application/myFile.jar");
and it works! so it seems to be a problem for system function to deal the path part: "Adobe InDesign CS3" (the file I try to start is in both folders just for test).
Have anyone an idea why the name of a folder with spaces cause a problem for system()?
On the other side I do the same stuff on windows platform and start a .jar file according to a path to InDesign CS3 like this:
PMString strFolder;
...geting the path to InDesign using iCoreFilenameUtils and adding the subfolders - it works fine...
then:
TCHAR *path=strFolder.GrabTString();
ShellExecute(NULL,NULL,TEXT("myExecutable.exe"),NULL,path,SW_SHOWNORMAL);
It woks fine on the windows but now I have to do the same on Mac OS X.
My questions are:
how to convert IDFile (contain the full path to my .jar file) to something accepted from system() function OR
how to start .jar file other way then with system() getting the path as a PMString or IDFile.
Some example code or suggestions would be nice.
Thx in advance
jarema

Your trying execute a system command that requires a posix path.
The path " /Application/Adobe InDesign CS3/Plug-Ins/myFile.jar" should be " /Application/Adobe\ InDesign\ CS3/Plug-Ins/myFile.jar" or " /Application/"Adobe InDesign CS3"/Plug-Ins/myFile.jar"
You can either search and replace the spaces in the path with "\ " or I believe the FileUtils class in the SDK has some funcs for working with IDFiles and posix paths.
Mike

Similar Messages

  • BasicPanel  Sample plugin in CS3 on Mac

    Hi,
    I tried to compile the BasicPanel project in CS3 on Mac platform with Xcode 2.5 on Intel-Mac machine on OS X 10.5, and when I copy the plug-in to Plug-ins folder under Adobe InDesign CS3 and launch InDesing, I dont see any palette added in application. Does this plug-in suppose to add a palette in CS3? I dont get any error when I launch the InDesign, also I don't see the name of that in plug-ins list in application. Is something wrong here ? the other sample plugins work fine except this one.
    Thanks,
    Nima

    Under the "InDesign" menu, there's a menu item called "Config Plug-Ins..."
    try to see if your plugin is listed there...
    there's always the fprintf(stderr, "hello world") that you can sprinkle in your code. :-) They will show up in Console.app.
    pete

  • We have version 10.5.8 photoshop CS3 for Mac. How do we fix a problem with photoshop not resizing dpi? For example we resized a 72 dpi image to 200 dpi, when we do a pdf analysis it read as 344 dpi.

    We have version 10.5.8 photoshop CS3 for Mac. How do we fix a problem with photoshop not resizing dpi? For example we resized a 72 dpi image to 200 dpi, when we do a pdf analysis it read as 344 dpi.

    Sounds like it's a problem with the Acrobat settings. Did you set them to the same resolution?

  • Printing problems with InDesign CS3 with Mac OS 10.6.3

    I am not new to InDesign... I have CS3... but I am brand new to Mac Snow Leopard (OS 10.6.3).  Although I can open CS3 and use the application, I cannot print with it.  None of my other applications has printing issues... just CS3.  Any suggestions?
    Richard

    Hi again Peter
    It is version 5.0.4.  I updated it when I newly installed it a week ago in my new computer, and then again updated it just yesterday.
    I might mention that before I got my new computer, I was running Mac OS 4.11, and was using InDesign 3.0.  I had bought InDesign CS3 about a year ago, but hadn't gotten around to using it since version 3.0 had been working fine, and I was used to it.  Then, when I got my new computer, I decided it was time to use the newer version.  However, while using InDesign 3.0 with the old Mac OS 4.11, a printing problem popped up there, too, a few months ago... and it also involved printing problems with Adobe Reader.  I contacted Adobe, and they sent me a patch which fixed it.  I will contact Adobe again if need be, although I thought I'd start here first to see if it was a common enough problem that someone might be able to provide a free and routine answer.
    Richard
    Date: Tue, 15 Jun 2010 20:10:13 -0600
    From: [email protected]
    To: [email protected]
    Subject: Printing problems with InDesign CS3 with Mac OS 10.6.3
    I neglected to ask what version of indesign CS3 you are using. I also 
    notice that Mac OSX 10.6.4 has just been released. It actually 
    addresses some CS3-specific issues, though they seem to be related to 
    launching the apps, not printing. It may be worth trying to update, 
    nonetheless.
    Peter Truskier
    Premedia Systems, Inc.
    510-655-4454
    >

  • HT1338 We are currently running CS3 on Macs with OS 10.5.8 but need to upgrade the OS in order to prepare e-books. Will we have any problems with CS3 running on the later OS?

    We are currently running CS3 on Macs with OS 10.5.8 but need to upgrade the OS in order to prepare e-books. Will we have any problems with CS3 running on the later OS?

    Check the Adobe website for compatibility.
    Ciao.

  • Installing InDesign CS3 on Mac OS 10.9.5 Mavericks

    Installation of InDesign CS3 on Mac OS 10.9.5 Mavericks
    This question is Not Answered.
    s c perks Oct 14, 2014 6:04 AM
    1. I have InDesign CS3, which I bought about 6 years ago, and installed on my MacBook Pro. I have now got a new Mac Pro running OS 10.9.5 Mavericks. When I bought the machine I asked Apple if I would be able to install my InDesign and they said there would be no problem. But it will not install. The intsllation fails every time near the end. It installs Bridge and one other components, both of which it calls shared components. But InDesign is not installed.
    I went to the Adobe web site and looked up what to do. I got to a page that had my product on and it seemed to be telling make I must download an installer. When I clicked on this link, however I got a page with the following message:
    HTTP ERROR: 404 /support/downloads/dlm/main.jsp
    RequestURI=/support/downloads/dlm/main.jsp
    I do not know what to do now.
    2. If I do download an installer (I did not need to do this when I first installed the programme on my lap top MacBook Pro 6 years ago, but just installed it from the disc), how do I get rid of the downloader afterwards, since I read somewhere, but cannot remember where, that I should get rid of the installer afterwards but that I should not put it in the trash bin?
    Thank you for any help you can give me.
    Stephen Perks

    Many thanks for your help. I will try this. After posting this question yesterday I contacted Adobe and was astonished to find that they do not sell InDesign and do not support it and that one can only upgrade to monthly or yearly rental of CreativeCloud. I'm afraid for me this is nonsense, and I consider it very bad practice on Adobe's part. I will have to go to QuarkExpress instead if I cannot install Indesign CS3, which I nearly did do 6 years ago, but after reading such good reviews of InDesign and got it. I wish now I'd got Quark! I appreciate your help.

  • Cut/Paste from Word to Illustrator CS3 for Mac suddenly not working

    This issue regards Illustrator CS3 for Mac on a Mac Pro with 6 GB.
    Exactly one week ago I created a number of Illustrator files by cutting charts from a Word 2008 document and pasting them into an Illustrator document.
    In the past I have dragged the images (or clip art) or simply used Control-C or even Control-X, but by whatever method I opted for, getting the image from Word to Illustrator CS3 has not been a problem.
    Yesterday I got a new chart and a request to replace an old image - one that I had created last week on Tuesday by the Drag/Drop or Cut/Paste method.   For reasons I can't begin to imagine the process simply won't work now.
    I also find that if I simply select text in a Word Document, hit Ctrl-C and then try a Ctrl-V in Illustrator I don't get to see my text pasted in - ONLY if I already have a text block open and the cursor in place will I get to see the text copied over into Illustrator.  This is very strange and not at all how things have worked in the past - typically I would see the new Text Object just appear, and then I could move it to wherever I wanted. 
    I have opened up a number of old files that I know were created with copied text and also opened the associated Word files (earlier versions of Word) and again find that I can't copy text over, or even move images over - even though I clearly could do this before.  I have also tried entirely new files - also with no success.
    I was at an Apple one-to-one session this morning and they were more than mystified by this.  I can Cut and Paste into Adobe Photoshop Elements, but I can't even cut and paste from Adobe Photoshop Elements into Illustrator CS3.   I can drag the Photoshop file (from the Finder window) into the Illustrator document and poof - get my image that way, but it's as an image only.  If the base image in question is a vector image or something else having a plurality of elements, I can't then select the elements in Illustrator to change their color, delete them, or otherwise play with them.
    I have brought up a word document on another Mac system that also has Illustrator CS3 and find that it too can't drag/drop cut/paste between the two applications.   At Apple, we did confirm that such ability is operational in the new Illustrator CS4, but none of their store systems still have CS3 to provide yet a third system to test.
    I have deleted my Illustrator CS3 preferences, tried flushing the p-ram, and of course run fix and repair permissions - no dice.
    My Mac systems update daily and there is nothing in the main update log that shows anything for Adobe or Office (nor do I think there should be).  Adobe Update reports that everything is up to date, and I don't see a history file to know what might have changed in the last week.   Office also reports fully up to date and happy.
    As I can cut and paste the images into an email for Mail and into Photoshop, I am fairly certain that it is NOT a Microsoft Office 2008 issue.  The fact that another Mac with Illustrator CS3 also can't cut and paste suggests that is is really not something personal to my main system.
    It is almost as if this is some clandestine "update" intended to encourage me to buy Illustrator CS4.  Given that I bought Illustrator CS3 less than a year ago, I really am not eager to buy the new version.   The greeting on the Adobe Support page that CS3 is no longer the current version and therefore supported was most annoying.
    I am really hoping that someone out there has an idea of what to try changing, removing and/or adjusting with respect to Adobe Illustrator CS3.

    I tried the Select by Path option - can't believe I missed it - and found it made no difference.
    I actually uninstalled and reinstalled the whole app.  When I tried to simply re-install (can't remember it's exact phrase) it got part way through and then demanded another disk - but I only have one DVD with the application - the extra DVD is for tutorials and it didn't accept that one either.  So I restarted that process and chose to completely uninstall.  Then reinstalled - hey with only my one disk - gee, just like the first time.   And then it seemed to work.
    I was not aware of the save as PDF option - but yes I have Adobe Acrobat Pro 9 for Mac so that option is there - and it seems to work too.  
    There were of course a slue of updates, and I let them all proceed - but even with them all in place the system is fine and I can once again drag and drop / cut and paste things back and forth.   I just tried a text block and "The Quick Brown Fox" pasted in with a clipping mask about 10 times the size of the document, but other than that it was ok.  
    So I have things working again on my primary system.   Will try and figure out what's wrong with the other one - but a reinstall might be the easiest game there too.

  • Dreamweaver CS3 and Mac OS 10.4.11 Incompatability

    I have been using Dreamweaver CS3 under OS 10.4.10 for a few
    months without significant issues... but after upgrading to 10.4.11
    there is a significant problem.
    I am unable to access any of my remote servers to upload
    files to the sites I have built.
    I was able to reinstall Dreamweaver 8 and it works fine with
    all the same setups
    I've read a technote on a noted problem with Dreamweaver CS3
    and Mac OS 10.5 - but it also appears to happen on 10.4.11
    You can read the 10.5 technote here:
    http://www.adobe.com/go/kb402780

    I have not experienced this problem. Try removing the DW CS3
    preferences file in your Library and then let DW build a new one.
    BTW, what error you are getting when you try to FTP?

  • Premiere Pro CS3 for Mac quits when exporting

    I'm using Premiere CS3 for Mac and I imported several mpeg footage I took with my Sony Cybershot camera. The videos are in 640x480, but when I opened a new project I choose 720x480 DV format. Then the videos were stretched to the DV size.
    When I try to export my timeline, the render dialog shows 'compiling...' and nothing happens with the progress bar and Premiere is suddenly closed.
    I took one of the videos and rendered it as Quicktime movie 720x480 in AFX, and then I created another timeline with this new video and the export worked fine.
    I think the problem is the MPEG format that my CyberShot uses. Am I right?

    Yes.

  • PS CS3 and Mac 10.9.5

    I"m using PS CS3 with Mac 10.9.5. This week had to do a wipe and reinstall of the Mac due to numerous problems.  Now can't get CS3 disc to reinstall even though I successfully did this about 2 months ago.  Have tried clean and re-install, but am not able to follow the instructions.  I would appreciate any help please

    Erik,
    Here it is always recommended to open/save AI documents from/to own harddisk, and to only copy from/to externals such as local server/whatever.
    The reason is that with the latter, AI files tend to get corrupted sooner or later, so you may be lucky for a while but it hurts when your luck runs out.
    In addition to the (far greater) risk of file corruption, some issues are mentioned here:
    http://helpx.adobe.com/illustrator/kb/illustrator-support-networks-removable-media.html

  • Activation CS3 on Mac

    I needed to transfer the license to Adobe CS3 from one Mac to another. The problem came when I tried to activate CS3 on the new system:
    On the old Mac, I tried to deactivate the license, but do not see this menu item:
    What can I do so that I can deactivate the license?

    you have a volume license. Contact support.
    Mylenium

  • LOST TOOLS PANEL in Illustrator CS3 for Mac !

    I recently installed Adobe CS3 for Mac on an iMac G5 OS X 10.4.11.  Photoshop works great with no problems.  However in Illustrator I cannot get my Tools Panel to appear.   My "WINDOW" pull down menu in Illustrator only has the following options: "New Window", "Minimize Window", "Bring All to Front", "Attributes", "Info" and "Type".  The "VIEW" pull down menu has many options but none seem to open up the Tools panel. None of my Drawing Tools, Shape Tools, Cutting Tools, Moving Tools etc are visible!
    I have uninstalled and then re-installed CS3 to no avail.  I have tried to reset the Adobe software preferences by simultaneously holding down "Command+Option+Shift+Control" during Illustrator launch, a tip I found online but it also failed to work.
    PLEASE HELP!
    Thanks!

    This is what i think is wrong.
    i think though you have installed AI three times you have also made an alias of the applications icon, or what you thin is an alias.
    But what you probably have done is to make a copy of the application outside of the application folder.
    If in fact you do think that you are launching fro an alias trash the alias and not and make a new one by holding down the command and option key as you drag the icon. What you probably did was only hold the option key down which made a copy of the application outside the application folder which could prevent these features from loading.
    Now I have also heard there is a software conflict that can cause this but I admit I do not recall what that is.

  • DW CS3 for Mac won't save or upload

    I've been using Dreamweaver CS3 for Mac lately, and have been
    able to upload quite a few pages already. Today, however, I was
    uploading a vital page but would constantly get the following
    message:
    "An FTP error occurred - cannot get remote folder
    information. Dreamweaver encountered an internal data error. Please
    try the operation again."
    Is it because last night I happened to turn on my Firewall
    and turn off my Personal File Sharing and Personal Web Sharing?
    However, I've since turned off the Firewall again, and turned on
    Personal File Sharing and Personal Web Sharing. Dreamweaver still
    gives the same message above.
    Do I have to reboot? Problem is, I can't save the html file I
    just did, and it was a heck of a job. Don't tell me I have to do it
    all over again?
    Or is it because I deleted quite a few duplicate files from
    my local site through my Finder? But I've been doing that before,
    one file at a time, and this never happened.

    Is it because last night I happened to turn on my Firewall
    Most likely, yes.
    > Do I have to reboot?
    Most likely, yes.
    > Problem is, I can't save the html file I just did
    Copy the code from DW and paste it into Notepad. Save it.
    WAIT - are you
    saying you are editing directly on the server? Why can't you
    save it?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Mila D. Aguilar" <[email protected]> wrote
    in message
    news:fbm881$acj$[email protected]..
    > I've been using Dreamweaver CS3 for Mac lately, and have
    been able to
    > upload
    > quite a few pages already. Today, however, I was
    uploading a vital page
    > but
    > would constantly get the following message:
    >
    > "An FTP error occurred - cannot get remote folder
    information. Dreamweaver
    > encountered an internal data error. Please try the
    operation again."
    >
    > Is it because last night I happened to turn on my
    Firewall and turn off my
    > Personal File Sharing and Personal Web Sharing? However,
    I've since turned
    > off
    > the Firewall again, and turned on Personal File Sharing
    and Personal Web
    > Sharing. Dreamweaver still gives the same message above.
    >
    > Do I have to reboot? Problem is, I can't save the html
    file I just did,
    > and it
    > was a heck of a job. Don't tell me I have to do it all
    over again?
    >
    > Or is it because I deleted quite a few duplicate files
    from my local site
    > through my Finder? But I've been doing that before, one
    file at a time,
    > and
    > this never happened.
    >

  • Workflow photoshop cs3 on mac with nikon d200/300 camera

    I already asked this question at the mac forum in here ...it dealed with the problem that i have noisy pictures anyway after having changed to ps cs3 under mac.Istill make the pictures with my nikon d200/300 camera and i have not chosen any higher iso number. I usually take the pictures in raw format transform them into tiff format after having finished my work and sometimes i produce jpegs out of the tiff file later on.In fact ,all the pictures have this noise effects . Has this got something to do with the colour depht menue in camera or cs3 maybe?

    Probably has to do with your default sharpening & noise reduction settings.
    If you're comparing to in-camera JPEGs then the JPEGs usually look smoother initially because the higher ISO images will have a fair amount of noise reduction applied.

  • FTP transfers hang in CS3 for Mac/10.5.4

    This is a topic that has been continually raised on this
    forum, but never fully solved. I am using Dreamweaver CS3 on Mac OS
    10.5.4.
    When making a connection to my site's host, the client
    connects properly, several files are transferred, then the
    connection hangs as Dreamweaver continually tries to upload a file,
    but is unsuccessful. This occurs while uploading different pages
    with different files. The hang occurs after a few seconds of
    activity.
    For the record, I have tried both passive and non-passive
    transfers, I am not operating behind a firewall, I have altered the
    connection timeout settings from everything between 3 seconds to
    120 seconds (60 is default). My site uses a fixed IP address and
    the problem occurs both on my desktop (Mac Pro) and my laptop
    (Macbook Pro) in different locations with different networks.
    Background: Dreamweaver MX had this problem, CS2 fixed it,
    CS3 has broken it again:
    Dreamweaver
    FTP problem
    Fact: Using the exact same connection settings in Transmit,
    the transfers have no problem. Dreamweaver CS2 does not have this
    problem, either on Mac or PC.
    It's time that Adobe got serious about fixing this. When a
    thread exists with 80+ messages of complaint and there is no
    resolution, there is a problem.
    If anyone can shed light on this, it would be most
    appreciated.

    Ok, first off that thread was solved from what I read. The
    original poster had an issue where they could only connect to their
    server via IP address and not the domain name in 10.5.0 and 10.5.1.
    They were told to fix the DNS and that the 10.5.2 update solved the
    issue from Apple's end when it was released. This is now 10.5.4 so
    this problem should be gone from the original poster because that
    topic was started in October of last year.
    Next, Mac does have a firewall by default like Windows. Look
    in the System Preferences->Security->Firewall. Set it to
    allow all incoming connections (basically off).
    Next, have you gone through the FTP troubleshooting steps?
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14834
    If you have not gone through those at this point I would
    highly recommend starting there. This will eliminate the cause a
    bit more. Also on the Mac platform, I do not believe that I have
    ever seen DW transfer successfully when Passive FTP is turned off
    due to the Mac firewall, so I would recommend leaving that checked
    while you test through the above KB article.
    If you continue to have issues with the FTP after going
    through those steps please post back with the progress.
    And one other note. Adobe does not normally check these
    forums. If you do require advanced support Adobe does have contact
    information which can be found from the link at the top of these
    forums (and every page of the site if I am not mistaken).
    And lastly, as a suggestion I would recommend downloading the
    CS4 beta (
    http://labs.adobe.com/technologies/dreamweavercs4/
    ). All you need to run it past the 2-day limit is your CS3 serial
    number. If something is broken in that version you would be more
    likely to see it patched before the release as opposed to CS3 which
    is on its way out. Also on that page you will find a link to the
    CS4 forums which Adobe does check for bugs being that it is a beta
    product.

Maybe you are looking for

  • ITunes will not load in Vista.......

    I have installed and reinstalled the newest iTunes out there and my computer will not load iTunes. I get a message......"iTunes has stopped working." and it makes me close down, but iTunes never loads up. I have checked the help/support pages and hav

  • Selection-screen in the output of the program

    Hi, I want to print the selection criteria ( or Values )  in the output of the program  on the RIGHT HAND SIDE OF THE HEADER. I am doing code through ALV and I want to include the respective code in 'TOP_OF_PAGE' If there are no values in the selecti

  • Can't import psd file InDesign CS5 on PC

    Hi I'm helping a friend who has InDesign CS5 on a PC. I worked on 60 images on a Mac and saved them as psd files (necessary for transparency, etc.) but when I try to import them into her InDesign file, I get an error message saying something to the e

  • Leopard iCal Server, iPhone & MobileMe - best way to set up?

    Hi there, hoping someone can help with this scenario: In our office (approx. 30 people running Leopard), we connect to an iCal Server in order to have a shared CalDAV diary. Currently, everyone logs in as the same CalDAV account. Within this account

  • How are the Basis Config Steps involved in sending an SMS through Workflows

    Hi Every one, WE are implementing sending SMS's through workflows what are the various Configs that need to be maintained.. Regards, Raj