[PD] obj to open webbrowser

brandt at subnet.at brandt at subnet.at
Mon Jul 12 12:40:12 CEST 2010


hi

I don´t know, if i´m right, but i made a little patch using pddp-link.  
maybe its helpfull for you

best regards
der.brandt





Zitat von "Bernardo Barros" <bernardobarros2 at gmail.com>:

> yeah :-)
>
> But bash scripts also can do a lot (I think much more, but I don´t
> know applescript so well) and run on gnu/linux AND osx.
>
> 2010/7/8 Hans-Christoph Steiner <hans at at.or.at>:
>>
>>
>> You can do a lot more with AppleScript, that's just a functional example.
>>
>> .hc
>>
>>
>> On Jul 7, 2010, at 7:26 PM, Bernardo Barros wrote:
>>
>>> the command open tells finder to open a file or url with the default
>>> software.
>>>
>>> why not
>>>
>>> "open http://www.wikipedia.org"  --> [shell]
>>>
>>> ???
>>>
>>>
>>> 2010/7/7 Hans-Christoph Steiner <hans at at.or.at>:
>>>>
>>>> Seems like a generic osascript object would be a good idea:
>>>>
>>>>
>>>>
>>>>
>>>> .hc
>>>>
>>>> On Jul 4, 2010, at 5:00 AM, philippe boisnard wrote:
>>>>
>>>>> Hello
>>>>>
>>>>> an other solution with [system] to open webpage and other document for
>>>>> example image.
>>>>>
>>>>> but I search with applescript to define the name of safari or firefox or
>>>>> preview window ? do you have idea about this problem ?
>>>>>
>>>>> b_r
>>>>>
>>>>> p
>>>>>
>>>>> <openimage.pd><openwebpage.pd>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> ----------------------------------------------------------------------------
>>>>
>>>> All mankind is of one author, and is one volume; when one man dies, one
>>>> chapter is not torn out of the book, but translated into a better
>>>> language;
>>>> and every chapter must be so translated.... -John Donne
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Pd-list at iem.at mailing list
>>>> UNSUBSCRIBE and account-management ->
>>>> http://lists.puredata.info/listinfo/pd-list
>>>>
>>>>
>>
>>
>>
>> ----------------------------------------------------------------------------
>>
>> News is what people want to keep hidden and everything else is publicity.
>>        - Bill Moyers
>>
>>
>>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->  
> http://lists.puredata.info/listinfo/pd-list
>

-------------- next part --------------
#N canvas 0 0 552 317 10;
#X obj 14 254 s pd-html;
#N canvas 468 0 450 300 html 1;
#X restore 385 259 pd html;
#X msg 88 152 editmode \$1;
#X msg 87 129 0;
#X msg 117 130 1;
#X msg 59 194 mouse \$1 \$2 \$3 \$4;
#X msg 59 174 10 10 0 1;
#X msg 34 217 cut;
#X msg 15 100 obj 10 10 pddplink \$1 -box;
#X obj 7 59 t b b b b b b b s b;
#X obj 7 38 symbol;
#X msg 8 14 http://puredata.info/;
#X text 185 91 puts a box named pdplink into the html window;
#X text 149 14 fill in the url;
#X text 183 142 switches on and off the editmode;
#X text 184 102 on a specified place;
#X text 177 189 moves the mouse to the place of the link;
#X text 176 199 an clicks;
#X text 174 227 after opening the web-browser the object will be cutted
;
#X connect 2 0 0 0;
#X connect 3 0 2 0;
#X connect 4 0 2 0;
#X connect 5 0 0 0;
#X connect 6 0 5 0;
#X connect 7 0 0 0;
#X connect 8 0 0 0;
#X connect 9 2 7 0;
#X connect 9 3 6 0;
#X connect 9 4 4 0;
#X connect 9 5 6 0;
#X connect 9 6 3 0;
#X connect 9 7 8 0;
#X connect 9 8 4 0;
#X connect 10 0 9 0;
#X connect 11 0 10 0;
-------------- next part --------------
#N canvas 0 0 552 317 10;
#X obj 14 254 s pd-html;
#N canvas 468 0 450 300 html 1;
#X restore 385 259 pd html;
#X msg 88 152 editmode \$1;
#X msg 87 129 0;
#X msg 117 130 1;
#X msg 59 194 mouse \$1 \$2 \$3 \$4;
#X msg 59 174 10 10 0 1;
#X msg 34 217 cut;
#X msg 15 100 obj 10 10 pddplink \$1 -box;
#X obj 7 59 t b b b b b b b s b;
#X obj 7 38 symbol;
#X msg 8 14 http://puredata.info/;
#X text 185 91 puts a box named pdplink into the html window;
#X text 149 14 fill in the url;
#X text 183 142 switches on and off the editmode;
#X text 184 102 on a specified place;
#X text 177 189 moves the mouse to the place of the link;
#X text 176 199 an clicks;
#X text 174 227 after opening the web-browser the object will be cutted
;
#X connect 2 0 0 0;
#X connect 3 0 2 0;
#X connect 4 0 2 0;
#X connect 5 0 0 0;
#X connect 6 0 5 0;
#X connect 7 0 0 0;
#X connect 8 0 0 0;
#X connect 9 2 7 0;
#X connect 9 3 6 0;
#X connect 9 4 4 0;
#X connect 9 5 6 0;
#X connect 9 6 3 0;
#X connect 9 7 8 0;
#X connect 9 8 4 0;
#X connect 10 0 9 0;
#X connect 11 0 10 0;


More information about the Pd-list mailing list