Search found 49 matches
- May 29th, 2010, 10:27 pm
- Forum: Scripts Discussion
- Topic: Creating a new file
- Replies: 8
- Views: 14295
Re: Creating a new file
This is what I use to create a new file on Mac. var document = new File(~/Desktop/MyNewFile.txt); document.open("w"); document.write( yournewtext ); document.close(); Since PC URI's are formated differently, this may help you. It will return the exact path that you choose so you know how i...
- May 29th, 2010, 10:18 pm
- Forum: Scripts Discussion
- Topic: Script UI adding additional buttons
- Replies: 5
- Views: 15102
Re: Script UI adding additional buttons
I here ya on that. I learned just like you, dissecting other scripts and scouring the web for bits and pieces. I asked Todd Kopriva (of Adobe) about the possibility of a CS5 updated scripting guide and his answer was, yes. No mention of eta though. Hopefully soon.
- May 29th, 2010, 9:52 pm
- Forum: Scripts Discussion
- Topic: Script UI adding additional buttons
- Replies: 5
- Views: 15102
Re: Script UI adding additional buttons
If that works better for you then great. Are you looking to build a script launcher UI like "Launch Pad" to launch scripts with a single click?
http://www.adobe.com/cfusion/exchange/i ... id=1242019
http://www.adobe.com/cfusion/exchange/i ... id=1242019
- May 29th, 2010, 12:19 am
- Forum: Scripts Discussion
- Topic: Script UI adding additional buttons
- Replies: 5
- Views: 15102
Re: Script UI adding additional buttons
This is what I use when making my scripts. Replace all the 'NAMEONE' , 'NAMETWO' and 'NAMETHREE' (including the single quotation marks too) with a your own names. Going this route will not auto size or auto space any UI elements, but will allow you to make multiple buttons. I included some sample co...
- May 28th, 2010, 11:33 pm
- Forum: Scripts Discussion
- Topic: Creating a new file
- Replies: 8
- Views: 14295
Re: Creating a new file
This will create a new file if it doesn't exist already at the current path.
Code: Select all
var myfile = new File("c:\filepath\MyFile.txt");
- May 23rd, 2010, 10:04 pm
- Forum: Scripts Discussion
- Topic: Transfer Keyframes from specified layer to null
- Replies: 2
- Views: 7077
Transfer Keyframes from specified layer to null
Ok, I've stared at this long enough over the months trying different setups with no real results. Figured I would ask the collective of gurus here. This is part of a new script I have in the works and I've gotten part of the task to work. This code works properly by taking all the keyframes from a s...
- May 12th, 2010, 12:06 am
- Forum: Script requests
- Topic: Project report script
- Replies: 2
- Views: 10545
Re: Project report script
This should help....
http://aescripts.com/projectinfolistexporter/
http://aescripts.com/projectinfolistexporter/
- May 10th, 2010, 11:39 am
- Forum: Scripts Discussion
- Topic: CS5 Dropdownlist issues/warning
- Replies: 3
- Views: 9853
CS5 Dropdownlist issues/warning
This is more of a heads up to anyone using dropdownlists in old or new scripts that get run through CS5. I was noticing that my lists are not drawing outside the boundries of the window/panel. I filed this as a bug with Adobe already, but I somehow feel this was a deliberate choice only to keep the ...
- April 22nd, 2010, 11:52 pm
- Forum: Scripts Discussion
- Topic: remove() Delete() DeleteFile() Issues
- Replies: 2
- Views: 6812
Re: remove() Delete() DeleteFile() Issues
Works like a charm, you've made me a happy man Dan. Thanks. I knew it was gonna be something that was simple that I was just missing.
- April 22nd, 2010, 7:40 pm
- Forum: Scripts Discussion
- Topic: remove() Delete() DeleteFile() Issues
- Replies: 2
- Views: 6812
remove() Delete() DeleteFile() Issues
I'm trying to delete a .txt file from a folder within the ScriptUI Panels folder and it just isn't working for me. I can verify the path correctly and I can read, write and delete content within the file, but I cannot remove the file from the computer at all. I've tried... My path is "/Applicat...
- February 17th, 2010, 6:40 pm
- Forum: Scripts Discussion
- Topic: Does File.saveDialog() allow default name?
- Replies: 3
- Views: 12159
Re: Does File.saveDialog() allow default name?
Yes, kudos indeed to Jeff.
- September 15th, 2009, 1:04 pm
- Forum: Scripts Discussion
- Topic: Does File.saveDialog() allow default name?
- Replies: 3
- Views: 12159
Does File.saveDialog() allow default name?
This is copied straight out of the Javascript Tools CS4.pdf. I'm curious if there is a misprint (which has happened in the past) on the syntax. saveDialog() File.saveDialog (prompt[, preset]) —————————————————— prompt _____A string containing the prompt text, if t...
- May 9th, 2009, 12:23 pm
- Forum: General Scripts Library
- Topic: Solid Duration
- Replies: 5
- Views: 18656
Re: Solid Duration
Thanks, I'm assuming you have a windows machine? Just curious how the color picker part of the code will work or not work.mandaodex wrote:Thanks. I'l test it
- May 8th, 2009, 9:18 pm
- Forum: General Scripts Library
- Topic: Solid Duration
- Replies: 5
- Views: 18656
Re: Solid Duration
Thanks Yenaphe and you're welcome, now you don't need to trouble shoot how to write it and you can start enjoying it.Very nice David ! I was actually looking at creating a script to do the same thing
- May 7th, 2009, 8:46 pm
- Forum: General Scripts Library
- Topic: Solid Duration
- Replies: 5
- Views: 18656
Solid Duration
This was something I put together to help out a co-worker. He was creating a long series of solids as backgrounds behind his keyed clips and having to trim them up as he went to match the duration of each shot in the timeline. So simply put, this script will allow you to select one or more layers an...