When i use buttonSetIcon no icon is ever displayed on the button.

Im creating a button in Folder Level Script, first im importing an icon into the document, no errors are thrown
so i assume the icon is imported i even printed the icons object out and saw that that icon was imported successfully!
heres a snippet of my code!
      var edtBtn = aNewDoc.addField("edtBtn" + i, "button", 0, [20, 20, 600, 20]);
      aNewDoc.importIcon("Q5img", timgQ5);
      console.println("Icon imported: " + timgQ5); // timgQ5 = desination to my png
      var q5img = util.iconStreamFromIcon(aNewDoc.getIcon("Q5img"));
      edtBtn .buttonSetIcon(q5img);
      edtBtn .buttonSetCaption(timgM5);
      console.println("Icon added to button!");

Another thing: you're trying to set an IconStream object, but you need to use an Icon object instead.

Similar Messages

  • I have had my apple tv 2 for about 3 months which work perfectly fine when I use it with my iPad 3 ー all of the sudden I get the HDCP Error!  I read the forms and done everything!  Apple I name a loyal customer, please come out with an update soon!

    I have had my apple tv 2 for about 3 months which work perfectly fine when I use it with my iPad 3 ー all of the sudden I get the HDCP Error!  I read the forms and done everything!  Apple I name a loyal customer, please come out with an update soon!

    That's one of the weird things.. it recognizes it maybe 10% of the time. And usually, only after I do the two-button reset. Problem is.. since it won't charge above 2%, anytime I try to do a restore or anything like that using iTunes, my device shuts off and I lose whatever progress I'd made.
    So, an update... after reading through a bunch of similar complaints (there are literally 1000's of them so there's NO WAY this isn't somehow ios7 related, thanks a lot APPLE ) I decided to try a restore in recovery mode. After 3 hours and several disconnections... I ended up having to just set it up as a new iPad, as the restore did nothing. Weirdly though... as I was doing the restore in recovery mode.. I noticed I'd gotten up to a 10% charge.. higher than it's been since September, so after setting it up as a new device, I turned it off and plugged it in using the wall charger. 2 hours later and I was up to 38%. Still not great, as my iPad, before ios7 could've fully charged twice in the amount of time it took for me to now get 28% more of a charge. And that's with a fully cleaned out device.. so that really ***** and I'm now more confused than ever.
    But I'm gonna leave it overnight charging and see what I come up with tomorrow. Sadly, when I paid $600 for it in February, I never expected to have to play "wait and see" with it...

  • I am using both PSE 13 and Lightroom 5.  When I use Lightroom as an external editor and save the photo, it shows up in PSE13 as an edited file but does not look any different.  Why doesn't it appear edited?

    I am using both PSE 13 and Lightroom 5.  When I use Lightroom as an external editor and save the photo, it shows up in PSE13 as an edited file but does not look any different.  Why doesn't it appear edited?

    People who have Photoshop, but don't have Lightroom, need ACR so that they can use Raw files. Without ACR they could do nothing with those (they may also like having ACR so that they can work on other kinds of image using the same kinds of adjustments and techniques, as are used with Raw files).
    People who have Lightroom, can get access to Raw files regardless whether ACR is present or not. They can use Lightroom on other kinds of image also, using the same methods. LR can pass images directly into Photoshop without passing via ACR (or else does so transparently, which amounts to substantially the same thing).
    ACR does not, strictly speaking, even need to be installed for this external editing to happen. In fact, not even PS needs to be - since a different image editor can be used instead, while still retaining the Adobe Raw conversion etc.
    Lightroom "subcontracts out" specialised external tasks, in this workflow, but is still your "main contractor": the image is otherwise located, viewed, managed, adjusted/presented and output entirely using LR.
    So IMO we can divide image processing into:
    operations that involve pixels and layers and layer masks and adjustment layers etc (of the kind done inside Photoshop)
    operations that involve parametric edits (of the kind done in ACR where you are not using a Lightroom based workflow; otherwise, done inside Lightroom)
    When PS is called in, that's because those tasks are impossible or unsuitable to do in Lightroom. But those tasks can't be done in ACR either - by definition, since LR and ACR have exactly the same image processing "feature set".
    Lightroom is irrelevant to the Bridge + ACR + PS workflow. This workflow requires both your PS and your ACR to be current enough, to support your Raw format etc.
    ACR and Bridge are irrelevant to the LR + (image editor) workflow. It is in this case, only LR which needs to be current enough to support your Raw format etc.
    RP

  • At the time of call when i use speaker my sound is not visible to the prsn i call

    at the time of call when i use speaker my sound is not visible to the prsn i call

    Hello smarty007,
    Thanks for the question, and welcome to Apple Support Communities.
    From your description, it sounds like you are having issues with others hearing you while using speakerphone. For these symptoms, the following article provides the most relevant information. On the iPhone 4, it is commonly due to a third-party case blocking the top microphone:
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/TS2802
    Additionally, you can check out these articles:
    iPhone: Sound muffled or low from the speaker or when speaking into the mic
    http://support.apple.com/kb/TS1631
    iPhone: Can't hear through the receiver or speakers
    http://support.apple.com/kb/TS1630
    Thanks,
    Matt M.

  • When I click on Safari Icon it opens,but under the desktop picture.How can I get it on top of it?

    When I click on Safari Icon it opens,but under the Desktop picture.How can I get it on top,so I could see it?

    I would open a guest account and see if the problem persist in this new enviroment.
    Boot into Safe Boot Mode and see if the problem is present,  this turns off third party plug-in's and extentions.
    This will give us something to go on and recommend the next step.

  • I have a macbook retina with a partition of windows 7 and Yosemite. When I use time machine in Yosemite it wont recognise the macintosh HD, but it recognises the windows hd ( bootcamp). Does anybody know why ?

    I have a macbook retina with a partition of windows 7 and Yosemite. When I use time machine in Yosemite it wont recognise the macintosh HD, but it recognises the windows hd (bootcamp ). Does anybody know why ?

    Please provide a bit more detail on what 'recognize' means. A screen shot is always very helpful.

  • I HAVE A MAC G5 WITH V10.4 TIGER OS, I AM HAVING TROUBLE WITH THE LETTER "N" ONLY WHEN I USE CAPS AND SHIFT KEYS DOSE IT TYPE THE LETTER "N"SE

    HAVE A MAC G5 WITH V10.4 TIGER OS, I AM HAVING TROUBLE WITH THE LETTER "N" ONLY WHEN I USE CAPS AND SHIFT KEYS DOSE IT TYPE THE LETTER "N". I HAVE CONNECTED A NEW KEYBOARD BUT THE PROBLEM STILL EXIST. WHAT ELSE CAN I DO?

    You might look at "Keyboard Shortcuts" in the Keyboard and Mouse preference pane and see if somehow the lower case n has been inadvertently assigned to something.
    Probably the best solution would be to click the "Restore Defaults" button.

  • Problem with subtotal, and the total icon is not displayed at the toolbar

    Hi all,
    I'm currentlyhaving difficulties working with the subtotal and the grandtotal. I have the code in the right place like the sort table
      CLEAR k_sort.
      ADD 1 TO k_sort-spos.
      k_sort-fieldname = pv_fieldname.
      k_sort-up        = c_x.
      k_sort-subtot    = pv_subtot.
      APPEND k_sort TO i_sort.
    and the fieldcatalog
      CLEAR k_fieldcat.
      add 1 to k_fieldcat-col_pos.
      k_fieldcat-fieldname  = pv_fieldname.
      k_fieldcat-tabname    = c_tabname.
      k_fieldcat-seltext_l  = pv_seltext.
      k_fieldcat-outputlen  = pv_outputlen.
      k_fieldcat-datatype   = pv_datatype.
      k_fieldcat-do_sum     = pv_dosum.
      APPEND k_fieldcat TO i_fieldcat.
    but it didn't seems to show both the total and subtotal. Even the icon is not displayed at the ALV toolbar. The field which I need the total is a currency field. I even try other fields (interger fields) but with no luck. I'm using REUSE_ALV. Any help is greatly appreciated.

    hi,
    In field catalog for the particular column which you want to sum make that as 'X'.
    say
    WHEN'MATNR'.
    it_fcat-do_sum = 'X'.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
           EXPORTING
                i_callback_program     = report_id
                i_grid_title           = ws_title
    *            i_callback_top_of_page = 'TOP-OF-PAGE'
                is_layout              = wa_layout
                it_fieldcat            = i_fieldcat[]
                it_sort                = i_sortcat
                i_save                 = 'A'
                it_events              = i_events
           TABLES
                t_outtab               = i_reportdata1
           EXCEPTIONS
                program_error          = 1
                OTHERS                 = 2.
      IF sy-subrc <> 0.
    This will enable.

  • Help please - when I export as a PDF my banners disappear under the button image

    I have a number of images my indesign document that I have changed to buttons. I have placed small banners on the top of the image buttons (on a layer above the buttons) But when I export as a PDF my banners disappear under the button image! Can any one help me.

    We are here to help, not to do your duty in your place.
    Nobody gave me orders since more than 30 years, that will not change now
    You will quickly understand that I write when I want, the way I want.
    More, as far as I know, your question got an accurate answer.
    Yvan KOENIG (VALLAURIS, France) samedi 23 juillet 2011 23:47:49
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • TS3899 I can't open my e-mail icon once i click on the button my mail give me clear screen an close in the same time

    I cannot open my e-mail icon once i click on the button my mail give me clear screen

    Kill mail app from multitasking and retry.
    If that's not work, Hold Power and Home button until Apple logo appears.

  • When sending imessages my contact email address being displayed by the recipient

    when sending imessages my contact email address being displayed by the recipient, please could someone advice ?

    I found it in the Settings / Phone / Show My Caller ID - this is switched on - however I don't know if it will display my phone number or email address.

  • When I use Safari on my iPad 1/4 of the left side of the screen is grey. It seeme devoted to "shared links", "reading list", or "History". I would like to get rid of that. How can I do it?

    When I use Safari on my iPad 2, more than 1/4 of the left side of the screen is used for "shared links", "reading list", or "History". I would like to hide that. How do I do that?

    Tap the Book icon seen left of the address box.
    Best.

  • I changed my user name and password in Itunes, when I use my phone or Ipad, it askes for the password for the old username password it says it's invalid. I try to delete the Icloud account but it won't let me- Help

    I changed my username and Password in Itunes on my computer. Now when I use my Iphone, Ipad, it asks for the password for the old username. when I type the password for that old user name, it says it's invalid. I figured I needed to delete the old Icloud account from my Iphone and Ipad, but they ask for the old password for the Old username. I type it in and it says invalid. As of now, I can't use Icloud or Itunes on either the Ipad or Iphone.... Help!
    <Edited by Host>

    If the old ID ("username") is an earlier version of your current ID, temporarily recreate the old ID by going to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iDevice, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • HT201401 Can anyone confirm that 12 hours of low to moderate use is acceptable battery life for an Iphone 5. That is all I am getting. I am using the phone less than I have used any Iphone I have ever had. The battery life between charges is less than hal

    I am very disappointed with the battery life I am getting out of my Iphone 5S 64G. I charge it every night, and would be lucky to make 15 to 20 minutes of calls during the day and yet I am lucky to get much more than 12 hours of life out of the battery.
    I have to make a conscious decision not to use it to avoid it running out on me. I had it back to the Apple Store last week and they ran diagnostic checks on ot and said that the hardware was within specs.
    They replaced the software as it was showing that Springboard had crashed on several occasions. The other problem I was complaining about was that at least 2 or 3 times a day, the phone would refuse to wake up when I hit the home button. It would take sometimes up to a minute of pressing the button before anything would light up. The guy at the Apple store said that this was caused by Springboard crashing and that this would also be what is reducing the battery life.
    I did notice that after they replaced the software, the waking up problem appeared fixed for a few days, but the battery life had not improved. Now the waking up problem is starting to return.
    It is very annoying and somewhat embarrassing when you are with a client and go to make a call and your shiny flashy new Iphone 5 won't even light up. Especially when you have to borrow your clients Nokia.... 

    My best bet would be to restore the phone. Back it up to itunes, and then reset it Factory settings. This way, any corrupt software will be removed, and you can start fresh. Make sure you back it up first. By the sounds of it, you are using the phone for business and probably need the data from it. Hope this helps!

  • Possible to overwrite a pdf when in use or open a pdf without holding/locking the file for update

    Possible to overwrite a pdf when in use OR alternative open a pdf without holding/locking the file
    We frequently generate pdf files from our 3D program and would like to know if it's possible to either open a pdf file in a way that it doesn't get locked or hold up so the pdf can be updated even when opened or in use.
    Most programs e.g. ultra edit & notepad will let go the file when you opened and hence the file can be updated or over written even when in use.
    If any guru can help, would be highly appreciated

    Hi Abbas,
    It's not possible to overwrite a pdf when it is already in use by a different program or user. The file then opens up in Read Only mode.
    You can make a copy of the file and then apply those changes later in the original file. That's the only possible solution.
    Regards,
    Rahul

Maybe you are looking for

  • Period is locked for new data

    Good Morning, Anyone get this error before? -4013:Period is locked for new data    at NetPoint.SynchSBO.SBOObjects.SBOOrder.NetPointToSBOOrder(NPOrder order)    at NetPoint.SynchSBO.SBOObjects.SBOOrder.NetPointToSBO(NPQueueObject qData)    at NetPoin

  • HP LaserJet 4250tn Printer Email Support ticket 7464810

    Dear Sirs, We have a support ticket no 7464810. Printer is getting BAD LOCID -4485 error on the control display. We have carried out all the task that you have listed in your email. There is success. The error is resisting. After each new restart of

  • Controlling criteria in Advanced Search 'Add Fields'

    Hi all, Jdev Version: Studio Edition Version 11.1.1.7.0 Background I have two VOs described as below - TaskVO - Fetches a list of tasks TaskUserVO - Fetches the list of users of tasks - Users may be assignees or owners identified by value in column '

  • Adobe Save for Web AI Error

    Hello everyone, in our company, we wrote an program to export *.ai files as *.jpg files automatically. Means it saves a copy via the Illustrator SDK (CS5). Now, we got a problem with some files: While exporting, there appears an error message called

  • Oracle 8i on linuxppc?

    can I install oracle 8i server over a RedHat distribution on a powerpc machine? null