ZachSchuster
08-05-2010, 12:59 PM
Before I begin, I will admit tht I have never done anything with ToasterScripts, save what Kris Gurrard was kind enough to explain to me via E-Mail.
Let me give some background. My school is developing an application for managing sports graphics. The idea is that this application will hold all the text and image paths, publish it to datalink .txt files, and also push them to live ouput. LiveText is essentially running in the background, and I would only need to interact with LiveText on a limited basis.
LiveText 2 will allow you to send a page to LIVE by means of Datalink. However, there is no command to send a page to the edit screen. I would like to do this for the purpose of "previewing" a page before sending it to LIVE.
Thanks to Kris, I know how to create a shortcut key to send a page to edit/preview, but the shortcut key command must be "hardwired" to a page number. In other words, I would need 5 shortcuts for 5 pages, 10 shortcuts for 10 pages, etc...
So I have three questions:
1. Is there a way to make the page value a variable?
2. If yes, and my internal application can write a number to a text file (ie. preview.txt is a single line file with "15"), is there a way that every time I hit my shortcut key, the script will see that it is a variable, and the variable is found at c:\stuff\preview.txt. In this case, I hit the shortcut key and page 15 will load in the edit window.
And lastly:
3. Is there a way to add command lines to Datalink via ToasterScript? A Datalink command like "setpagenum" would be ideal. That would be the easiest way, since that way I would not need to access LiveText to activate the shortcut keystroke. With how new LT2 is, I suspect the community at large does not know if this is possible.
Thanks!
Let me give some background. My school is developing an application for managing sports graphics. The idea is that this application will hold all the text and image paths, publish it to datalink .txt files, and also push them to live ouput. LiveText is essentially running in the background, and I would only need to interact with LiveText on a limited basis.
LiveText 2 will allow you to send a page to LIVE by means of Datalink. However, there is no command to send a page to the edit screen. I would like to do this for the purpose of "previewing" a page before sending it to LIVE.
Thanks to Kris, I know how to create a shortcut key to send a page to edit/preview, but the shortcut key command must be "hardwired" to a page number. In other words, I would need 5 shortcuts for 5 pages, 10 shortcuts for 10 pages, etc...
So I have three questions:
1. Is there a way to make the page value a variable?
2. If yes, and my internal application can write a number to a text file (ie. preview.txt is a single line file with "15"), is there a way that every time I hit my shortcut key, the script will see that it is a variable, and the variable is found at c:\stuff\preview.txt. In this case, I hit the shortcut key and page 15 will load in the edit window.
And lastly:
3. Is there a way to add command lines to Datalink via ToasterScript? A Datalink command like "setpagenum" would be ideal. That would be the easiest way, since that way I would not need to access LiveText to activate the shortcut keystroke. With how new LT2 is, I suspect the community at large does not know if this is possible.
Thanks!