Extension Accessing an External Application through COM (Murray Help Please!)

Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.

  1. #1

    Default Extension Accessing an External Application through COM (Murray Help Please!)

    Hi All,

    I'm the author of an application called the Screen Calipers, which is a tool
    for screen based measurement, similar to a Screen Ruler. I would like very
    much to be able to make the measurement capabilities of our tool available
    in Dreamweaver, and as I've never created an extension before I'd like to
    know if this is possible.

    The application is a standalone .exe, and it also has a COM interface which
    allows the distance measured, and other factors, to be controlled from
    outside applications. I've been told that Murray is the person to ask here,
    and I'd like to know if it is possible then what version of Dreamweaver can
    be targeted and if there are any example files where people have done
    similar.

    The Screen Calipers application is available here:
    [url]http://www.iconico.com/caliper[/url]

    We have an example of the application being controlled through COM here:
    [url]http://www.iconico.com/caliper/SDKDemo.aspx[/url]


    Thanks so much in advance.


    Nico Westerdale
    Iconico Inc.
    [url]www.iconico.com[/url]
    [email]nico@iconico.com[/email]


    Nico Westerdale Guest

  2. Similar Questions and Discussions

    1. extension disabled but errors accessing commands menu
      I disables dmx tiddy extension from extension manager but now, when accessing Commands menú 4 alerts appear saying dmx tidy was not found in .......
    2. Accessing Web application from another Machine
      hi Guys, I hav deployed a .Net Web application in a XP OS server. I am not able to access the web application from a remote machine in the local...
    3. Problems accessing COM+ from ASP.NET application
      Hi Mike, It's obviously failing on Registry access. To get more information, I'd highly recommend getting a Regmon log. You can download Regmon...
    4. Accessing network files from an external process
      Here is a good problem I'm hoping someone can help me with. Let me start out with my configuration. I have an asp.net application, integrated...
    5. accessing non-linked external casts in runtime
      Is it possible to access a cast that is not linked to a movie? Can anyone tell me how? thanks J
  3. #2

    Default Re: Extension Accessing an External Application through COM (Murray Help Please!)

    Hi Nico,

    One of your fans emailed me to ask if I could help you at all. I can't help
    out personally, but perhaps this post will help you some...
    [url]http://communitymx.com/blog/index.cfm?newsid=179&blogger=35[/url]

    Good luck,
    ~Angela
    --
    Angela C. Buraglia, Founder:
    ~FAQs, Tutorials & Resources~ [url]http://www.DreamweaverFAQ.com[/url]
    ~My Extensions~ [url]http://www.dwfaq.com/go.asp?ID[/url] =AngelaX10
    DWfaq Support Newsgroup: [url]news://support.dwfaq.com/support[/url]

    Co-Author with Joseph Lowery, Dreamweaver MX 2004 Killer Tips:
    [url]http://www.dwkillertips.com[/url]

    Extension Developer for Cartweaver 2:
    [url]http://www.cartweaver.com/go/angela[/url]

    "Nico Westerdale" <nico@iconico.com> wrote in message
    news:djdp10$p7n$1@forums.macromedia.com...
    > Hi All,
    >
    > I'm the author of an application called the Screen Calipers, which is a
    > tool for screen based measurement, similar to a Screen Ruler. I would like
    > very much to be able to make the measurement capabilities of our tool
    > available in Dreamweaver, and as I've never created an extension before
    > I'd like to know if this is possible.
    >
    > The application is a standalone .exe, and it also has a COM interface
    > which allows the distance measured, and other factors, to be controlled
    > from outside applications. I've been told that Murray is the person to ask
    > here, and I'd like to know if it is possible then what version of
    > Dreamweaver can be targeted and if there are any example files where
    > people have done similar.
    >
    > The Screen Calipers application is available here:
    > [url]http://www.iconico.com/caliper[/url]
    >
    > We have an example of the application being controlled through COM here:
    > [url]http://www.iconico.com/caliper/SDKDemo.aspx[/url]
    >
    >
    > Thanks so much in advance.
    >
    >
    > Nico Westerdale
    > Iconico Inc.
    > [url]www.iconico.com[/url]
    > [email]nico@iconico.com[/email]
    >
    >

    ~Angela, TMM Guest

  4. #3

    Default Re: Extension Accessing an External Application through COM (Murray Help Please!)

    Thanks for the link, I can see how to simply open an external applicaiton. I
    don't think it helps me with being able to control an external application
    via COM though.

    Nico

    "~Angela, TMM" <support@REMOVECAPSdwfaq.com> wrote in message
    news:dkdg2u$nob$1@forums.macromedia.com...
    > Hi Nico,
    >
    > One of your fans emailed me to ask if I could help you at all. I can't
    > help out personally, but perhaps this post will help you some...
    > [url]http://communitymx.com/blog/index.cfm?newsid=179&blogger=35[/url]
    >
    > Good luck,
    > ~Angela
    > --
    > Angela C. Buraglia, Founder:
    > ~FAQs, Tutorials & Resources~ [url]http://www.DreamweaverFAQ.com[/url]
    > ~My Extensions~ [url]http://www.dwfaq.com/go.asp?ID[/url] =AngelaX10
    > DWfaq Support Newsgroup: [url]news://support.dwfaq.com/support[/url]
    >
    > Co-Author with Joseph Lowery, Dreamweaver MX 2004 Killer Tips:
    > [url]http://www.dwkillertips.com[/url]
    >
    > Extension Developer for Cartweaver 2:
    > [url]http://www.cartweaver.com/go/angela[/url]
    >
    > "Nico Westerdale" <nico@iconico.com> wrote in message
    > news:djdp10$p7n$1@forums.macromedia.com...
    >> Hi All,
    >>
    >> I'm the author of an application called the Screen Calipers, which is a
    >> tool for screen based measurement, similar to a Screen Ruler. I would
    >> like very much to be able to make the measurement capabilities of our
    >> tool available in Dreamweaver, and as I've never created an extension
    >> before I'd like to know if this is possible.
    >>
    >> The application is a standalone .exe, and it also has a COM interface
    >> which allows the distance measured, and other factors, to be controlled
    >> from outside applications. I've been told that Murray is the person to
    >> ask here, and I'd like to know if it is possible then what version of
    >> Dreamweaver can be targeted and if there are any example files where
    >> people have done similar.
    >>
    >> The Screen Calipers application is available here:
    >> [url]http://www.iconico.com/caliper[/url]
    >>
    >> We have an example of the application being controlled through COM here:
    >> [url]http://www.iconico.com/caliper/SDKDemo.aspx[/url]
    >>
    >>
    >> Thanks so much in advance.
    >>
    >>
    >> Nico Westerdale
    >> Iconico Inc.
    >> [url]www.iconico.com[/url]
    >> [email]nico@iconico.com[/email]
    >>
    >>
    >
    >

    Nico Westerdale Guest

  5. #4

    Default Re: Extension Accessing an External Application through COM (Murray Help Please!)

    Hi Nico,

    I've never dealt with this kind of extension personally, but reading his
    post I thought this part would have helped you....

    "MM.shellExecute()
    MM.shellExecute() is a slightly more complex way of calling an executable
    and it allows arguments to be passed to the external application. "

    No?

    ~Angela





    "Nico Westerdale" <nico@iconico.com> wrote in message
    news:dkghof$b7o$1@forums.macromedia.com...
    > Thanks for the link, I can see how to simply open an external applicaiton.
    > I don't think it helps me with being able to control an external
    > application via COM though.
    >
    > Nico
    >
    > "~Angela, TMM" <support@REMOVECAPSdwfaq.com> wrote in message
    > news:dkdg2u$nob$1@forums.macromedia.com...
    >> Hi Nico,
    >>
    >> One of your fans emailed me to ask if I could help you at all. I can't
    >> help out personally, but perhaps this post will help you some...
    >> [url]http://communitymx.com/blog/index.cfm?newsid=179&blogger=35[/url]
    >>
    >> Good luck,
    >> ~Angela
    >> --
    >> Angela C. Buraglia, Founder:
    >> ~FAQs, Tutorials & Resources~ [url]http://www.DreamweaverFAQ.com[/url]
    >> ~My Extensions~ [url]http://www.dwfaq.com/go.asp?ID[/url] =AngelaX10
    >> DWfaq Support Newsgroup: [url]news://support.dwfaq.com/support[/url]
    >>
    >> Co-Author with Joseph Lowery, Dreamweaver MX 2004 Killer Tips:
    >> [url]http://www.dwkillertips.com[/url]
    >>
    >> Extension Developer for Cartweaver 2:
    >> [url]http://www.cartweaver.com/go/angela[/url]
    >>
    >> "Nico Westerdale" <nico@iconico.com> wrote in message
    >> news:djdp10$p7n$1@forums.macromedia.com...
    >>> Hi All,
    >>>
    >>> I'm the author of an application called the Screen Calipers, which is a
    >>> tool for screen based measurement, similar to a Screen Ruler. I would
    >>> like very much to be able to make the measurement capabilities of our
    >>> tool available in Dreamweaver, and as I've never created an extension
    >>> before I'd like to know if this is possible.
    >>>
    >>> The application is a standalone .exe, and it also has a COM interface
    >>> which allows the distance measured, and other factors, to be controlled
    >>> from outside applications. I've been told that Murray is the person to
    >>> ask here, and I'd like to know if it is possible then what version of
    >>> Dreamweaver can be targeted and if there are any example files where
    >>> people have done similar.
    >>>
    >>> The Screen Calipers application is available here:
    >>> [url]http://www.iconico.com/caliper[/url]
    >>>
    >>> We have an example of the application being controlled through COM here:
    >>> [url]http://www.iconico.com/caliper/SDKDemo.aspx[/url]
    >>>
    >>>
    >>> Thanks so much in advance.
    >>>
    >>>
    >>> Nico Westerdale
    >>> Iconico Inc.
    >>> [url]www.iconico.com[/url]
    >>> [email]nico@iconico.com[/email]
    >>>
    >>>
    >>
    >>
    >
    >

    ~Angela, TMM Guest

  6. #5

    Default Re: Extension Accessing an External Application through COM (Murray Help Please!)

    Angela,

    It's not the same as COM interaction which would let you read and write
    variables while the application is running.

    Nico


    "~Angela, TMM" <support@REMOVECAPSdwfaq.com> wrote in message
    news:dkhjh0$nn5$1@forums.macromedia.com...
    > Hi Nico,
    >
    > I've never dealt with this kind of extension personally, but reading his
    > post I thought this part would have helped you....
    >
    > "MM.shellExecute()
    > MM.shellExecute() is a slightly more complex way of calling an executable
    > and it allows arguments to be passed to the external application. "
    >
    > No?
    >
    > ~Angela
    >
    >
    >
    >
    >
    > "Nico Westerdale" <nico@iconico.com> wrote in message
    > news:dkghof$b7o$1@forums.macromedia.com...
    >> Thanks for the link, I can see how to simply open an external
    >> applicaiton. I don't think it helps me with being able to control an
    >> external application via COM though.
    >>
    >> Nico
    >>
    >> "~Angela, TMM" <support@REMOVECAPSdwfaq.com> wrote in message
    >> news:dkdg2u$nob$1@forums.macromedia.com...
    >>> Hi Nico,
    >>>
    >>> One of your fans emailed me to ask if I could help you at all. I can't
    >>> help out personally, but perhaps this post will help you some...
    >>> [url]http://communitymx.com/blog/index.cfm?newsid=179&blogger=35[/url]
    >>>
    >>> Good luck,
    >>> ~Angela
    >>> --
    >>> Angela C. Buraglia, Founder:
    >>> ~FAQs, Tutorials & Resources~ [url]http://www.DreamweaverFAQ.com[/url]
    >>> ~My Extensions~ [url]http://www.dwfaq.com/go.asp?ID[/url] =AngelaX10
    >>> DWfaq Support Newsgroup: [url]news://support.dwfaq.com/support[/url]
    >>>
    >>> Co-Author with Joseph Lowery, Dreamweaver MX 2004 Killer Tips:
    >>> [url]http://www.dwkillertips.com[/url]
    >>>
    >>> Extension Developer for Cartweaver 2:
    >>> [url]http://www.cartweaver.com/go/angela[/url]
    >>>
    >>> "Nico Westerdale" <nico@iconico.com> wrote in message
    >>> news:djdp10$p7n$1@forums.macromedia.com...
    >>>> Hi All,
    >>>>
    >>>> I'm the author of an application called the Screen Calipers, which is a
    >>>> tool for screen based measurement, similar to a Screen Ruler. I would
    >>>> like very much to be able to make the measurement capabilities of our
    >>>> tool available in Dreamweaver, and as I've never created an extension
    >>>> before I'd like to know if this is possible.
    >>>>
    >>>> The application is a standalone .exe, and it also has a COM interface
    >>>> which allows the distance measured, and other factors, to be controlled
    >>>> from outside applications. I've been told that Murray is the person to
    >>>> ask here, and I'd like to know if it is possible then what version of
    >>>> Dreamweaver can be targeted and if there are any example files where
    >>>> people have done similar.
    >>>>
    >>>> The Screen Calipers application is available here:
    >>>> [url]http://www.iconico.com/caliper[/url]
    >>>>
    >>>> We have an example of the application being controlled through COM
    >>>> here:
    >>>> [url]http://www.iconico.com/caliper/SDKDemo.aspx[/url]
    >>>>
    >>>>
    >>>> Thanks so much in advance.
    >>>>
    >>>>
    >>>> Nico Westerdale
    >>>> Iconico Inc.
    >>>> [url]www.iconico.com[/url]
    >>>> [email]nico@iconico.com[/email]
    >>>>
    >>>>
    >>>
    >>>
    >>
    >>
    >
    >

    Nico Westerdale Guest

  7. #6

    Default Re: Extension Accessing an External Application throughCOM (Murray Help Please!)

    I'm not sure, but does Dreamweaver's Javascript interpreter support the "new
    ActiveXObject()" syntax like IE does? If not, you could create a c-level
    extension dll that creates your COM object and registers Javascript functions
    to interface with it.

    CosmicBee Guest

  8. #7

    Default Re: Extension Accessing an External Application throughCOM (Murray Help Please!)

    Here's the closest thing you could do:

    You create a custom version of the EXE which accepts a file URL parameter.
    You run the EXE from the extension, and the EXE will write the return values to
    the passed file URL. Your DW extension will periodically (every second or few)
    check to see if the file exists. If it does exist, it will read/parse the
    values, and delete the file.

    Note/Warning: Executing programs on Macs can be buggy. You might need to make
    it a win-only DW ext.

    N Rohler Guest

  9. #8

    Default Re: Extension Accessing an External Application through COM (Murray Help Please!)

    Thanks CosmicBee, this sounds like the closest and best approach so far. If
    anyone has experimented with this then I'd love to hear from you.

    Thanks again


    "CosmicBee" <webforumsuser@macromedia.com> wrote in message
    news:dktkcv$ba8$1@forums.macromedia.com...
    > I'm not sure, but does Dreamweaver's Javascript interpreter support the
    > "new
    > ActiveXObject()" syntax like IE does? If not, you could create a c-level
    > extension dll that creates your COM object and registers Javascript
    > functions
    > to interface with it.
    >

    Nico Westerdale Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139