Right!! And you can also get the path directly: Application.Plugins( 'MultiImporter_Qt' ).OriginPath
On Fri, Sep 7, 2012 at 11:36 AM, piotrek marczak <piotrek.marc...@gmail.com>wrote: > SignatureThanks Tim, good learning resource > btw > > srcDir = '' > for plugin in Application.Plugins: # Isn't there an easier way to get > this path? > > if plugin.Name == 'MultiImporter_Qt': > srcDir = os.path.dirname(plugin.**Filename) > > like this: > srcDir = '' > srcDir = os.path.dirname( Application.Plugins( 'MultiImporter_Qt' > ).Filename ) > > From: Tim Crowson > Sent: Tuesday, August 28, 2012 12:10 AM > To: softimage@listproc.autodesk.**com <softimage@listproc.autodesk.com> > Subject: Re: Some more questions about PyQt in Softimage > > > I've also added a page about it on my site: > http://dynamiclens.com/**wordpress/?page_id=750<http://dynamiclens.com/wordpress/?page_id=750> > > -Tim > > > > On 8/27/2012 5:04 PM, Steven Caron wrote: > great news! sorry to ask this of you again, but could you log another > separate issue on github? i ask because a) i am super busy and b) i can't > get to it now and need a nice reminder > > s > > > On Mon, Aug 27, 2012 at 2:32 PM, Tim Crowson <tim.crowson@magneticdreams.* > *com <tim.crow...@magneticdreams.com>> wrote: > > Yes, that seems to do the trick! New version (v1.13) is attached. > Thanks Luc-Eric! > > Now, any Qt experts who can tell me about button sizes for standard > buttons on a QMessageBox? ;-) > > > -Tim > > > > > On 8/27/2012 3:34 PM, Steven Caron wrote: > oh nice... thanks luc-eric! > > @tim, give this a shot? > > > On Mon, Aug 27, 2012 at 1:28 PM, Luc-Eric Rousseau <luceri...@gmail.com> > wrote: > > On Mon, Aug 27, 2012 at 4:02 PM, Steven Caron <car...@gmail.com> wrote: > >> these are only exposed to the cpp api right? so i need to expose this to >> scripting in the QtSoftimage plugin... >> > > it's there in scripting > > desktop = Application.Desktop > desktop.**SuspendWin32ControlsHook() > desktop.**RestoreWin32ControlsHook() > > > > > -- > > > > > > -- > >