Hey all,
So, I am using Pd 0.47.1.
Is there a way to open with executing a bang while in Pd?
Open PDF automatically while in Pd
Hey all,
So, I am using Pd 0.47.1.
Is there a way to open with executing a bang while in Pd?
Oh, yeah, I am on a mac.
@EEight said:
@raynovich You forgot to state your platform. Look for deken: https://github.com/pure-data/deken install [ggee/shell] if on linux or mac maybe. Good luck.
Looking at the site posted here. I cannot figure out what I am supposed to do yet, but looking through the materials.
Reading through the materials that deken uses, I am confused. So, I downloaded deken. Put it in a folder that I use to access Pd files. But still cannot find shell. I know I am doing something wrong but cannot figure out what.
@raynovich I think you can delete the Deken you've downloaded, Go to "menu > help > find externals". Type "ggee" and click the first entry. At the prompt, click "no" and choose a folder in your computer. Then go to "menu > Pd > Preferences > Path..", click "new" and pick the "ggee" folder where you saved it before. Restart Pd and you should be able to create the [shell] object.
I've just opened this tar.gz file downloaded via deken
motex-v0-0extended-(Darwin-i386-32)(Darwin-PowerPC-32)(Darwin-x86_64-32)-externals.tar.gz
and it contains system.pd_darwin, So when you get Deken sorted [motex/system] may also be an option for macs
@weightless I am closer. . . .
I think I did things as you recommended when I reopened Pd it did this:
[deken] deken-plugin.tcl (Pd externals search) loaded from /Users/williamraynovich/Desktop/PureDatainformation.
[deken] Platform detected: Darwin-x86_64-32bit
However, when I tried to make a |shell| Pd Window said: Couldn't create.
@raynovich I don't understand what you did after you reopened Pd, did you create an object called Deken?
In Pd 0.47.1 the find external function is already built in. I did the steps I wrote in the previous post and it works for me, also on mac and same version of Pd.
Scratch that. I got it working. I did not follow directions well enough. Sorry.
Thanks!
So, should osascript work with shell on a mac?
I am opening a pdf with Preview. Got that working. Now I want to have the program go back to Pd without me clicking anything. Looked into writing scripts and have not really learned how to do that yet. Anyway this is what I am trying to do:
|Bang|
|
|osascript -e 'tell app "Pd-0.47-1-64bit" to activate'(
|
|shell|
I assumed that this would work as this line of text in a terminal window does bring Pd to the front. or any other program. However, osascript does not seem to work in Pd. Any thoughts?
William
Oops! Looks like something went wrong!