|
From: Matthieu C. <cho...@gm...> - 2006-11-30 15:37:15
|
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 > |