Fscommand exec on mac to open pdf works in a cs3 projector file but not in a cs5 projector file

Hi,
I could succesfully open a external pdf with the following command in Flash cs3 on a Mac:
fscommand("exec", "test.app");
test.app (inside an fscommand folder) is an apple script that opens the pdf inside the fscommand folder, to make it work I needed to copy the fscommand folder into the MacOs Folder of the Mac Projector File. The same steps don't seem to work with Flash cs5. I can't downgrade my cs5 project to cs3.
Is this problem a bug in Flash cs5?
Has anyone solved this problem?
Thank you.

I had this same issue today - could not get a mac projector, FP 10, built in cs5, to run fscommand("exec", "test.app") no matter what I tried. I also couldn't find any definitive threads via google, so here's everything I know about fscommand("exec") for anyone who's looking.
I wanted to run a custom batch (.bat) file on windows and a custom applescript file on mac. I needed to restart a legacy, cross-platform kiosk application on a click (unfortunately could not use AIR).
On the Mac (Flash CS5) - First off - Flash CS5 on Mac did not work no matter what I tried
I also tried opening up the .app package contents and copying the fscommand folder into that, with no luck.
You have to create the projector in CS4 (I down-saved to CS4 and used my PC running CS4 to publish) and put the "callee" .app in a folder named fscommand alongside the projector.
I used these directions to create an .app of my applescript that restarts my projector: http://soapbox.lafayette.edu/node/517
Here's the applescript I wrote:
tell application "kiosk"
    -- kill the "caller" app if running
    quit
end tell
set myFile to (path to me)
tell application "Finder"
   -- the delay wasn't needed in practice, but might be of help
   -- delay 1
    open application file "kiosk.app" of container of container of myFile
end tell
Now when I call
fscommand("exec", "restart.app");
on a mac, my kiosk restarts as expected.
For PC peeps, I used this awesomely simple solution on windows (Flash CS4)
http://www.northcode.com/blog.php/2007/08/07/Conquering-FSCommand-EXEC-Part-1-Proxy
I put two files in my fscommand folder (at the same directory level as my projector):
- restart.exe (proxy.exe from above link renamed)
- restart.bat
The .bat file simply has 1 line that starts my projector (in the parent folder):
..\kiosk.exe
I call
fscommand("exec", "restart.exe");
and then have a 1 second timeout to kill the first "caller" projector. I wrapped the function as it didn't seem to work otherwise:
setTimeout(function(){fscommand("quit");}, 1000);
Yes, this means that I have two instances of the kiosk running at the same time for about 1 second.
Apologies if my response was slightly off-topic, but I hope the info helps someone avoid losing a whole evening on a pressing deadline like me!

Similar Messages

  • I have been able to open pdfs created in older versions of adobe, but not the newest version. Is anyone having issues opening PDFs sent via email created in version 9?

    I have been able to open pdfs created in older versions of adobe, but not the newest version. Is anyone having issues opening PDFs sent via email created in version 9? If so, what was your solution? I have PDF reader app as well.

    Can you open the files in Preview?

  • Downloaded certain files from my old computer on a memory stick.Have inputted stick into my new mac and can open PDF files but not xlr,aww or eps files.Is there a solution to this please?

    Transferred certain files to my new Mac from my old computer via memory stick.Can open PDF files but not xlr,aww or wps ones.The important ones are in xlr format.Is there a solution please?

    My guess is they don't care. Most likely they're illiterate and don't know what a colon is for. They probably think it's a little-used character. Remember: these are the people who don't know the difference between "deprecate" and "depreciate".
    I have the same colon problem as you do. But it's not the biggest problem I have encountered in Lion. If it was only that I'd be Mr. Delighted with Lion. There's worse than having a colon - uh -  that won't cooperate. A lot worse, in Lion.

  • PDF opens and works correctly with Windows 8 Reader, but not with Adobe Reader.  Why?

    Hi,
    My sister-in-law has this PDF order form from one of her company's distributors that opens and allows editing of specific fields.
    The only application that opens the file correctly (visually and functionally) is the Windows 8 Reader.  If I open the file in Adobe Reader or with the Mac viewer things do not line up, fonts are too large, and when editing fields sometimes symbols show up and sometimes way over-sized numbers show up.
    This behavior has been observed on both a Windows 8.1 PC as well as on a Mac Book Air.
    Can someone please tell me why this is happening?  Is there something that needs to be configured differently?
    Thanks,
    Matt

    This is what I see when I open that PDF in Adobe Reader 11.0.07:
    Can you tell me which parts are not correct?  Obviously the Submit button is a bit strange.

  • Why does Safari quit (on my Mac) when opening PDF?

    I'm on a Mac OSX 10.5.8 on Safari. Each time I first want to open a PDF, my Safari crashes. The note says, "Problem caused by Acrobat plug-in". After relaunching Safari I can open PDF files. Help?

    Hey thanks for responding so quickly! I've downloaded AppDelete
    Forgive my ignorance - what is Reader X app and how can I find it?
    Tom Copeland
    Date: Fri, 1 Jul 2011 12:33:12 -0600
    From: [email protected]
    To: [email address deleted by host]
    Subject: Adobe Reader Why does Safari quit (on my Mac) when opening PDF?
    One of the things I have loved about Macs since switching in 2003 is:
    They tell you what went wrong when something does.
    The Acrobat plugin is corrupted.
    Solution:
    Download a trial of AppDelete. Install it and open it.
    Drag the Reader X app to the window.
    Delete everything it finds associated with Reader X and empty the trash. Re-download Reader X and re-install it.
    It will install new support and preference files and plugins. and things should go more smoothly.

  • I have tried to download 5.0.1 on MAC X 10.6.8. Clicking download, I get a question from MAC --save or name application to open. Saving to desktop doesn't work. It appears in download, but not in desktop. What now? in English

    # Question
    I have tried to download 5.0.1 on MAC X 10.6.8. Clicking download, I get a question from MAC --save or name application to open. Saving to desktop doesn't work. It appears in download, but not in desktop. What now?

    On Mac OS, plugins are installed to a common location, usually ''' /Library/Internet Plugins''' for system-wide availability or to '''~/Library/Internet Plugins''' for a specific user. Ref: http://kb.mozillazine.org/Issues_related_to_plugins#Background
    Does Java 1.6.0_31 work on Safari or another browser?
    I also found the following, in case it helps:
    *http://reviews.cnet.com/8301-13727_7-57414869-263/how-to-use-java-applets-in-os-x-after-java-2012-003-update/
    *http://stackoverflow.com/questions/6411909/how-to-downgrade-jre-jdk-on-mac-osx

  • HT1766 i have backed up my iphone 5 and have a 5s I want to set up from that backup file. I have gone through the process once, and when I next connect the new AND the old phone to the mac and open itunes, restore or create new phone comes up not synch??

    i have backed up my iphone 5 and have a 5s I want to set up from that backup file. I have gone through the process once, and when I next connect the new AND the old phone to the mac and open itunes, restore or create new phone comes up not synch?? Tried starting the whole process over once but same result. Seems not to recognise the phone and just synch as it should. Help?

    Hello CosK,
    The following guide can step you through the process of using a backup of your iPhone 5 to transfer your content to your iPhone 5s.
    Transfer content from an iPhone, iPad, or iPod touch to a new device
    http://support.apple.com/kb/HT2109
    Should one or both of your phones fail to appear in iTunes, the following article provides troublesooting steps that can assist.
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    Cheers,
    Allen

  • Can Photoshop 6 documents open and work correctly in CS3 ?

    I just need to know if graphics that I have created in Photoshop 6 will open and work correctly in CS3, which I will be running in Windows XP ?
    I need to make sure that all of the layers will still be there, that the colors will be correct, etc... can anyone please help inform me correctly on this ?

    Congrats on your move up to modern software! 
    Sorry, couldn't resist.
    Actually, there are a lot of things to love about Photoshop CS3 as compared to 6.0.
    Keep in mind you can keep them both installed, assuming you have plenty of disk space, so if you find there's something you just can't find in CS3, you can always close down CS3 and fire up 6.0 (they can't both run at exactly the same time, even though they can coexist on the same computer).
    -Noel

  • If I try to download a pdf document, it appears in the tab but not on screen. I am using Firefox. I tried it with Safari and the document appeared on screen but it wouldn't print.

    If I try to download a pdf document, details appear in the tab but not on screen. I am using Firefox. If I use Safari it appears on the screen but the print is blank.

    Hi...
    Quit your browsers.
    Open the Finder.
    From the menu bar click Go > Go to Folder
    Typs this exactly as you see it here:    /Library/Internet Plug-Ins
    Click Go
    Move the Adobe PDF Browser plugin  (or just PDF Browser plugin) to the Trash.
    Relaunch either Firefox or Safarai and try downloading a PDF document.

  • Page is working ok in chrome and IE but not working in firefox. jquery problem i guess

    http://184.170.251.149/raschet-shkafa-kupe
    this page is working correctly in chrome and IE but not working in firefox, i cant click and of the dropdown menus(ДСП, доличество дверей). it was working perfectly prior firefox 18. can you please fix the compatibility problem ?

    I was referring to the second page in my above post.
    I disabled JavaScript as a test after loading the page with JavaScript enabled and that worked.<br />
    I also get the selects to open if I right-click instead of left-click the select.<br />
    That way the select get selected (shows a focus ring) and after that left-clicking works as well .
    This assumes that JavaScript is monitoring the left-click, but that script no longer works properly.
    A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.
    *http://forums.mozillazine.org/viewforum.php?f=25
    The helpers at that forum are more knowledgeable about web development issues.<br>
    You need to register at the MozillaZine forum site in order to post at that forum.

  • Hello i have a problem with onfocus function on ipad. i am trying to bring my cursor on a text box on a button click. It works fine with safari web browser but not on ipad. Need a solution.

    Hello i have a problem with onfocus function on ipad. I am trying to bring my cursor on a text box on a button click. It works fine with safari web browser but not on ipad. Need a solution.

    I don't think that a software update from Apple will solve the issues that you are having. You have a rogue installation. After you posted I have just done the following:
    Disk Utility can verify  my partitioned Volume (including my boot disk) AND REPAIR the non-boot disks on the same Volume without a glitch. It repairs the non-boot disks containing data smoothly.
    I have used Mail to send some mails from some Yahoo and Hotmail accounts to my Thunderbird client containing GMail accounts - absolutely normal.
    I have iLife '09 but my iMovie '09 and iPhoto '09 open in a jiffy and I see no issues here. I have 6GB RAM (Maximum) on an early 2008 Macbook Pro with a 750GB hard drive partitioned with 120GB reserved for the Boot Drive.
    I am sorry that I cannot help further but I am sure there must be a way to reinstall the software without having to revert to restoring your ML backup. I have two clones and if you have such I would attempt to do that through that rather than through Time Machine - that is of course if you have a cloned drive.
    Good luck!

  • Printing from web pages is excruciatingly slow with most recent upgrades of Firefox .Use an iMac and an HP officejet printer. Printer works fine with Safari and woodprocessed files, but not with Firefox and web pages.

    Printing from web pages is excruciatingly slow since downloading most recent upgrades of Firefox Mozilla. I have a desktop iMac, OS 10.6.8, and an HP officejet printer 4500 G510n. The printer works fine with the Safari Browser and with woodprocessed files, but not with Firefox and web pages. Help please! It used to print fast with earlier versions of Firefox.

    Hello and welcome to the Apple Discussions Forum.
    I have hardly any experience with HP printers but since your posting has not been replied to yet I thought I'd offer some assistance.
    With the printer status and ink levels working, it shows that you have a connection to the printer. So I would look at the issue being with the protocol being used for the print queue on the Mac.
    Since you have XP and Vista working, I would check the printer queue configuration on either box. In XP, go to the Properties and select Ports. Click the Configure Port tab to view the connection. If you are using RAW, then this is known as HP Jetdirect-Socket on OS X. So if you are not sure what protocol was used before I would create another printer queue, this time selecting IP > HP Jetdirect-Socket. Then enter your IP address and select the K5400dn from the Print Using menu.
    If this still fails to print then please reply. There may be limitations with adding the HP driver this way that I am not aware of. There may also be other driver options you can look at, such as HPIJS. If Greg Sahli reads this posting he has expert knowledge on this matter and will be able to offer some guidance.
    PaHu

  • Works fine in JDK 6.0 but not in jdk 1.5.???????

    Hi all,
    This code converts english date to japanese date but it is working fine in english only. can any body answer why it is so.
    Note : No Comiplation problem in jdk 1.5
    This code works fine in JDK 6.0 but not in JDK 1.5, Why.....?
    SimpleDateFormat sdf = new SimpleDateFormat("yyyy/MM/dd");
            Locale locale = new Locale("ja", "JP", "JP");//locale for Japanese
            Calendar cal = Calendar.getInstance(locale);  //japanese calender object
            DateFormat df = DateFormat.getDateInstance(DateFormat.LONG,locale);
            try{
            Date date = sdf.parse("1930/09/27");
                System.out.println(df.format(date));
            }catch(Exception e){
                System.out.println(e.getMessage());
            }

    Hi,
    If I give the Input date 1930/10/27 (in english), then program must display the date as S5.10.27 (it's japanese date with 'S' indicating ERA)
    But this will happpen only when i run the program in JDK 6.0.
    In JDK 1.5, for the above input, the output is 1930/10/27 (which is wrong)
    Still I don't have compilation and running problems in both. Can anybody expalin why it is so?
    I think i tried my best to restate the question.
    Thanx
    Aris

  • My transparency does not work on my iPhone and I was wondering how I fix that? It worked when I first downloaded ios7 but not now.

    My transparency does not work on my iPhone and I was wondering how I fix that? It worked when I first downloaded ios7 but not now.

    Hello wilsontot_too,
    Thank you for the details of the issue you are experiencing on your iPhone.  It sounds like you are not noticing transparency on your iPhone.  It may be that you have "Increase Contrast" turned on in your iPhone settings.
    I recommend verifying that Increase Contrast is turned off in Settings>General>Accessibility.
    iPhone User Guide - Large, bold, and high-contrast text
    http://help.apple.com/iphone/7/#/iph73b89c6
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • I cannot get GPS Only to work on my ipad3 (4g version, but not on an active cell plan, and wifi off).  Is there some new requirement in 7.1 or 7.1.1 to have cell and/or wifi enabled for GPS to work? I am testing with MotionX

    It seems like I cannot get GPS only to work on my ipad3 (4g version, but not on an active cell plan, and wifi off).  Is there some new requirement in 7.1 or 7.1.1 to have cell and/or wifi enabled for GPS to work? I am testing with MotionX, garmin blueChart mobile, and a GPS monitoring tool. All show no signal. If I turn on cell and wifi,  it says I get gps signal, but can't tell if that is from the GPS chip, or just from cell and wifi only (maybe with some gps mixed in)?  Any ideas on how to get iPad working with GPS only??

    Roger that.  Thanks for your time.
    System:
    Windows 7 64bit
    Processor: AMD phenom IIX4 965
    RAM:  Gskill Ripsaw F3-12800CL7D-4GBRM (2-2GB sticks)
    GPU:EVGA Classified Nvidia GeForce GTX 560 Ti 448 core
    PSU: Kingwin 1000W laser gold (LZG-1000)
    Yes. tried the one ram stick, no go.  I have been trying to boot off/install the windows 7 disk but am unable to get to the point where windows starts installing after its gathering information portion of the install.  I can get to the disk selection screen of the install with the WD HD on SATA port 2 but then get the "cant install messages" when I try to select the Vertex 3.  Yes I can see the Vertex 3 Drive as well as the WD drive at this point.  some times I have to hit "scan" a couple of times.

Maybe you are looking for

  • How can i display digits in Chinese Format

    Hi, How can i display the digits in Chinese Format? Suppose i have a number 15 as a value. Now in Locale Chinese(Taiwan) it should display the digit as a combination of Chinese character for 10 + 5. So could anyone please tell me what should i do for

  • Purchase Order Interface

    Hi All I have below requirement Please suggest some solution on HOW SHOULD I PROCEDE. I Have below Info : 1)<b>Aim :</b>  I have to create an Interface from Legacy system to SAP for Purchase Order creation. 2)Legacy system will send a ASCII file, hav

  • Transformation program

    The transformation program that is getting generated ( as $tmp ) from my web service has another transformation inside it, which doesn't get created properly. I have this issue with web services that are transported. The services that I create in tha

  • Shared printer doesn't appear on other Macs

    I've had a Brother HL 4050 color laser printer for several months. It's worked great on my home network. I connected its Ethernet to my Time Capsule, and my wireless machines could print to it with no problems. The only quirk has been that the printe

  • N97 wont start anymore

    Hi I recently bought a nokia n97, and when i installed the pc suite it told me that there was an update for my phone. I started updating but around 15% my pc lost connection to my phone and never got it back again. Now i cant seem to start my phone a