Portage (Mac <>- Win) tips

For years, I worked in CodeWarrior, and I could make developing cross-platform Adobe Illustrator plugins quite easily using a base, with a few files for each platform and only a code compiler with different objectives for debug/release and Mac/Windows. I documented what I did here, but now, using Xcode and Visual Studio, everything is changed. In my case, I start with project Mac and carry it to the PC, but I don't know there is too much work the other way. Do you have some favorite for portability between platforms that you would be willing to share, particularly in the transfer of resources? Thank you! -Rick

Resources are a pain. There is no real way to share them unfortunately because they use different mechanisms of widly. We have solved a lot of our problems just by using Qt for our dialog boxes. We always have to share resources for stuff based on the ADM as panels, but everything is very cross-platform. We still use the system of qmake to share project files - sort of. With qmake you create .pro files that run you qmake, who spits the platform you want. While we manage a single .pro file, and it creates the Xcode & VS project files.

Regarding the code, most of our code is cross-platform, except some of the makings of loading resources.

Tags: Illustrator

Similar Questions

  • Update of Lightroom 5 victory to Lightroom 6 Mac/Win

    I have Lightroom for Windows 5 and want to upgrade to Lightroom 6 Mac/Win. It will be possible to run the upgrade on a Mac?

    Yes.  Install LR 6 on Mac and follow these instructions for migration from Windows to Mac: How can I move a computer to a new Lightroom?

  • Adobe Photoshop Lightroom Mac/Win 5 - issue of license

    Hello

    I have a single license for Lightroom 5 Mac/Win. I installed it on my Windows PC. Can I also install it on my new Macbook Pro, if I am the only user and use it only in one place at the same time?

    Hi Henrik,

    Yes you can.

    Click on the link below for more information

    End user FAQ license contracts

    Thank you

  • I bought Creative cloud individual training MAC &amp; WIN 12MTH membership but will not install it until next year it will still be valid then?

    I bought Creative cloud individual training MAC & WIN 12MTH membership but will not install it until next year it will still be valid then?

    Hello

    Please visit the following link:

    Using creative cloud | Creative cloud / Common Questions

    This should help answer your request, let us know if this helps.

    Kind regards

    Bani

  • Download of Mac/Win full LR 5 students.  Download history of orders bed "not applicable". Separate downloads available for Mac

    I received an email provide me my product serial numbers and instructions to download my orders LR5.

    Download page for the shows 'not applicable' in the column "Download" next to the product: "LR 5 Mac/Win, English.

    Below are the download links active for both Windows and Mac of the LR5.

    Can I download among the active links (e.g. Win) or should there be an active download link where it is currently labeled "not applicable"?

    Nic_from_aus please click on the links that are available for download.  You can find more details about the process from download to find a download link on Adobe.com.

  • Photos for Mac user tips

    The new provision of the communities came out, but usage tips appear still to be hidden:

    Use the display of the content to access: Photos for Mac

  • Cross upgrade to Mac Win

    ICH habe Acrobat XI as Win so. Nun bin ich auf Mac charged. The Win-Version use ich nicht mehr. Wie kann ich auf Acrobat XI Mac upgraden?

    I bought Acrobat XI to Win. Now, I changed to Mac. I use no more than the Win version. How can I uprgrade auf die XI Mac Version of Acrobat?

    You can exchange languages/platforms for a product that you own if you follow the instructions on the following link:

    l http://helpx.adobe.com/x-productkb/Policy-Pricing/Order-Product-Platform-Language-swap.htm

  • Activation of Flash CS3 in Parallels for Mac Win

    I went from Windows XP, Mac OS and use my apps Windows Windows XP on Parallels Desktop for Mac. Now, I want to use my Flash CS3 update for Win in Parallels. Are there problems to activate the software? Is there a risk of losing the activation? I ve red that normally the activation token is written on a part of the hard drive, which is not used by file systems, so that the formatting of the hard drive may not remove activation. But what happens in VM, because the VM knows only the file system and nothing more on the hard drive?

    If you perform a giveback of license on the Windows machine (assuming that you previously had installed CS3) then you should have no problem installing on parallels. (On the side of the PC, it is help > activate)

    If you have already let down the PC then phone service customer and they should be able to ensure that your installation on the side of mac has no problem.

  • Mac <>- Win path traps - need help

    Hello world

    I hope that someone with Mac advise me how to handle the problem...

    I push paths to the array from different sources (UI, doc links, external list, etc.). The goal is to manage this on Mac and Windows platform.

    Unfortunately, I can't test using MacOS (lack of material nearby). The problem is of good encoding for 'special characters' as 'slash', 'backslash', 'question mark' etc - who - as far as I know - are acceptable while naming the files/folders in Mac OS.

    Lets say the file is a real file on Mac. I've stored File.fsName for var and var mPath trying to eval in the file of this more later-> on the sons of (mPath) lead me to the "undefined" path cause slash IE (or backslash - I'm not sure) is replaced 'on the fly' by two points.

    Is a solution to use File.absoluteURI to store a coding appropriate in this case or is - this much more complex question?

    Could someone with experience advice me which way to go?

    Jarek

    Hi Jarek,

    In my humble OPINION, File.absoluteURI is the way to go since this encoding scheme is cross-OS.

    Global functions encodeURI and decodeURI , then you can do what you need to use display etc.

    @+

    Marc

  • I have CS6 and I don't want to break, but I need need CC (mac) installation tips...

    I have a suite CS6 and I don't want to break, but I need CC.

    I don't have time this week for major problems all suite CS6 works very well.

    What is facilities like this news when suite CS6, are they are successful with the latest installers, versions etc.

    Are the facilities problem performing the suites CS, or are isolated problems and problems with the CC?

    I jump into it, or flee?

    Thanks in advance.

    j

    Mac 10.8.5

    Hello J,

    The answer is 'YES '. You can install CS6 and CC on the same machine without causing abreak in the functionality of all the apps CS6.

    Please see KB: http://helpx.adobe.com/creative-cloud/help/install-cc-and-cs6-apps.html

    Kind regards

    Rave

  • Different behavior on Mac/Win

    Hello

    I am currently working on an Extension of the Creative Suite, which will show a collection of images on a Panel (InDesign, Photoshop and Illustrator).

    I need path of the application in a few javascript files and I'm getting weird problems on our Mac tests. I reduced the code in as few lines as possible, to show the problem.

    Currently I use Photoshop CS5.1, Flash Builder 4.6 and Extension Builder 1.5 on my windows machine.

    This is the code:

    <? XML version = "1.0" encoding = "utf-8"? >

    " < = xmlns:mx mx:Application ' http://www.Adobe.com/2006/MXML "

    Initialize = "initializeHandler ()" >

    < mx:Script >

    <! [CDATA]

    import com.adobe.csawlib.photoshop.Photoshop;

    com.adobe.photoshop import. *;

    protected function initializeHandler (): void

    {

    var app: com.adobe.photoshop.Application = com.adobe.csawlib.photoshop.Photoshop.app;

    If (App.Path)

    MyLabel.set_Text = app.path.nativePath;

    on the other

    MyLabel.set_Text = "app.path was null;"

    }

    []] >

    < / mx:Script >

    < mx:VBox height = "100%" width = "100%" verticalAlign = "middle" horizontalAlign = "center" >

    < mx:Label id = "myLabel" / >

    < / mx:VBox >

    < / mx:Application >

    On my Windows machine myLabel shows the path of the installation directory. On our Mac app.path is zero, so it does not work.

    I tried different approaches to solve this problem, but it does not work yet. Here are some ideas of what I've tried so far:

    -Get the path in Javascript instead of using app.path.fsName (app.path is null on Mac in Javascript too, at least when it is called by the initialzeHandler)

    -Put a timer in the initializeHandler, wait 10 seconds and try to get the path then (not a good idea and app.path is always set to null)

    -Place a button on the Panel that runs the initializeHandler instead. (app.path works, but I need this to work without user intervention).

    Can someone enlighten me please?

    BTW. I'm a developer intern, so it is likely that there is a simple solution or an obvious mistake, do not hesitate to report them.

    These discussions could help:

    http://forums.Adobe.com/message/2983515#2983515

    http://forums.Adobe.com/message/3041081#3041081

    And read this cookbook entry:

    http://cookbooks.Adobe.com/post_Creative_Suite_Extensions_and_the_Photoshop_CS5_Re-17727.h tml

    Substances

  • How can I get an upgrade for PE8 PE10/Mac/Win?

    I used PE8 on a Windows7 PC but now changed all Mac - working mainly on an iMac systems. I would like to acquire my PE8 PE10 for Mac but I can not install the older version on my iMac. How can I get an upgrade then? Thanks for your comments

    The upgrade isn't usually a good deal financially. If you look around you can almost always find the full version of PSE for less that the same price as the version upgrade. Amazon Watch and the big box stores, which often sell it as a product of appeal. PES 10 box version includes mac and windows versions.

  • Mac/Win: button, button...

    Hi all -

    I developed a dialog box of ExtendScript using Mac InDesign CS5. I have now run on Windows with InDesign CS4 and there are a few small alignment problems, but the biggest missing some buttons:macwindialog.png

    I'm sure I'll have at the bottom of this, but I wonder if veterans had advice or pointers pertaining to the disappearance of the button?

    Thank you very much!

    Charles

    Hello!

    I think that it is something wrong with the numbers of "positioning" in your code.

    I never used this kind of precise positioning. Using a flow layout instead, you simply add the elements, and on the parent element (and the element itself), you can define different types of alignment. If you want to add other elements in the meantime, it is easier that way, and if you want a resizable window, the elements would fit in to that without coding.

    This code worked for me (just remove the [11, 22, 33, 44] numbers (probably no need to move the button code, that I test)):

    var l = new window ('dialog', "+"Sign selected");

    this.windowRef = w;

    g.p = w.add ('panel', undefined, 'Info Sign');

    w.p.Add ("statictext', undefined, ' Type :');")

    w.p.boxType = w.p.add ("' edittext ', undefined,");

    w.p.ddlTypes = w.p.add ('dropdownlist', undefined, Array ('A', 'B'));

    w.p.ddlTypes.selection = 1;

    w.p.cancelBtn = w.p.add ('button', undefined, 'Cancel');

    w.p.cancelBtn.onClick = function() {}

    w.Close (0);

    };

    w.p.applyBtn = w.p.add ('button', undefined, 'OK', {name: 'ok'});

    w.p.applyBtn.onClick = function() {}

    w.Close (1);

    };

    w.p.ddlTypes.onChange = function () {}

    Do not take the descriptions in the form of data:

    w.p.boxType.text = w.p.ddlTypes.selection.text.split ('\t', 1) m:System.NET.SocketAddress.ToString ();

    };

    w.p.boxType.addEventListener ('keydown', function (k)

    {

    If (k.keyName = 'Down') {}

    w.p.ddlTypes.active = true;

    w.p.ddlTypes.selection += 1;

    w.p.boxType.active = true;

    }

    If (k.keyName = 'Up') {}

    w.p.ddlTypes.active = true;

    w.p.ddlTypes.selection-= 1;

    w.p.boxType.active = true;

    }

    });

    theResult = w.show ();

  • Update of CS 3 to CS 5 Mac Win

    Ok. Here's the situation.

    I have a copy of Design Premium CS 3. This is the version of windows. I bought from a macintosh and have more Windows PC (which has been cleared of all software).

    I have therefore a valid unused CS 3 here, I want to upgrade to CS 5. Obviously, I can not install the version of windows on a mac to do an upgrade, but. However; the license certificate that I have has a serial number Mac on him like a windows one.

    Is it possible to use this license key to install an updated release of CS 5 on my Mac? If so, CS 3 must be installed on Mac first (which is a problem because I do not have OS X media) or did the installer upgrade just ask the product key of the old version?

    Thank you.

    If it's a volume license, as far as I KNOW, you can not use it to upgrade to a single user license.

    Bob

  • Sharing transparently catalogue between Mac/Win

    Hi guys

    I was wondering if it is possible to seamlessly share a catalog between a windows and a Mac lightroom install install Lightroom. I think I have my catalog on an external drive that I can spend my (office computer) mac and my pc (laptop). Is this possible?

    See you soon

    Anthony

    It is quite common to share between Mac and Windows Catalog using an external drive. However, make sure that the drive is formatted for use on Windows. Mac can read Windows to format the disks, so it shouldn't cause any problems.

Maybe you are looking for