Go Back   FlashFXP Forums > > > >

! Other Scripts Support Support for all other scripts...

Reply
 
Thread Tools Rate Thread Display Modes
Old 12-09-2013, 11:05 AM   #1
o_dog
Senior Member
 
Join Date: May 2007
Posts: 692
Default

Like I said, namespace. Rename the proc ::ioNiNJA::uncat
to
::nxTools::uncat

that should work within the same namespace. Otherwise you will haveto load nxtools from the tcl file using "source" or "load" maybe, can't remember which. But inclusing it it the same namespace is simpler.
__________________
ioNiNJA
o_dog is offline   Reply With Quote
Old 12-10-2013, 09:12 AM   #2
brackebuschtino
Member
FlashFXP Registered User
 
Join Date: Feb 2012
Location: /dev/null
Posts: 40
Default

K, finally it is working through extending command switch
Code:
switch -- [lindex $args 0] {
   UNCAT  { source "../scripts/nxTools/nxDupe.tcl" ; ::ioNiNJA::uncat  }
}
This was the easiest solution for the moment. Of course it is not the best regarding decoupling dependencies.

Now i still need the curl.exe to work with https URLs and all will be fine.

Thank you, o_dog!
brackebuschtino is offline   Reply With Quote
Reply

Tags
experienced, knowledge, scripts, tcl, understand


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 07:17 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)