This is what I have with
set path_list "/extra/path1 /extra/path2"
In the declare-plugin.tcl
And here is my plist file org.puredata.pd.plist
Maybe it's a path problem in OSX?
Special TCL wizard help
This is what I have with
set path_list "/extra/path1 /extra/path2"
In the declare-plugin.tcl
And here is my plist file org.puredata.pd.plist
Maybe it's a path problem in OSX?
Unchecking "Use standard paths" is the same, but it is checked by default.
@60htz Sorry...... maybe we will get somewhere but I need your help for testing.
New plugin....... declare-plugin.tcl
It just prints the path that it returns to the Pd terminal.
Open Pd and search (Find menu) for "path" please...... let's see what it is trying to send.....
Mine obviously prints.......
Resulting Path >> C:/Users/David/Desktop/Pd Vanilla/pd-0.50-0 portable.msw/pd-0.50-0/extra/path1
Resulting Path >> C:/Users/David/Desktop/Pd Vanilla/pd-0.50-0 portable.msw/pd-0.50-0/extra/path2
`
Thanks for trying to help
This is what I've got:
Resulting Path >> //extra/path1
Resulting Path >> //extra/path2
@60htz Good..... that narrows it down..... progress at last.
[pwd] in tcl was around in 2007.... so not sure why it is not returning the current path in osx..... but we will find out.
David.
@60htz Again with a search for "path" in the terminal please....... declare-plugin.tcl
New Path >> //extra/path1
New Path >> //extra/path2
@60htz [pwd] seems to be the culprit.
This still works in windows and my fingers are crossed.......... declare-plugin.tcl
Search for "Current" and "Path" afterwards......... although they should be grouped together.
David.
Great!
That's working now, you were right pwd was the culpid. Thanks, it works well now
I think I owe you a beer
@60htz Does a new patch then find your abstractions?
If it does then a beer is in order....... except that I will buy the next round for the 2 months it took to solve this.
I suspect that [pwd] is working but that in osx Tk/Tcl is running in the root directory.
In windows it is running in Pd/bin.........
David.
@60htz You are very welcome....... we are rewarded fully just by each new success.....!
@whale-av I have another question, now that the tcl plugin add the path, would it be also possible to declare libraries this way? I tried adding :
set startup_libraries {mylib}
But It doesn"t work. This would be useful because I try to avoid making a .sh script for OSX and different .bat for windows.
Oops! Looks like something went wrong!