|
From: Matthieu C. <cho...@gm...> - 2006-11-30 15:47:40
|
ni fact I think I don't understand what do you want exactly
2006/11/30, Jolly Green Giant <jgg...@gm...>:
>
> You mean like this?
>
> sql.SqlTextPublisher.publishBuffer(
> buffer.getName("creation.sql"),
> sql.SqlUtils.getSelectedServerName(
> sql.SqlUtils.getProject(buffer.getName("creation.sql"))
> )
> );
>
> On 11/30/06, Matthieu Casanova <cho...@gm...> wrote:
> > Try to replace it by buffer.getName() maybe
> >
> > Matthieu
> >
> > 2006/11/30, Jolly Green Giant <jgg...@gm...>:
> > >
> > > Here's the code for a macro I want to run. How can I modify it to run
> > > "creation.sql" (which is open), instead of the current view?
> > >
> > > I have two or three SQL scripts to run and I want to automate it.
> > >
> > > sql.SqlTextPublisher.publishBuffer(
> > > view,
> > sql.SqlUtils.getSelectedServerName(sql.SqlUtils.getProject(view))
> > > );
> > >
> > >
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> --
> -----------------------------------------------
> jEdit Users' List
> jEd...@li...
> https://lists.sourceforge.net/lists/listinfo/jedit-users
>
|