Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Isadora: General:
External text files

 

 


SonicGraffiti
Novice

Oct 11, 2007, 2:34 AM

Post #1 of 5 (1146 views)
Shortcut
External text files Can't Post

Hello - Sorry if this has already been covered but is there a way of getting external text files into Isadora

I'm thinking of something similar to the way you can use applescript to get updated images from a webpage into isadora. Could you use a similar technique to get text from an rss feed or webpage?


Mark Coniglio
TroikaTronix / Moderator

Oct 24, 2007, 1:26 AM

Post #2 of 5 (1097 views)
Shortcut
Re: [SonicGraffiti] External text files [In reply to] Can't Post

There is no way to input an external text file into Isadora at this time.
But you can send text into a Listener actor using an AppleScript.

tell application "Isadora"
tell document 1
broadcast to value "lalala" on channel 1
end tell
end tell

would broadcast the string "lalala" to any active Listener actor in the specified document whose type was set to 'string' and whose channel was set to 1.

Using a little clever Applescripting, you should be able to take individual lines from a text file and send them in.

Best Wishes,
Mark

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Mark Coniglio / TroikaTronix
Creator of Isadora


trukske
Novice

Oct 30, 2007, 5:20 AM

Post #3 of 5 (1067 views)
Shortcut
Re: [Mark Coniglio] External text files [In reply to] Can't Post

Hello,

This works really fine! Is it also possible to bring text inside Isadora with the same layout as in the apple script? No the text always becomes one long line, once it is inside Isadora. Can you have one line for each sentence?

Ief.

not this because my screen is not big enough to be able to read this

but this

not this because
my screen is not
big enough to be
able to read this

Thanks!


Mark Coniglio
TroikaTronix / Moderator

Nov 3, 2007, 8:12 AM

Post #4 of 5 (1002 views)
Shortcut
Re: [trukske] External text files [In reply to] Can't Post

Just put the text together with a carriage return character (decimal 13, hex 0d) between the lines. The Text Draw actor will respect this.

In applescript, you can do

"hello" & return & "goodbye"

the keyword return will become the carrange return character.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Mark Coniglio / TroikaTronix
Creator of Isadora


trukske
Novice

Nov 4, 2007, 4:04 AM

Post #5 of 5 (980 views)
Shortcut
Re: [Mark Coniglio] External text files [In reply to] Can't Post

thank you, works really fine. I was looking allready for a long time for a VJ application that was able to load scroll texts from an external text file.

all best

Ief

 
 
 


Search for (options) copyright © TroikaTronix 2007