Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
leifw #1
Showing a Dialog at Startup
I'm running DW CS3 for Windows. I'm trying to write an extension which will
show a dialog at start up. The "Extending Dreamweaver" manual says, "If you
place a command file in the Configuration/Startup folder, the command runs as
Dreamweaver starts up." I've done that. That code runs. It also says, "You
can also show warnings, prompt the user for information, or call the
dreamweaver.runCommand() function." Calling dreamweaver.runCommand() doesn't
seem to work. I can put the same code in a command that is executed after
startup and it works fine, but within my startup command, it seems like
Dreamweaver just ignores my calls to runCommand().
Quite specifically, my startup command contains:
alert('before');
dreamweaver.runCommand('myCommand.htm');
alert('alert');
I see the "before" and "after" alerts, but I don't see the dialog defined in
myCommand.htm.
Do you have a suggestion?
Thanks,
Leif
leifw Guest
-
Printing without showing the printing dialog window
hey - did you ever figure out a solution to the printing without dialog issue? i'm trying to get around the same problem myself. thanks! -jason -
ASP startup page invokes a file download dialog
I'm relatively new to ASP.NET. I'm running it under Win XP Pro, using Visual Studio 2002.NET (haven't migrated to VS2003 yet). The ASP.NET... -
startup ...
Hello, I noticed there are folders like: /etc/rc0.d /etc/rc1.d /etc/rc2.d .. .. .. -
Dialog Boxes Not Showing (Mult Monitors)
have no way of returning to a dual monitor system right now if you can't hook up a 2nd monitor, follow the FAQ topic for deleting/resetting... -
Dialog Box
I have XP home on my new notebook, I am trying to complete the updates from Windows. The Dialog Box opens with all the items that I want to... -
Joris van Lier #2
Re: Showing a Dialog at Startup
"leifw" <webforumsuser@macromedia.com> wrote in message
news:fhbdri$fki$1@forums.macromedia.com...Just checking: your dialog command page DOES contain a form, I recall a form> I'm running DW CS3 for Windows. I'm trying to write an extension which
> will
> show a dialog at start up. The "Extending Dreamweaver" manual says, "If
> you
> place a command file in the Configuration/Startup folder, the command runs
> as
> Dreamweaver starts up." I've done that. That code runs. It also says,
> "You
> can also show warnings, prompt the user for information, or call the
> dreamweaver.runCommand() function." Calling dreamweaver.runCommand()
> doesn't
> seem to work. I can put the same code in a command that is executed after
> startup and it works fine, but within my startup command, it seems like
> Dreamweaver just ignores my calls to runCommand().
>
> Quite specifically, my startup command contains:
> alert('before');
> dreamweaver.runCommand('myCommand.htm');
> alert('alert');
>
> I see the "before" and "after" alerts, but I don't see the dialog defined
> in
> myCommand.htm.
>
> Do you have a suggestion?
>
> Thanks,
tag in the html file being required to show any dialog at all.
Joris van Lier Guest
-
leifw #3
Re: Showing a Dialog at Startup
Yeah, thanks for asking. My command does have a form. I tossed a few input tags in for good measure. My dialog still doesn't show up.
leifw Guest
-
Joris van Lier #4
Re: Showing a Dialog at Startup
"leifw" <webforumsuser@macromedia.com> wrote in message
news:fhcnqk$bm2$1@forums.macromedia.com...As a work-around you can change your command to an _onOpen triggered command> Yeah, thanks for asking. My command does have a form. I tossed a few
> input tags in for good measure. My dialog still doesn't show up.
by appending _onOpen to the filename,
then set a flag that you the next time to not show the dialog.
Joris van Lier Guest
-
leifw #5
Re: Showing a Dialog at Startup
Thanks, Joris.
That's an interesting work around. I'll give it a try.
Leif
leifw Guest



Reply With Quote

