Wants to get some info about .ico file usage in InDesign

Hi
There is some .ico file used in a project.
In the .rc file, resouce information is define and given a numeric id to this resouce file.
Then this numeric id is #defined in the ID.h file and used where needed in .fr panel for display a picture on a panel. Things are working well in ms window os as I think .rc file is meant for this platform.
But On mac what more changes I have to do in my project so that I can use these .ico files.
Thanks

You can use the PNG based resources, these files are platform independent files and can be used both in the MAC and Win version of your plugin. For the approach you are currently using you will have to create MAC specific resource file(.r or .rsrc) file just as you create the .rc file for windows.
For using the PNG based resource all you need is to define a resource as follows
resource PNGA(kYourIconResourceID) "Icon.png" in the .fr file
and also define the "kYourIconResourceID" in the id.h file and you are all set to use the png file both in WIN and MAC plugins. All the application tools icon use png file, so this is the preferred platform independent way to go.
Manan Joshi
- Efficient InDesign Solutions -
MetaDesign Solutions
http://metadesignsolutions.com/services/indesign-development.php

Similar Messages

  • How i get some informations about audio file?

    Hi to all,
    i would like to know how i get some informations about audio file, such as its artist, bitrate, file type, duration, ecc...
    Any help me?

    Ok, but which are the docs of audio format?Again, what does that have to do with Java?
    Where i can found these documents?Again, what does that have to do with Java?
    Thank you...For nothing.
    db

  • I would like to get certified for the SAP Crystal Reports. So, I would like to get some info about the currently available Certification Exams for Crystal Reports (2011/2013). Also, would greatly appreciate  if you have any suggestions for thi

    Hi,
            I would like to get certified for the SAP Crystal Reports. So, I would like to get some info about the currently available Certification Exams for Crystal Reports (2011/2013). Also, would greatly appreciate  if you have any suggestions for this Certification Exam preparation materials from another 3rd party or from SAP directly .  I would like to prepare or get trained well before taking the exam as I see it costs around $500.
    Thanks in advance for your help in this regard!
    Sincerely,
    J

    Please search here.. Training and Certification Shop for your desired certification or training. Don't forget to set your location.
    Please use some summarized title for your query.

  • I want to get some materials about MaxL and ESSCMD

    Hi,
    I want some materials about MaxL and ESSCMD,or if I want to give a guide about this,what I will say,Thank you for your greatful help.

    Hi,
    You can find study material about Maxl and Esscmd from following location --->
    http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/techref.htm
    But if you want pdf file for these then give me your id and I will send you the same.
    Hope it answered your question.
    Regards,
    Atul Kushwaha

  • To get some idea about central instance, dialog instance, load balancer etc

    Hi,
    I want to get some idea about central instance, dialog instance, load balancer, cluster nodes etc.
    can any one help with some links or blogs or docs.
    Thanks
    Jhansi

    Hi jhansi
    Follow this pdf this will answer all your questions
    http://help.sap.com/search/highlightContent.jsp
    also this is a very good book on ABAP which contains answer of your all questions
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf
    Thanks
    Sandeep
    PS: if helpful kindly reward points

  • HTMLLoader and embeded *.pdf file - get some info

    Hi,
    Is there any way to get some info from embeded in HTMLLoader *.pdf file ? I'm writing a small AIR application which need's for example number of a currently viewed pdf page. I'm using Flash Builder (trail version) and Adobe Reader 9 as a pdf browser. Of course I saw http://www.adobe.com/devnet/air/flex/quickstart/scripting_pdf.html but I'm using free Adobe Reader - not professional.
    Thank for Your answers.

    Yes, just after posting--and it solved the problem.
    Thanks.

  • I want to know memory manament and data display algorithm in LabViEW.Where can I get some materials about them?

    I want to know memory manament and data display algorithm in LabViEW.Where can I get some materials about them? I need them to complete my essay .Thank you for your help.

    Memory menagement:
    http://zone.ni.com/devzone/conceptd.nsf/2d17d611efb58b22862567a9006ffe76/732cec772aa4fbe586256a37005541d3?OpenDocument
    About data display: what type of data you wat display?

  • Need some info about current market on SAP HANA

    Hello all,
    Iam ajay. I have 2 years experience on java and i learned SAP ABAP and want to learn SAP HANA. I I have some doubts regarding current market on SAP HANA and how people are using HANA now. I have searched a lot in google and contacted many people but i didn't get the good answer. I hope this post provide me the required info. Thanks in advance.
    Can somebody please give some info. about the following.
    What exactly does the following mean and what is the future of these areas?
    BWI with HANA
    BODS with HANA
    HANA modelling and implementation.
    HANA Migrations.
    SAP UI5 with HANA.
    please spare some of your valuable time and help me on this.
    Thanks,
    Ajay.

    Hi
    I agree its a common HD webcam with a resolution of 1Mpix.
    You can record the video in Mpeg format and the pictures would be taken in format: 160x120, 176x144, 320x240, 352x288, 640x480, 1280x720, 1280x800

  • I'm having trouble loading photos on my I phone 4s and I pod.  I don't see the photos tab in Itunes?? Prob user error but wanted to get some help.

    I'm having trouble loading photos on my I phone 4s and I pod.  I don't see the photos tab in I-tunes? I'm sure its user error but wanted to get some help.

    What's the origin of this external drive? It sounds very much like it's a Windows-formatted (NTFS) drive which Macs can't write to. If you can, copy the files off the drive, reformat it as Mac format (using Disk Utility) and copy the files back. If you need to continue writing to it from a Windows PC, you should format it ExFAT in Disk Utility.
    Matt

  • My iTunes says I owe $5.25 for songs that I have already paid for and am not going to pay for again but I want to get some apps from the store and now there's a hold on my account. Who do I talk to get the hold taken off

    I explained it most in my question but I am getting charged double for songs that I have already paid for and am not going to pay for twice because that is messed up. But I want to get some apps from the store and it wont let me because of $5.25. Who can I talk to about resolving this issue?

    You're right, it would have been covered under warranty. But because of the user damage, chances are there's a 200-something dollar fee . If you explain to them that it had a defect previously, they might replace it for you at no charge. **MIGHT**. But they would have to believe that it had a defect previously.

  • My friend wanted to get some of the music off my itunes. when syncing it needed to udate her phone which it did - now all her photos are gone. and the last back up was from when she used my itunes 6  ago. How can we get back her photos :(Please help

    My friend wanted to get some music off my itunes - when syncing it it said she had to update her phone software first - which it did. Now all her photos are gone. When we tried to restore the last back up - the only one was from when she used my itunes 6 months ago which was from her old iphone. So now it has put all her photos from her old phone onto her new iphone and deleted all the new ones. We cannot find her new photos. Please help and there was 100 new pics. Is there any way we can get them back. I already have the program Asoftech - but it doesnt seem to register the iphone only C and D drive. Please help!

    bechosken wrote:
    My friend wanted to get some music off my itunes
    This is called "stealing". You do not have the legal right to give her the music you have in your iTunes library unless you are the copyright holder.
    when syncing it it said she had to update her phone software first
    That's not quite what it said.  Someone should have paid more attention to the great big warning about the possibility of losing data if the phone wasn't backed up.
    We cannot find her new photos. Please help and there was 100 new pics. Is there any way we can get them back. I already have the program Asoftech - but it doesnt seem to register the iphone only C and D drive. Please help!
    It restored the backup that was made on your computer 6 months ago, which did not contain those photos. You're wasting your time trying to find them on the phone. They don't exist.
    Hopefully, your friend syncs her phone to her own computer on a regular basis. She needs to plug her phone into her computer and restore it from her last backup. That will restore it to the state it was in when the backup was made.
    She also needs to get in the habit of extracting the photos on a regular basis, like she would from any other digital camera.

  • Hello , I want to ask some question about ipads \  How powerful is the iPad?  How useful is it for reading books, newspaper or magazines or for surfing the web? Can you identify any shortcomings of the device?   please help me :(

    Hello ,
    I want to ask some question about ipads \
    How powerful is the iPad? 
    How useful is it for reading books, newspaper or magazines or for surfing the web?
    Can you identify any shortcomings of the device?  
    please help me

    it's less powerful than your average computer. THink of it like a netbook but with a better processor.
    It'll do fine for surfing (although if you browse a lot of flash based sites you will need to get a third party browser since safari doesn't accommodate it)
    You may do OK on reading books, papers or magazines, especially if they have apps, but the ipad's screen is backlit, so it doesn't work well outdoors and you may need to fiddle with the brightness so that you don't get eye strain (it's just like doing too much reading from a computer screen)
    I would say the biggest short comings are data transfer. Apple's preferred work flow is that everything is done via iTunes or the internet....well people dont' always have 100% reliable always on internet access so you can find yourself in a situation where you can't get things on/off the iPad.
    By and large, it's a good device for day to day stuff, but is not a computer replacement.

  • How can i get more info about the sent data in RTP?

    Hello.
    I'm working with the examples AVTransmitt2 and AV Receive2 and i want to get more information about the data that it is being sent to de receiver side. In AVTrasmitt2 i only see a calling to processor.start();. How could i know each packet that AvTransmit2 sends to the other side. I want info like the size of the data, the quality, format, etc..

    Hi!
    As I mentioned above. RTPSocketAdapter has two inner classes, SockOutputStream and SockInputStream.
    SockOutputStream have a write method which is called when RTP data is sent over the NET. SockInputStream have a read method which is called when RTP data is received.
    If you for instance want to know exactly what is sent you can parse the byte array that comes into write.
    Like this:
    * An inner class to implement an OutputDataStream based on UDP sockets.
    class SockOutputStream implements OutputDataStream {
         DatagramSocket sock;
         InetAddress addr;
         int port;
         boolean isRTCP;
         public SockOutputStream(DatagramSocket sock, InetAddress addr, int port, boolean isRTCP) {
              this.sock = sock;
              this.addr = addr;
              this.port = port;
         public int write(byte data[], int offset, int len) {
              if(isRTCP){
                   parseAndPrintRTCPData(data);               
              }else{
                   parseAndPrintRTPData(data);
              try {
                   sock.send(new DatagramPacket(data, offset, len, addr, port));
              } catch (Exception e) {
                   return -1;
              if(debug){
                   System.out.println(debugName+": written "+len+" bytes to address:port: "+addr+":"+port);
              return len;
    private void parseAndPrintRTPData(byte[] data) {
         // part of header, there still left SSRC and CSRC:s
         byte[] rtpHeader = new byte[8];
         System.arraycopy(data, 0, rtpHeader, 0, rtpHeader.length);
         ByteBuffer buffer = ByteBuffer.wrap(rtpHeader);
         int word = buffer.getInt();
         // version
         int v = word >>> 30;
         System.out.println("version: "+v);
         // padding
         int p = (word & 0x20000000) >>> 29;
         System.out.println("padding: "+p);
         // extension
         int x = (word & 0x10000000) >>> 28;
         System.out.println("extension: "+x);
         // CSRC count
         int cc = (word & 0x0F000000) >>> 24;
         System.out.println("CSRC: "+cc);
         // marker
         int m = (word & 0x00800000) >>> 23;
         System.out.println("marker: "+m);
         // payload type
         int pt = (word & 0x00700000) >>> 16;
         System.out.println("payload type: "+pt);
         // sequence number
         int seqNbr = (word & 0x0000FFFF);
         System.out.println("sequence number: "+seqNbr);
         // timestamp
         int timestamp = buffer.getInt();
         System.out.println("timestamp: "+timestamp);
    private void parseAndPrintRTCPData(byte[] data) {
         // this only works when the RTCP packet is a Sender report (SR).
         // All RTCP packets are compound packets with a SR or Receiver report (RR) packet first.
         // part of header, there is still the report blocks (see RFC 3550).
         byte[] rtcpHeader = new byte[28];
         System.arraycopy(data, 0, rtcpHeader, 0, rtcpHeader.length);
         ByteBuffer buffer = ByteBuffer.wrap(rtcpHeader);
         int word = buffer.getInt();
         // version
         int v = word >>> 30;
         System.out.println("version: "+v);
         // padding
         int p = (word & 0x20000000) >>> 29;
         System.out.println("padding: "+p);
         // reception report count
         int rc = (word & 0x0F000000) >>> 24;
         System.out.println("reception report count: "+rc);
         // payload type, which is 200 in this case (SR=200)
         int pt = (0x00FF0000 & word) >>> 16;
         System.out.println("payload type: "+pt);
         // length
         int length = (word & 0x0000FFFF);
         System.out.println("length: "+length);
         // SSRC of sender
         int ssrc = buffer.getInt();
         System.out.println("SSRC: "+ssrc);
         // NTP timestamp
         long ntp_timestamp = buffer.getLong();
         System.out.println("NTP timestamp: "+ntp_timestamp);
         // RTP timestamp
         int rtp_timestamp = buffer.getInt();
         System.out.println("RTP timestamp: "+rtp_timestamp);
         // sender's packet count
         int nbrOfSentPackets = buffer.getInt();
         System.out.println("sender's packet count: "+nbrOfSentPackets);
         // sender's octet count
         int nbrOfSentBytes = buffer.getInt();
         System.out.println("sender's octet count: "+nbrOfSentBytes);
    }I added a boolean isRTCP to the constructor so to know what sort of data is sent.
    Hope this clarifies things.

  • Pls give some info about userexit

    hi everyone,
    i never did work on userexit before. Could you give some info about how to create userexit and some knowledge related to that. Any suggestion is appreciated.
    Best Regards,
    Julian

    User exits (Function module exits) are exits developed by SAP.
    The exit is implementerd as a call to a functionmodule.
    The code for the function module is writeen by the developer.
    You are not writing the code directly in the function module, but in the include that is implemented in the function module.
    The naming standard of function modules for functionmodule exits is:
    EXIT_<program name><3 digit suffix>
    The call to a functionmodule exit is implemented as:
    CALL CUSTOMER.-FUNCTION <3 digit suffix>
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    CUSTOMER EXITS-> t-code CMOD.
    As of Release 4.6A SAP provides a new enhancement technique, the Business Add-Ins.
    Among others, this enhancement technique has the advantage of
    being based on a multi-level system landscape (SAP, country versions, IS solutions, partner,
    customer, and so on)
    instead of a two-level landscape (SAP, customer) as with the customer exits.
    You can create definitions and implementations of business add-ins at any level of the system landscape.
    You can use below code to find out user exits associated with particular transaction.
    *& Report  ZUSEREXIT                                                   *
    *& Finding the user-exits of a SAP transaction code                    *
    *& Enter the transaction code in which you are looking for the         *
    *& user-exit and it will list you the list of user-exits in the        *
    *& transaction code. Also a drill down is possible which will help you *
    *& to branch to SMOD.                                                  *
    REPORT zuserexit NO STANDARD PAGE HEADING.
    TABLES : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
    TABLES : tstct.
    DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
    DATA : field1(30).
    DATA : v_devclass LIKE tadir-devclass.
    PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
    SELECT SINGLE * FROM tstc WHERE tcode EQ p_tcode.
    IF sy-subrc EQ 0.
      SELECT SINGLE * FROM tadir WHERE pgmid = 'R3TR'
                       AND object = 'PROG'
                       AND obj_name = tstc-pgmna.
      MOVE : tadir-devclass TO v_devclass.
      IF sy-subrc NE 0.
        SELECT SINGLE * FROM trdir WHERE name = tstc-pgmna.
        IF trdir-subc EQ 'F'.
          SELECT SINGLE * FROM tfdir WHERE pname = tstc-pgmna.
          SELECT SINGLE * FROM enlfdir WHERE funcname = tfdir-funcname.
          SELECT SINGLE * FROM tadir WHERE pgmid = 'R3TR'
                                      AND object = 'FUGR'
                                    AND obj_name EQ enlfdir-area.
          MOVE : tadir-devclass TO v_devclass.
        ENDIF.
      ENDIF.
      SELECT * FROM tadir INTO TABLE jtab
                    WHERE pgmid = 'R3TR'
                     AND object = 'SMOD'
                   AND devclass = v_devclass.
      SELECT SINGLE * FROM tstct WHERE sprsl EQ sy-langu
                                  AND  tcode EQ p_tcode.
      FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
      WRITE:/(19) 'Transaction Code - ',
           20(20) p_tcode,
           45(50) tstct-ttext.
      SKIP.
      IF NOT jtab[] IS INITIAL.
        WRITE:/(95) sy-uline.
        FORMAT COLOR COL_HEADING INTENSIFIED ON.
        WRITE:/1 sy-vline,
               2 'Exit Name',
              21 sy-vline ,
              22 'Description',
              95 sy-vline.
        WRITE:/(95) sy-uline.
        LOOP AT jtab.
          SELECT SINGLE * FROM modsapt
                 WHERE sprsl = sy-langu AND
                        name = jtab-obj_name.
          FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
          WRITE:/1 sy-vline,
                 2 jtab-obj_name HOTSPOT ON,
                21 sy-vline ,
                22 modsapt-modtext,
                95 sy-vline.
        ENDLOOP.
        WRITE:/(95) sy-uline.
        DESCRIBE TABLE jtab.
        SKIP.
        FORMAT COLOR COL_TOTAL INTENSIFIED ON.
        WRITE:/ 'No of Exits:' , sy-tfill.
      ELSE.
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        WRITE:/(95) 'No User Exit exists'.
      ENDIF.
    ELSE.
      FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
      WRITE:/(95) 'Transaction Code Does Not Exist'.
    ENDIF.
    AT LINE-SELECTION.
      GET CURSOR FIELD field1.
      CHECK field1(4) EQ 'JTAB'.
      SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
      CALL TRANSACTION 'SMOD' AND SKIP FIRST   SCREEN.
    *---End of Program.
    I hope it gives some basic idea.
    Best Regards,
    Vibha
    *Please mark all the helpful answers

  • Sharing some info about Export dumps

    Just to share some info about exports happenig in our system
    I have a 20GB Database but the dump size is 10GB it keeps growing..the data too grows but the dump has also getting increased significantly...
    Has anyone seen encountered soemthing like this...
    Strange but to live with it
    Oracle 8i on Win2k

    Is this your Production Database? Did you schedule this export? During peak/off peak business hours? Production
    Yes
    Off Peak hours
    Apart from this export, what database backup procedure you have in place? Full Backups/Incremental all in place
    You said, you take export regularly as part of procedure. Is this a strange behavior today or did you observe this previously as well??I have been observing since i joined this company.It was 14GB and Dump was around 7 ..now the DB is 20GB and dump is around 10GB
    I was just thinkking for a TB database how much the export would be...:)
    Adding on i had a 100Gb db generating 8Gb dump...Looked strange..)BUt that 100GB did not have so amny objects like what i have now...
    Thanks

Maybe you are looking for