Search found 18 matches

by vidjuheffex
October 15th, 2013, 9:07 pm
Forum: Scripts Discussion
Topic: SERIOUS DOUBLE PRECISION ERROR
Replies: 2
Views: 8073

Re: SERIOUS DOUBLE PRECISION ERROR

Thanks. will give this a shot.
by vidjuheffex
October 11th, 2013, 11:01 am
Forum: Scripts Discussion
Topic: SERIOUS DOUBLE PRECISION ERROR
Replies: 2
Views: 8073

SERIOUS DOUBLE PRECISION ERROR

Someone PLEASE explain to me your methods for working with the fact that dealing with seconds for scripting is terrible. I cannot code anything involving my queue without it rendering a frame earlier than indicated by the workarea duration. Or a frame later. If you start counting frames at 1 it brea...
by vidjuheffex
October 6th, 2013, 11:25 pm
Forum: Scripts Discussion
Topic: Scrolling/Looping ProgressBar
Replies: 0
Views: 7446

Scrolling/Looping ProgressBar

Thought I would share a swf I made for ScriptUI:

http://www.vidjuheffex.com/general/loop ... -scriptui/
by vidjuheffex
September 24th, 2013, 11:15 am
Forum: Scripts Discussion
Topic: System.callSystem bug?
Replies: 1
Views: 6639

Re: System.callSystem bug?

I should add, it doesn't work on any machine at work
by vidjuheffex
September 24th, 2013, 11:14 am
Forum: Scripts Discussion
Topic: System.callSystem bug?
Replies: 1
Views: 6639

System.callSystem bug?

var pythonPath = scriptAssetFolder.fsName + '\\jive_getProjects.pyw'; var JSONPath = prefsPath + '\\getProjects.json'; var concatString = 'start /MIN python '+ '"' + pythonPath + '" "' + JSONPath+ '"'; var external = system.callSystem("cmd.exe /c \"" + concatStrin...
by vidjuheffex
September 10th, 2013, 9:21 pm
Forum: Script requests
Topic: double precision woes
Replies: 0
Views: 7736

double precision woes

okay this is a bit dense but here goes: 1. Our facility wishes to start all frame ranges at 1001. 2. I have a precomposing script that goes down and precomposes each shot. It also sets (or tries to set) the start frame of these children comps to 1001. 3. I have used: var oneThousandOneToSec = 1001 *...
by vidjuheffex
March 15th, 2013, 10:47 am
Forum: Scripts Discussion
Topic: Automatic Layout Manager Fail
Replies: 1
Views: 6527

Re: Automatic Layout Manager Fail

Alright I figured it out: show() is what automatically invokes the layout manager. However show() does not work when creating dockable ScriptUI panels. You need to invoke the layout by calling the layout function of its layout property. In other words: w.layout.layout(); return w; this way the code ...
by vidjuheffex
March 12th, 2013, 2:24 pm
Forum: Scripts Discussion
Topic: Automatic Layout Manager Fail
Replies: 1
Views: 6527

Automatic Layout Manager Fail

I have the following code: var musket = function() { var w; var title; return { init: function(thisObj){ w = (thisObj instanceof Panel) ? thisObj : new Window("palette", "Musket", undefined, {resizeable:true, orientation:'column', alignChildren:['left','top']}); w.title = w.add(&...
by vidjuheffex
May 17th, 2012, 3:00 pm
Forum: Scripts Discussion
Topic: Stopwatch click scripting
Replies: 4
Views: 10614

Re: Stopwatch click scripting

thanks Paul, the sort is working but I'm still left with these darn orientation problems. I guess I'll need to force the script to do the matrix multiplication by hand, for the two vectors, and find the smaller of the two angles 0 and 0n - 0 to use in a sine equation (????) so It'll looks like I'm b...
by vidjuheffex
May 17th, 2012, 8:14 am
Forum: Scripts Discussion
Topic: Stopwatch click scripting
Replies: 4
Views: 10614

Re: Stopwatch click scripting

wow that is way cleaner than what I came up with. mySolid.property("Position").expression = myPosString; mySolid.property("Orientation").expression = myOrientString; var newPos = mySolid.property("Position").valueAtTime(0, false); mySolid.property("Position")....
by vidjuheffex
May 16th, 2012, 3:46 pm
Forum: Scripts Discussion
Topic: Stopwatch click scripting
Replies: 4
Views: 10614

Stopwatch click scripting

Hello all, I have an expression I use often which I want to make a one-click script. It requires an expression on the position parameter and one on the rotation parameter. I started off by trying to not use expressions, I don't want to have expression but rather, set values. I managed to do this wit...
by vidjuheffex
May 15th, 2012, 11:00 pm
Forum: General Scripts Library
Topic: sort to individual folder 1.0b
Replies: 4
Views: 20487

Re: sort to individual folder 1.0b

Thanks, makes sense!
by vidjuheffex
May 14th, 2012, 9:58 pm
Forum: General Scripts Library
Topic: sort to individual folder 1.0b
Replies: 4
Views: 20487

Re: sort to individual folder 1.0b

Thanks Dan! If you don't mind, I have a few questions in regards to that solution. The first variable: var mySelectedItems = app.project.selection; Does this mean I do not have to loop through to find the selected items, but can merely summon them and their value? Also: var mySelection = mySelectedI...
by vidjuheffex
May 14th, 2012, 10:03 am
Forum: General Scripts Library
Topic: sort to individual folder 1.0b
Replies: 4
Views: 20487

sort to individual folder 1.0b

hey all, I have written a new (simple) script. The purpose of this script is to take selected items in your project window and place them in their own folder named after themselves. It available on http://vidjuheffex.com/scripts/ I had an issue with the first uploaded version of the script: app.begi...
by vidjuheffex
May 12th, 2012, 1:03 pm
Forum: General Scripts Library
Topic: 3D to 2D ScreenSpace .1b
Replies: 5
Views: 20571

Re: 3D to 2D ScreenSpace .1b

thanks!