CS6 iconbutton issue

var w = new Window ("palette");
var f = File ("~/Desktop/Script tests/Icons/folder.png");
var a = File ("~/Desktop/Script tests/Icons/accept.png");
var button = w.add ("iconbutton", undefined,ScriptUI.newImage  ( f,undefined, a, undefined), {style:'toolbutton', toggle:true});
w.show ();
The following code doesn`t work propely in CS6.
Icon button doesn`t switch to accept.png. There is always folder.png icon.
CC and CC2014 versions works fine.
Does anyone have the same issue?

Thank you David. Just wanted to know for sure.
I`ll post my solution below if someone else will have the same issue.
var w = new Window ("palette");
var f = File ("~/Desktop/Script tests/Icons/folder.png");
var a = File ("~/Desktop/Script tests/Icons/accept.png");
if(parseFloat(app.version) < 12){
var button = w.add ("iconbutton", undefined,ScriptUI.newImage  ( f, {toggle:true});
button.onClick = function(){
    (button.value == false)?button.icon = ScriptUI.newImage(f) : button.icon = ScriptUI.newImage(a);    
    }else{
var button = w.add ("iconbutton", undefined,ScriptUI.newImage  ( f,undefined, a, undefined), {style:'toolbutton', toggle:true});
w.show ();

Similar Messages

  • CS6 installation issues on my desktop, but not my laptop?

    I recently purchased CS6 Production Premium, and am attempting to install it. I've installed Premiere on my laptop, as that and Affter Effects are the only programs I would conceivably need on it; the bulk of the programs are for my desktop computer.
    However, upon attempting to install, I get the "Installer failed to initialize" error. I know that there are questions relating to this already, but I feel that the two-computer scenario gives me enough info that the issue should be significantly narrowed down.
    If it helps, here are the potentially-relevant differences between the two computers:
    1) The desktop is 2009 and originally ran Vista, but now runs 7. The laptop is newer and runs 7.
    2) The desktop already has Adobe Flash CS3 installed; Flash CS6 is incidentally included in this new package.
    I'm kind of expecting that the presence of Flash CS3 is the main impediment to installing, but that's speculation on my part. Any thoughts on the issue? Would uninstalling Flash CS3 resolve this?

    I checked my specs, and everything seems to be fine. The only things it doesn't meet are the recommendations for Adobe SpeedGrade, which I don't plan on using.

  • Windows 8 Release Preview/Photoshop CS6 Licensing issue

    I bought and installed Photoshop CS6 on Windows Consumer Preview and it worked flawlessly. I then installed Windows 8 Release Preview. This had to be a clean install. I didn't know I had to deactivate Photoshop before doing the clean install. Installed without a problem. Now when I try and run CS6 it says that the license has expired. I have done all the web and Adobe support told me to do but still has the same issue. Other than waht this article says: http://helpx.adobe.com/creative-suite/kb/error-licensing-product-expired-cs4.html Adobe support isn't interested in helping.
    Can anybody help?

    I do know there's at least one person on this forum who is using Windows 8 (Kelly is I believe his name) and has gotten Photoshop activated properly.
    I've been testing Windows 8 for the past several days (in virtual machines).  Microsoft has actually made it worse to use in the release version.  They've completely removed Aero Glass, for example, so now everything just looks flat and lifeless.  I've written a book that describes how to configure and augment the OS so as to get work done with it.  But I'm not sure people are going to want to upgrade to it wiith it looking this bad!
    Have you tried removing Photoshop CS6 and using the Creative Suite Removal Tool to clean remnants of it up, then reinstalling?  I'm sure the telephone support people would have suggested that; I'm just confirming.
    Only thing I can imagine is that Windows 8's UAC system is somehow getting in the way of Photoshop retaining its activation data.  It's no longer possible, using the Windows 8 UI, to completely disable UAC, though it is still possible to do it through registry manipulation (something best done by power users and system gurus).  If one does apps will no longer run in the "UI formerly known as Metro" - which suits me fine, but may not be good for most folks.
    Have you tried running the installer As Administrator?
    -Noel

  • InDesign CS6 PDF Issue: Unsearchable PDF document

    Hello all,
    I have an issue that I've exhausted with days of Google searches. I have a text catalog created with ID CS6. Sections were PDF documents given to me from our engineering department. The book was created, exported and all went well until I found out that when I try to copy and paste the text into Microsoft Word or Note Pad, I get a lot of small boxes in place of the letters. When I try to search the text in Adobe Reader, I can't find words which I can see are there.
    This is the first catalog I've created in CS6. Previous catalogs created in the exact same manner in CS4 & CS2 do not have this issue. I thought it could have been the infamous Arial Narrow font issue and researched that to death.
    Any ideas would be most helpful. This is a 1300 page catalog that customers cannot search.

    1. LAUNCH Adobe Acrobat
    2. Using the File menu, OPEN the corrupted document. (I don't know what to do if you're not even able to open the file. Sorry!)
    3. (VERIFY that Acrobat can't search the document, in case you haven't done so, just to avoid unnecessary work.)
    4. EXPORT: Once the document is open, use the File menu again, and choose EXPORT / IMAGE / PNG. Your corrupted pdf will be saved as a series of images with the file extension ".png", one for each page of the pdf document. Don't worry, they will be numbered automatically by Acrobat, and they aren't terribly large. My document was 200 pages long, so I got 200 little image files in .png format. The export may take a couple of minutes. You won't get any further signals from Adobe to tell you it's done--just go look in the directory that contains the original and see if it made png files with names like:
    chemistryBook_Page_001.png
    chemistryBook_Page_002.png
    5. COLLECT: Once you have the image files, collect them all by cut and paste into their own directory.
    6. OCR: Under the Document menu, choose OCR TEXT RECOGNITION / RECOGNIZE TEXT IN MULTIPLE FILES USING OCR
    7. ADD FILES: You will be shown a dialog box with the title "Paper Capture Multiple Files" with the subtitle "Run OCR on a set of images. There is a button that says "Add Files". Click this button, choose ADD FOLDERS, and browse to the folder that contains your png files. Highlight that file, click OK. The files will then appear within this dialog box. Make sure that the files are in the proper order, or you will be sad. Click OK.
    8. CHOOSE OUTPUT OPTIONS: Now you will get a dialog box entitled "Output Options". You have several choices to make here:
    TARGET FOLDER: Click "Specific Folder", then Browse to your folder full of images, click "Make New Folder", name the folder (something like "CHEMISTRYBOOKIMAGEFILES" so you can find it easily and know what is in it, click OK.
    FILE NAMING: Click "Keep Original File Names". This will preserve Acrobat's automatic numbering of your files--you will need that to get the page ordering right! UNcheck "Overwrite existing files" just to avoid a terrible mishap, unless you are very pressed for disc space or unless this is your 5th time attempting to follow these instructions and you've already got 'way too many duplicates of the output files. If you have the disc space, just make new empty folder for your 6th try.
    OUTPUT FORMAT: Select "Save File(s) as Adobe PDF. Click OK.
    Now wait for Adobe to execute optical character recognition on the image files. Its output will be one little pdf file for each little image file that it OCR's.
    9. COLLATE THE FILES INTO ONE: Under the File menu, select COMBINE / MERGE FILES INTO A SINGLE PDF. This step is optional; maybe you wanted a bunch of little files, or maybe you wanted to divide your enormous original document into 2 or 3 more manageable documents. To divide the file, just make a separate directory for the png files you want in each smaller final document, and repeat steps 6 through 9 for each directory. BE CAREFUL WITH NAMING! Make sure you choose a unique name, because if you got something wrong, you will want to be able to go back to your original corrupted pdf and try again. If your original is named "CHEMISTRY.PDF", please remember to name this new file something like "CHEMISTRY-FIXED.PDF".
    If you really despise pdf, you can try using different output formats in Step 8. I do hate pdf, but I chose pdf for two reasons: one is that I had more confidence that that pdf would retain important features like charts and graphs and labeled photos in my document. The other is that I was so so so so SO tired of doing all this pdf crap instead of the chemistry work that I'd gotten the ebook to help me with that I didn't want to do anything fancy with file formats at this point. Let me know if you try output to rtf or ascii and get good results.
    10. TEST: Open the merged document(s) in all of the pdf readers and web browsers you will want to use with it, and try searching with it. Use your file browser and try to search for text in the directory with a word you know the file contains. Searchable? Good job, you're done, cheers!
    Not searchable? Oh noes! Check that you opened the correct document (maybe you opened the original by mistake). Try the entire process again. If that doesn't help, try the entire process again, but output to plain text this time. My apologies, but, being a complete newbie myself, I have no further advice on this topic.
    NB! My output PDF is of rather low quality. It looks like it was literally scanned from a 10th-iteration paper copy. Don't know how to fix that, after the fact or somewhere in the above process. It's good enough, so I'm just dealing with the shakey blurriness. I seem to remember somewhere that I could choose a high quality output, but, again, I didn't want to do anything fancy with vectors and rostering and layers and other terms that I don't know before I verified that I could do something basic and get back to chemistry asap.

  • Adobe Bridge CS6 File Issues

    Hello all, I just upgraded to the Creative Cloud on my PC, downloaded PS CS6 - Bridge and Camera Raw.  I'm configuring and working with CR2 files, no problem, however, Bridge will not let me delete, rename or update the metadata of my jpgs.
    Any suggestions?
    Captain

    Curt, I'm running Windows 7 with 4 GB RAM - mother board won't support more than that.  I don't think permissions is the problem - same internal drive and the .CR2's work fine.  I can delete bad ones, batch rename and update the metadata no problem, it's just the jpegs.
    OK, I have the same setup on another computer - same Bridge version, no problems with the Jpegs.  Issue here is, it's the backup computer and not my digital processing one with all the necessary drives.
    Both computers are running Win 7 SP1 with 4 GB RAM 3.0 GHz processors.  Only difference is the digi system has 2 monitors.
    Where would I check about "Read Only" for just the jpgs?

  • Photoshop CS6 Raw Issue

    I am unable to open a RAW file from my Nikon D7100 DSLR camera in Photoshop CS6. My version of Photoshop CS6 is 13.0.1.2. My camera raw version is 8.1.0.43.
    Is there a solution to tis issue?

    Have since gotten direction from Adobe Support. As long as I upload camera images to my computer using Adobe Bridge, there is no problem opening any Raw files in PS CS6 or Camera Raw.

  • Adobe Bridge PS CS6 Update Issue

    Using Windows 7, I am able to open RAW files into Camera Raw but since I bought a new Canon camera (6D) I can not open these Raw files.  I went to the update menu and I get a "Update Server not responding" message saying to server might be down temporarily or I have to check Firewall/internet settings. Now I'm lost and frustrated. Any help would be greatly appreciated

    Sign in, activation, or connection errors | CC, CS6, CS5.5
    http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html

  • Indesign CS6 Font issue after saving

    I have had this issue come up about about 4 times since I have been running CS6.
    When I open a customers document everything is fine no errors. I save it the same way I do the rest of the 30 jobs a day. When I re open the fonts will not load. If I open the customers document again it is fine and all fonts work, this cause problems because all of th changes that have been done need to be redone, because the only way I have found to fix this is to save over it with a new copy of the customers files.
    I am running CS^ creative suite on a intel 27" iMac OS 10.7.3
    The file is being saved to a prinergy job server not sure what version of server software that is running. We have at least 30 jobs sometimes over 45 indesign jobs a day getting processed and it only seems to be a couple. I tried restarting indesign then the computer but no luck. If I have my troubled document open and the find font window open it shows that there are fonts not available, I then open the customers document and everythign is fine. With both documents open at the same time I can toggle between them and see the fonts are there for 1 but not the other.
    Any help would be greatly appreciated.

    Are you working with a Packaged file? If so, the problem is probably that youare moving the file out of the directory that holds the Document Fonts folder that is part of the package, or saving with a new name.

  • InDesign CS6 - Exporting Issues, PDF being sent to Photshop and saving as a psd rather than the requested pdf? Please help!

    Hi
    I have an issue in InDesign CS6. It has been happening the last couple of days now.
    When i export to pdf. regardless of quality instead of being saved as a pdf it is being sent to Photoshop which then saves the file as a psd...
    I have updated InDesign to the latest CS6 update which helped the issue yesterday but today the same problem is back. Help please what could be the problem and how do I fix it?
    Any advice is very appreciated.
    Thanks
    Sam

    ExportPDF is a subscription service for exporting PDF files into Word and Excel, from Adobe Reader. I suspect you need the InDesign forum, as InDesign is the product here.

  • Indesign CS6 Printing Issues

    Having looked at the forums and found Adobe support less than helpful I am hopping that the comunite will be able to help me out on these frustrating issues.
    We are having a number of issues while trying to print from InDesign CS6 to our OKI C830 printer
    Our setup: 
    OS: Windows 8 64bit
    InDesign CS6 Version: 8.0.1
    Printer drivers: PS: 1.2.0.0 & PLC: 1.0.7.0/1.1.7
    Printer: Oki C830 /256mb RAM / V1.16
    Issues while printing from InDesign:
    Printing multiple pages causes an error - undefined offending command stack error
    After printing the first page successfully we get the error above.
    I implemented the fix outlined in the following link: http://forums.adobe.com/message/2878922#2878922Changed the print option from Binary to ASCII – this helped in so much that we could then print one or two pages as needed.
    Booklet printing – When trying to print a booklet it seems that the spread is not understood by the printer Try to print a booklet from ID 6 the pages are printed at random onto a single A4/3 sheet of paper.
    As a work around we are fourced to create the document in ID CS6 and then expoort it to ID CS4 for printing.
    Also as a side note I have tried printing to our old HP printers and they work fine. Also this issue was present on Windows 7x32 as well.
    Thanks in advance for any help provided.
    Cheers,
    Matthew

    The issues you are having can be caused by driver conflicts on the Operating system. If windows * installed the drivers automatically, it may be the wrong drivers. If they were installed from the disc, they may be outdated for Windows 8.
    Please take the following steps.
    1. If printer is connected by usb, disconnect the usb cable from the computer. If printer is connected on network, turn printer off.
    2. Click start then click "Devices and Printers".
    3. Right click on printer icon and click "Remove Device"
    4. After icon is gone, single left click on Microsoft Document writer and then click Print server Properties at top of page.
    5. Click on the drivers tab at the top of that window. Select anything that says "Oki" and select remove. Then select remove driver and driver package.
        The driver package may not remove but it's ok as long as the driver is successfully removed.
    6. Go to okidata.com and click on "Support" at top of page. In the grey area, select download a driver.
    7. Next to select technology, click the dropdown window and select multifunctional product.
    8. Another dropdown window will appear. Select the MC860MFP.
    9. You will see three boxes. The center one will be titled "Find a Driver". Select Windows 7 X64 edition.
    10. Select English MC860nMFP Series 64 Bit PS Driver for Windows (This will be the fifth option down.)
    11. In the Driver Download Info box to the right, click the blu underlined file titled MC860Win7x64PS_ENU130.exe
    12. Follow the installation instructions.

  • Acrobat X Pro CS6 install issues

    I installed acrobat x pro as part of the CS6 trial. I previously had Acrobat 9 as part of CS4 and it worked without issue.
    I redownloaded just acrobat and did a "repair" of th install, but that didn't work either.
    Should I just uninstall? Or is there something as a conflict with CS4?

    I installed CS6 while I still had CS4 loaded.
    I am unable to open Acrobat 10.
    So I repaired 10.
    Still didn't work.
    Now, I am asking for solutions. Do I need to go back and uninstall all of CS4 and then reinstall to try again?

  • Want to upgrade to CS6, but issue with AVCHD scrubbing might stop me

    I've been using the Adobe Creative Suite for years and really love it. The last version I stuck to was CS5. Premiere Pro CS5 had no problems scrubbing my AVCHD footage (mts wrapper from GH2 cameras) and I wanted to upgrade to CS5.5 when this became available. Then a problem occured: although the project files (old and new) loaded a lot quicker than before, it was no longer possible to scrub through the footage. The lag was just incredible and I can see (and hear) my drives go mad as I try to scrub through the footage. I assume this is because certain things are no longer loaded at the opening of the project, but just when you look at the footage on a timeline.
    I hoped the issue would have been fixed in CS6, but after a colleague kindly installed the software for a few days on my machine (spare licence he had, since been uninstalled), it is clear that it is still impossible to use. WHY?
    I'm happy to upgrade some of my system to try and make this work, but I need to know what the problem. My current set-up is (no longer) cutting edge, but hardly bottom of the pile either. Any advice would be appreciated.
    Current Spec:
    6 core AMD processor 3.6Ghz
    8 GB of ram
    Nvidia GT440 card (cuda enabled)
    MTS files and project files are on a 2TB raid 0 (though windows 7, not dedicated card) (2 drives 1TB each 7200RPM sata 3)
    Thanks for any help.
    PS: I tried with and without cuda, moved the media cache to other drive, disabled sound whn scrubbing,... pretty much everything

    Niels,
    I've seen them and will add them to the results page later today.
    You end up around rank #630, somewhat as expected. Your disk score is quite acceptable and reflects your raid setup. However, your MPEG score is disappointing, but that may be attributed to only 8 GB memory and the relatively meager GT 440 card. However, in comparison with other Phenom II X6 systems, nothing really stands out.
    Your dilemma to improve the scrubbing behaviour is twofold: You are hindered by the slowness of the Phenom II X6, and whatever you will upgrade, but keeping the AMD CPU will only marginally improve performance. If you really want to improve performance you need a completely new Intel based system, but that is costly, requiring a new CPU, mobo and memory.
    Upgrading memory does not look attractive, since it will not really help performance and is not portable to a new Intel system.
    The only things that can help IMO and that can be ported to a new system in the future are extra disks and a better video card. I would start with additional disks, see if that solves the scrubbing issues. If that still is not enough, you can consider upgrading the video card to a GTX 670 or even a GTX 560 Ti if your PSU can handle it.

  • More CS6 FTP Issues..??

    I see quite a few threads about problems with FTP in CS6, but nothing specific to what I'm seeing.
    I can setup FTP accounts just fine and the test works as expected.  I can upload files and I don't have problems loading the pages like some have talked about (and what looks like a patch was released for).
    What I am seeing, though, is that if I try to upload groups of files at a time it will often upload 1 or 2 and then just stop.  Then if I view Remote and try to refresh it shows "nothing".  So then I have to disconnect and reconnect, and then it shows everything again.  At this point I can generally upload a group of files...but only once.
    It seems like everytime I upload anything I have to switch to remote and disconnect and connect again to upload something after that.
    Also, the syncing is all messed up.  I'm working on a site where I made a change to my Dreamweaver template, and as such lots of files on the site were updated.  Then I went to sync but everything gave me the red error icon showing that it couldn't figure out which one was newer and I had to manually specify that it should upload my local version for everything to the remote server.
    Then, about 10 min later, I made another change to the template.  I went to sync again, but once again, almost all my files were telling me it couldn't figure out which one was newer and I had to manually specify again. 
    What's strange is that some of the files are working fine and don't seem to have an issue...it just knows those need uploaded.  About 90% of my files, though, are forcing me to manually tell it what it to do every time.
    I see in the "what's new" videos that Adobe apparently made some changes to FTP and say it's a lot faster now becuase it allows for multiple connections.  I was very excited to hear that, but now with all the issues I'm having and the other threads I see about problems with FTP in CS6 I'm almost wishing I wouldn't have upgraded.
    Any information on how I can get this working the way it should be would be greatly appreciated.  Thanks!

    Adobe is working on a variety of FTP issues, and is making available a patch. You can contact the Dreamweaver team directly to get a copy of the patch: http://forums.adobe.com/message/4541472#4541472.

  • Upgraded to CS6..issues with printing

    We upgraded one of our Macs to CS6 and since then when a InDesign project is saved and exported out as a PDF, we get the JPG image imbedded in the PDF as all pixilated.
    We can take the same PDF and print it to the same printer, but use CS5 and have no issues.
    Anyone else seeing this??

    Please post full details including screen shots in the InDesign forum.
    Bob

  • Dreamweaver CS6 FTP Issues

    i have created a site in dreamweaver and as far as i am aware the site works great, i have hosting and webspace with 1and1 and have connected to their servers via ftp, i have to manually upload the site and cannot seem to get the webpages themselves to upload, only the *images* folder and *scripts* upload successfully, i have tried everything i can to resolve this but have had no luck whatso ever, any help would be much appreciated, thanks

    May be you can try steps suggested in the troubleshooting document. Most of the points mentioned there are also applicable on DW CS6.
    helpx.adobe.com/dreamweaver/kb/troubleshoot-ftp-issues-dreamweaver-cs5.html
    --Bhawna

Maybe you are looking for