A cross platform functioning button

I'm building a hybrid CD that has buttons in it that launch
.pdfs.
To do so on the PC side I'm using JStart so that when a
button is clicked it runs an executable that launches the .pdf in
Reader:
on (release) {
fscommand("Exec", "JSTART_GS_02gs.EXE");
FYI - "JSTART_GS_02gs.EXE" points to the .pdf called
GS_02gs.pdf
On the MAC side I'm using a get url command to launch the
.pdf:
on (release) {
getURL("MM/fscommand/GS_02gs.pdf");
fscommand is the folder where the .pdfs and JStart files are
located. They have to be here in order for them to launch correctly
on the PC side.
Rignt now I have two buttons for each .pdf - one for MAC and
one for PC. I'd like to use just one button for both of these
commands. If I put both of these commands on one button they both
work, however on the PC side it also pulls up a blank web page due
to the "get url" for the MAC side. Is it possible to have the PC
side ignore the "get url" command, but not ignore it on the MAC
side? Should I be using an entirely different code structure to
make this happen?
thanks!

Check the Systems.capabilities class. There you will find out
how see platform you are on.
You could then set some variable to indicate which one and
use an if statement on the button.

Similar Messages

  • Old Macromedia - Adobe cross platform font issues

    This message is more directed to Adobe.
    I am aware that currently OpenType fonts are cross platform compatible but only with Illustrator, Photoshop and InDesign.
    However, my primary workspace is Fireworks-Flash. There are serious cross platform issues with fonts - I have looked at truetype, postscript and opentype and they all have issues translating onto PC - many of the styles are not available.
    In our studio I design on Mac but our Flash developers are on PC - our final renders and review renders always need to happen on Mac as a result of this cross platform issue. This is a little inefficient.
    When is Adobe planning on resolving this issue?

    "I am aware that currently OpenType fonts are cross platform
    compatible but only with Illustrator, Photoshop and InDesign."
    No, they are fully cross-platform compatible. The Adobe products you
    mention, along with a very few others, are the only applications
    capable of taking full advantage of the advanced features available in
    some opentype fonts. And even the three products you mention don't all
    necessarily support open-type in the same way.
    "However, my primary workspace is Fireworks-Flash. There are serious
    cross platform issues with fonts - I have looked at truetype,
    postscript and opentype and they all have issues translating onto PC -
    many of the styles are not available."
    If you are using the same application version on both platforms, you
    should have identical functionality. If you're using an older version
    of Fireworks.
    The only cross-platform style issue with TT or T1 fonts is that
    Windows doesn't recognize any styles other than Regular, Bold, Italic,
    and Bold Italic. Also, there's a font menu difference between MacOS
    and Windows. Mac display all available styles, whereas Windows only
    displays the family name, and you have to select the variants from
    somewhere else (typically "B" "I" "U" buttons). SOME font families
    from some vendors use the style function to define such variants as
    Small Caps, Light, etc. MS products get ... confused.
    "In our studio I design on Mac but our Flash developers are on PC -
    our final renders and review renders always need to happen on Mac as a
    result of this cross platform issue. This is a little inefficient."
    If you're using different applications for design and rendering, and
    their functionality is different, then you have a cross-application
    compatibility issue. You didn't mention what applications or versions
    are involved.
    "When is Adobe planning on resolving this issue?"
    It may be more a Microsoft issue than an Adobe issue. In addition to
    the style limitations, There are no MS products that yet support
    open-type features.
    Although Adobe personnel do sometimes visit here, this is not a
    "talk-to-Adobe' forum. Since your problem is application related, I'd
    suggest taking it to the appropriate application forumsFireworks
    General Discussion looks right.
    And, as Bob said, you might also contact Adobe support directly with
    your concerns.

  • Dir 11.5 cross platform anomaly - Mac projector goes dormant after visiting a website

    Hello,
    I'm working out the last of the kinks in a cross platform projector built in a Windows environment using Director 11.5.
    I've encountered one kink that I can't seem to eliminate.
    One of the functions of the projector allows users to visit various websites through Buddy API's OpenURL command.  It works perfectly in the Windows domain, and it almost works perfectly in the Mac domain except...
    When you close the website and return to the projector on a Mac the projector seems to be dormant in that buttons wont highlight.  However if you click anywhere in the stage the projector comes back to life and all is good again.
    Has anyone else encountered this and if so how did you resolve it?
    TIA!
    Karl
    Tallahassee, FL

    Yep, animate in the background is enabled.
    The projector works perfectly in the Windows realm and except for this one anomaly it works in the Mac realm.
    Keep the thoughts coming!

  • Which product to purchase (cross platform necessary from Mac to PC) Adobe Photoshop 6.0.x to ???

    I have ancient Mac photoshop and pagemaker files. i need best cross platform product for windows that can access these files. adobe photoshop is my primary concern. I understand the indesign cs2 will import old school mac photoshop 6.0.x but is not compatible with windows 7 ... thank you.
    In particular we use windows 7 x64
    So in summary, need to determine which Windows 7 x64 version of Indesign CSxx will still open archaic Mac Adobe files (layouts, EPS, etc).  Or is there a similar product that must be obtained.  I prefer to stick to Adobe products, however, if I must go elsewhere and you can help -- please advise. 
    Also, if you know what I should obtain, does this product have a trial download option that I can test functionality before purchase?  Warranty when I do buy information -- and return policy in general?
    Many thanks.

    PM support has long been pulled from InDesign. You are going to need some old version like CS or CS2 and save an intermediate step to ID files. PS is not a probelm at all. All programs have 30day trials and Adobe has a general 14day return policy. Refer to the product pages on teh website.
    Mylenium

  • How can I get C3PO's working in the Cross Platform Client

    Hi!
    I need to know if it is possible to use C3PO's in the GroupWise 7 Cross
    Platform Client?
    If not, is there some method documented to achieve the same functionality?
    Thanks,
    Chris

    It's even mentioned in the API reference, section "LrView text properties":
    height_in_lines : (Read-Only)
        Calculates the minimum height using this as the number of lines
        that should fit. If height_in_lines is set to -1, and width or
        width_in_digits or width_in_chars is specified, text wraps.
        (number, default: 1)

  • Help!  Cross Platform Projector issue

    Hi all,
    I am sure this has been a hot topic for years and I did do
    various searches and was surprised not to find anything on it
    quickly. Sorry if this has been discussed a lot, as I imagine it
    has. We are able to make our functioning mac and win projector with
    our win version of flash 8, but everytime I burn the cd on win, the
    projector file does not know what to do with itself when trying to
    launch back on mac.
    Questions:
    1. Does cross platform burning have to be performed on a Mac?
    2. If so, does one need toast to do the cross platform
    burning to make the mac and win projectors groovy on their
    respective platforms? We have a brand new MacBook Pro - it seems
    like it should have these capabilities built in at this point, but
    not sure.
    Any pointers here or to a technote would be much appreciated.
    Thanks!
    We

    Read this
    http://board.flashkit.com/board/showthread.php?s=ffa1834a93ea5d8f5c4c8f9e97f34191&threadid =500326
    Regards
    FlashJester Support Team
    e. - [email protected]
    w. -
    http://www.flashjester.com
    There is a very fine line between "hobby" and
    "mental illness."

  • Exchange tasks and to-dos and cross platform continuity

    When one creates a task on the PC with the shortcut to create a task it gets created as a to-do and not in the tasks folder or the exchange account. All other devices only look at the tasks folder so tasks are not cross platform.
    Ctnl-shift-K is create new task. So why does it only show in the PC to do list and not the task list. It does not then show in the task list
    on my mac or other devices. Whoever had a hand in the task and to do set up had no idea of continuity between apps, naming and functions. 
    Creating a task in the mac environment (too many keystrokes) will create a task but it will often show on my PC in the to-do list but not on the Mac task list on which it was created.
    Does anyone have any great answers or solutions? HELP!!!!!!

    Since there's no evidence in your post that any of this has anything to do with an Exchange server, I recommend that you post this in the Outlook Forum: 
    http://social.technet.microsoft.com/Forums/en-US/outlook/threads
    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."

  • What's the proper way to do this cross-platform app?

    hey y'all
    I'm making a multimedia app  with LV2010 and I'm trying to make it cross platform (win and mac os x).
    The functionality I need requires the use of  system libraries, I have access to somewhat similar functions in both OS's
    (winmm.dll in windows, coreMidi.framework in mac OS X)
    Except for the  actual system calls  the VIs will be identical.
    I can make the VI work in either platform by using the  call library function node,  but  i don't want to  have two copies of everything.
    I've tried  doing  a  wrapper sub  VI that puts  the  call library function node  in a case statement  and detect the OS but this VI will not be  executable because of dependencies (won't find the  library referenced in one of the cases. depending on the OS executed)
    Is there any way  I can specify  which subVI's to load  on a project or something to  get this whole dependency issue sorted?
    Solved!
    Go to Solution.

    You want to wrap the platform-specific code in a Conditional Disable structure, with one condition for each supported platform.  The OS symbol is already defined; see the help for Creating Conditional Disable Structures, which lists the pre-defined symbols and values.

  • Suggestion on using Cross platform JMF

    hi all,
    I have been using JMF windows performance pack to run audio and video in an applet.After creating jar file out of that, i tried running it in another system and found that,my jar file executes only after installing JMF in that system.How to solve this problem.What if i want to execute my jar file in other platforms such as linux,mac os x,etc.Should i use CROSS PLATFORM JMF.Please help me solve this problem.
    Thanks in advance
    Regards

    The performance pack versions of JMF are "generally" just for video capture functionality, eg. webcams and tv cards.
    If your code just requires JMF to play media ( video/sound) then I suspect you can get away with the cross-platform version. But if you need video capture, then that's too intensive for pure java, and Sun had to use native code, which required the separate "performance pack" releases.
    regards,
    Owen

  • Is InDesign SDK (CS4) cross platform

    Hi
    I am newbie to Adobe SDK and had a quick question.
    I remember reading in some documentation that Adobe SDK CS4 is "almost" cross platform. I am wondering if anyone here has experience with both windows and mac development to mention if that is the case or if there is some big differences. Also  I am wondering if to use InDesign SDK on Mac would I need to use objective C or would C++ work fine. Is using the SDK on Mac as simple as simplying copying the C++ files from windows and doing minor tweaks to them to compile?
    thanks
    Sam

    Hi
    Your source is the same for Windows and MAC
    The only difference is the compiler.
    Meaning if you are using source control, you can check out the same source om both Windows and Mac
    When dealing with files and Strings there are functions that only exist on Windows and some only on MAC
    But it's pretty straight forward....
    Of cource you have to download the SDK for both platforms

  • Is Java the only real way of doing cross-platform GUI

    I'm planning a project that will involve some GUI-centric work (its essentially a spreadsheet with some functional programming features). I want to have it be cross platform because I would like to build it as a tool for first time programmers. I haven't really done much GUI programming before but from what experience I have, it seems that the JVM with Swing is the the least painful for the user. I've had some experience with Python, but can't find something that works equally well on all platforms without the user installing a lot of stuff. I've also considered going the JavaScript+browser route, but that's not something I'd like to tackle. Any other ideas?

    Trent wrote:
    Just about anything can be statically linked.  You can even statically link Python and Perl scripts with the interpreter and all the needed libraries, although that would of course hog lots and lots of space that probably isn't necessary.  Compiled languages like C and C++ are the best options for static linking imo.
    I find it contradictory that you want "to give users a single file [that] they can just click and run without having to install a bunch of frameworks first", and immediately turn to Java.  Java is not universal, and it's a significantly large framework to have to install just to run one program.  I can write a GUI program with Python and Tkinter and tell Windows users to install Python first; it's the same thing as compiling a .jar and telling Windows users to install Java first.  If you really just want a click-and-run executable, then your only option (for Windows) is a statically linked .exe.
    Difference being that most probably the user already has java, since more and more webpages require it to run.

  • Cross-platform compatibility?

    Not addressed in product specs:
    How does Muse handle cross-platform compatibility?
    Does it use HTML5 features?
    How does it handle audio and video?
    Can it generate a 'functioning' contact form?

    Muse handles output for most desktop browsers well.
    Muse only produces HTML5.
    Muse does not import audio or video files unless you paste code into this 'codeless' design tool.
    Muse only produces client side javascript. It offers no server side scripting (contact forms, comment areas, user account registration, password protection, e-commerce). If you want that, you'll need to paste code into this "codeless" design tool.
    It is possible to find more mature web design programs.

  • Will �cross platform app� run on one platform?

    Hi there,
    please forgive my stupidity but if I have a J2ME app which contains one function calling functions from Blackberry library. Can this app be installed and run ok on non Blackberry phones, such as Nokia (suppose that Blackberry related code will not be called under this non-Blackberry phone), within Nokia emulator environment, or real Nokia phones?
    It would be much appreciated if someone could shed some light here so that my time and effort to try it out could be saved.
    Many thanks in advance,
    qmei from London

    Here, let me actually be helpfull...
    It depends on the phone.
    To be able to use the exact same app in multiple devices, when some are calling device specific code is possible, but it really does depend on a few factors...
    1) You must not ever reference or instantiate any classes that import the device specific libraries. If any such classes are referenced directly in your application, the offending class will be loaded into memory, at which point the device's VM will notice that it's trying to reference a library that it doesn't recognize, and likely crash out.
    2) You must only load such offending classes by name, and even then, there must only reference offending classes through an interface. So if you have a canvas class that imports nokia libraries, as well as other canvas classes that import other manufacturer libraries, you must make them all implement the same interface, and do something like this...
    try{
    Class cls = Class.forName("com.nokia.mid.ui.FullCanvas");
    cls = Class.forName("NokiaGameScreen");
    Object o = (cls.newInstance());
    gameScreen = (GameScreen)o;
    gameScreen.init(this);
    }catch(Exception e){
    //cant' use nokia!
    //try another manufacturer...
    }... so I'll explain in greater detail...
    1) Class cls = Class.forName("com.nokia.mid.ui.FullCanvas");This line with throw an exception if no class matches the supplied argument. Generally you'd do something like this to check for the existance of one of the classes you intend to import. If this line does not throw an Exception, than instantiating the desired display should be fine. In this case, if we don't throws an Exception, we can be sure that we are running on a Nokia device.
    2) cls = Class.forName("NokiaGameScreen");This line actually grabbs the class you intend to instantiate, which contains the offending import. Only when we reach this point does the VM load the class into memory, and validate it's imports. We have already determined that we are running on a Nokia device from the previous line.
    3) Object o = (cls.newInstance()); Get an instance of the desired class.
    4) gameScreen = (GameScreen)o;gameScreen is of the type 'GameScreen', which is an interface I defined and is implemented by all of my different manufacturer/device specific Canvas's.
    5) gameScreen.init(this);I am simply calling the 'public void init(Midlet)' function I created that is exposed through my 'GameScreen' interface.
    As you can see in the above example, I never directly reference the 'NokiaGameScreen' class, and instead indirectly reference it through an interface it's implementing called 'GameScreen'.
    This type of 'cross platform' coding works well on many, but not all devices. It's a headache, but some devices go through the entire .jar file and validate each and every .class file during the installation process. These annoying phones will cancel the install if they find any imports that are not recognized. So even if the class is simply accidentally left in the .jar, with no possible way to ever load or instantiate it, the device may decide it won't let you run or install.
    Because of the problem devices, I always create a separate build for each manufacturer, and exclude the other manufacturer's classes from the build entirely.
    Message was edited by:
    hooble

  • Cross platform CS on PC to CS3 on Mac does not work like video says

    Your video on cross platform workflow states that you can import older Premier CS files on a PC into CS3 on a Mac. I tried this and get the message, "this project was saved in a aversion prior to Adobe Premiere Pro CS3 and cannot be opened on a Mac. Please refer to the User Guide for import options." I guess I have to assume then that the video, www.adobe.com/go/vid0236, is wrong about this? Can someone please explain how I can salvage the work I did 3 years ago on Premiere Pro 1 on a PC when I am now exclusively working on the Mac in CS3?
    Thank you.

    Ty,
    This has come up a few times and the solution is to find a PC CS3 user, who will Open the Project and then Save it in CS3-CS4 for you. I does mean that you'll have to befriend a PC-person, but who knows, maybe you can reciprocate later on. In each previous instance, this workflow, PC to PC to Mac worked perfectly. Note: the same holds for Encore Projects, and there is some PC to PC incompatibilities between very early versions and later versions. I had to Open and Save an Enocre 1.0 Project in CS2, so a CS4 (only) user could then Open in CS4. This stuff happens, and the skip in Mac porting can play a role in it. If I had CS3 on my PC's, I'd do it for you, but CS2 will not hlep you.
    I believe that P 6.5 was the last previous version ported for the Mac, until CS3.
    Good luck,
    Hunt

  • Need Help in Cross Platform Migration

    Hi Gurus,
    can you please tell me best way to do Corss Platform Migration with minimum down time and we are planning to do from AIX TO HP-UX.
    oracle version is 10g
    and can we do the data sync using streems if it is can you give the steps to configure streems in cross platform.
    Thanks in advance.

    High Availability Customer Case Studies, Presentations, Profiles, Analyst Reports, and Press Releases
    [http://www.oracle.com/technology/deploy/availability/htdocs/HA_CaseStudies.html?_template=/ocom/print]
    Check under Transportable Tablespace at the bottom
    [Multi Terabyte Database Migration|http://www.oracle.com/technology/deploy/availability/pdf/TheHartfordProfile_XTTS.pdf]
    HTH
    Anantha

Maybe you are looking for

  • How can I create a guest network on an airport extreme that connects wirelessly with a Timecapsule

    I have a Timecapsule in one place of our house, that is connected to Internet.  I need to extend the range of my network:  1.  my private network needs to get to a remote location to make connection with speakers (Itunes).  for this I need to first e

  • Best way to preserve movies

    My iMovie files are taking up a lot of space on my computer. But I want to continue to make copies of them in the future. Can I save them in some kind of iDVD format to preserve quality, but consolidate space? If I export them to .DV format will they

  • What event is fired when

    Hi Everyone, I have a page that is displayed using CompleteAuditController *screen = [[CompleteAuditController alloc] initWithNibName:@"CompleteAuditWindow" bundle:nil]; screen.modalTransitionStyle = UIModalTransitionStyleCrossDissolve; [self present

  • Printing photos with Bridge

    To my knowledge this feature does not exist. That being said, here's what I want. I want the ability to print photos using Bridge, whereas currently, I have to open either Photoshop, Illustrator, or whatever to print. It shouldn't be that hard to int

  • Which Service Version to use for EhP4

    Hi all, We are upgrading our portal and ECC6 system and implementing ESS. We believe we have consulted the right notes and docs and have correct versions installed. We are on... SAP_BASIS 701 SP7 SAP-HR 604 SP27 EA-HR 604 SP27 BP ESS 1.41 SP8 SAP  ES