Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Chrome and DDE
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  13 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Dave Winer  
View profile  
 More options Jun 9 2012, 2:35 pm
From: Dave Winer <dave.wi...@gmail.com>
Date: Sat, 9 Jun 2012 14:35:42 -0400
Local: Sat, Jun 9 2012 2:35 pm
Subject: Chrome and DDE

When you choose Preferences or Tool Catalog from the Misc menu, we fire off
a DDE message to the current browser.

Apparently Chrome does not support this. That's why these commands don't
work with Chrome on Windows.

http://threads.scripting.com/6912ByDw/chromeAndDde

They work perfectly well with all other browsers, and with Chrome on the
Macintosh.

Dave


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ivan Vučica  
View profile  
 More options Jun 9 2012, 2:55 pm
From: Ivan Vučica <ivuc...@gmail.com>
Date: Sat, 9 Jun 2012 20:55:23 +0200
Local: Sat, Jun 9 2012 2:55 pm
Subject: Re: Chrome and DDE

You use DDE to open a web page?

Isn't it easier to:
  ShellExecute(NULL, "open", "http://scripting.net", NULL, NULL,
SW_SHOWNORMAL);

Just as on OS X I'd use [NSWorkspace openURL: ].

I'm just wondering, is there some other major use for DDE when Frontier is
interacting with the browser? (Frankly, this is the first time I heard
about DDE, but from what the book of knowledge says, it's similar to Apple
Events, right?)

--
Ivan Vučica - i...@vucica.net

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dave Winer  
View profile  
 More options Jun 9 2012, 3:25 pm
From: Dave Winer <dave.wi...@gmail.com>
Date: Sat, 9 Jun 2012 15:25:23 -0400
Local: Sat, Jun 9 2012 3:25 pm
Subject: Re: Chrome and DDE

My memory is bad so I tried running your one-liner on the server.

http://scripting.com/images/2012/06/09/oops.gif

It doesn't know what ShellExecute is.

The reason why DDE is easier is that al the other browsers work that way
and if Chrome did I would have to do *nothing* to make it work with the
OPML Editor. :-)

It's why we bother using standards whenever possible.

Dave


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ivan Vučica  
View profile  
 More options Jun 9 2012, 3:37 pm
From: Ivan Vučica <ivuc...@gmail.com>
Date: Sat, 9 Jun 2012 21:37:06 +0200
Local: Sat, Jun 9 2012 3:37 pm
Subject: Re: Chrome and DDE

Sorry, that's, of course, a line in C using a Win32 API for launching a
process. :-)

I agree that Chrome should definitely support it. But based on my
experience with them fixing reported bugs, you're probably looking at
several months of response time.

Simpler solutions are often better, and IPC of this kind may not be needed
here if ShellExecute() will do the trick.

--
Ivan Vučica - i...@vucica.net

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dave Winer  
View profile  
 More options Jun 9 2012, 3:47 pm
From: Dave Winer <dave.wi...@gmail.com>
Date: Sat, 9 Jun 2012 15:47:21 -0400
Local: Sat, Jun 9 2012 3:47 pm
Subject: Re: Chrome and DDE

Well the simplest solution is to use Firefox. :-)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dave Winer  
View profile  
 More options Jun 10 2012, 7:58 pm
From: Dave Winer <dave.wi...@gmail.com>
Date: Sun, 10 Jun 2012 16:58:20 -0700 (PDT)
Local: Sun, Jun 10 2012 7:58 pm
Subject: Re: Chrome and DDE
Ivan, you gave me an idea that worked. Thanks! :-)

http://worknotes.scripting.com/june2012/61012ByDw/openingUrlsInChrome...

I think we now have a working connection betw the OPML Editor and
Chrome on Windows. :-)

Dave

On Jun 9, 2:55 pm, Ivan Vučica <ivuc...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ivan Vučica  
View profile  
 More options Jun 10 2012, 8:18 pm
From: Ivan Vučica <ivuc...@gmail.com>
Date: Mon, 11 Jun 2012 02:18:54 +0200
Local: Sun, Jun 10 2012 8:18 pm
Subject: Re: Chrome and DDE
Haha, nice trick! Glad to be of service :-)

By the way -- it's Vucica, not Vudica. 0:-)

On 6/11/12, Dave  Winer <dave.wi...@gmail.com> wrote:

--
Ivan Vučica - i...@vucica.net

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dave Jones  
View profile  
 More options Jun 11 2012, 1:12 am
From: Dave Jones <sec...@gmail.com>
Date: Mon, 11 Jun 2012 00:12:07 -0500
Local: Mon, Jun 11 2012 1:12 am
Subject: Re: Chrome and DDE

You don't need to create that temp file.  Windows protocol handler will
execute a url directly in the default browser from ShellExecute. So all you
need is this:

  launch.application("http://www.caltech.edu/")

Just did it in a quickscript window and it worked fine on Windows 7 and
Windows Server 2003.

DJ


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dave Winer  
View profile  
 More options Jun 11 2012, 8:44 am
From: Dave Winer <dave.wi...@gmail.com>
Date: Mon, 11 Jun 2012 05:44:59 -0700 (PDT)
Local: Mon, Jun 11 2012 8:44 am
Subject: Re: Chrome and DDE
http://worknotes.scripting.com/june2012/61112ByDw/openingChromePagesE...

Dave

On Jun 11, 1:12 am, Dave Jones <sec...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dave Jones  
View profile  
 More options Jun 11 2012, 4:34 pm
From: Dave Jones <sec...@gmail.com>
Date: Mon, 11 Jun 2012 15:34:16 -0500
Local: Mon, Jun 11 2012 4:34 pm
Subject: Re: Chrome and DDE

Updated parts, created an empty outline, did Add Link...
http://www.harvard.edu .  Right-clicked and did Open in Browser.  Firefox
opened fine to the correct url.  Switched to Chrome as default browser and
did the same thing.  Opened fine.  (Windows 7)

DJ


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dave Winer  
View profile  
 More options Jul 12 2012, 1:23 pm
From: Dave Winer <dave.wi...@gmail.com>
Date: Thu, 12 Jul 2012 10:23:55 -0700 (PDT)
Local: Thurs, Jul 12 2012 1:23 pm
Subject: Re: Chrome and DDE

Dave, following up on this --

Is there a way to bring the default web browser to the front using the same
mechanism?

For example, in the Tool Catalog command, we do this:

webbrowser.bringtofront ()
webbrowser.openurl (opmlEditor.data.urls.toolCatalogPage)

The second call works, per these suggestions, but it still tries to bring
Firefox to the front.

Thanks in advance for any help.

Dave


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dave Jones  
View profile  
 More options Jul 12 2012, 2:28 pm
From: Dave Jones <sec...@gmail.com>
Date: Thu, 12 Jul 2012 13:28:15 -0500
Local: Thurs, Jul 12 2012 2:28 pm
Subject: Re: Chrome and DDE

Just running launch.application(opmlEditor.data.urls.toolCatalogPage)
brings chrome to the front for me when i set it as my default browser.

DJ


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dave Winer  
View profile  
 More options Jul 13 2012, 11:23 am
From: Dave Winer <dave.wi...@gmail.com>
Date: Fri, 13 Jul 2012 11:23:16 -0400
Local: Fri, Jul 13 2012 11:23 am
Subject: Re: Chrome and DDE

Thanks Dave. This was tricky, but I think I found the correct way to
approach it.

http://worknotes.scripting.com/july2012/71312ByDw/webbrowseropenurlOn...

Turns out we couldn't really do it one way for Chrome and the old DDE-based
way for other browsers.

The fact that the new way also does a bringToFront turned out to be
problematic.

Dave


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »