Forum Replies Created

Page 2 of 4
  • Jacob Danell

    February 11, 2014 at 9:15 am in reply to: Script-Pick Whip?

    I found the problem… My script exedently created two layers with the same name and there is where the problem happened. Than’s Dan for the help!

  • Jacob Danell

    February 5, 2014 at 1:05 pm in reply to: Script-Pick Whip?

    I tried as you said, chainging ‘ to ” and ” to ‘ so the script applied
    selectedLayer.property("position").expression = 'thisComp.layer("' + scriptName + '").transform.position+value';
    The code in AE looked like this:
    thisComp.layer("nullControll").transform.position+value
    and after tried to change the name of the null, the name didn’t change in the expression

  • Jacob Danell

    February 4, 2014 at 10:58 am in reply to: Placing camera as if rightclick -> New – > Camera

    I calculated it some and got this number: 1,3888889
    So the calculation is: Width*1,3888889
    (1920*1,3888889 = 2666,6667 – 4096*1,3888889 = 5688,8889)

  • Jacob Danell

    February 4, 2014 at 10:52 am in reply to: Script-Pick Whip?

    Didn’t work =/ Guessing it’s nothing that is able to be done trough scripting.

  • Jacob Danell

    August 29, 2013 at 3:02 pm in reply to: “Are you sure?”-box problem

    Perfect! So simple 🙂 Thanks!

  • Jacob Danell

    August 23, 2013 at 9:47 pm in reply to: Add button and textfield to UI

    I’m trying to use your recursive function but I get an error under “k lt K;”. It alerts for the “It” and doesn’t understand it. What exactly does that part in the script do and is it important?

  • Jacob Danell

    August 22, 2013 at 4:41 pm in reply to: Add button and textfield to UI

    hm… I think I’ll be done with the script, now when it’s so close to be done and later if it looks like a big problem, needing to scroll long to see all, I might change it to the way you said now.
    Well thanks for all the help! Really helped me going 🙂
    One last thing, is there somehow to see if a group has a listbox in it or not?

    p.s. also when I add a new item to the ListBox I make it checked = false but the checkbox doesn’t show until I click on a button or a box inside the UI.
    My code is

    function pressAddButton ()
    {
    var newName = prompt ("What To Do?","What To Do?");
    if (newName != null){
    var theNewListboxItem = theListBox.add("item", newName);
    theNewListboxItem.checked = false;
    }
    }

  • Jacob Danell

    August 22, 2013 at 3:20 pm in reply to: Add button and textfield to UI

    Ah, sorry if I forgot to write before. I did it in photoshop just to be able to show what I was after instead of trying to explain 😛

    Well there you have what I’m trying to create.
    First add/remove to add/remove todos,
    Second a box with the Todos and a checkbox to check the ones you have done
    and Last a DropDown list where you can select witch todo-list you want to see (for multiply jobs)

    So far, with the ListBox everything is super easy to setup, now it’s only to link UI-groups to the DropDown list so you can show the list you want to see and hide the rest and if possible in some way, make the text start in a new line (but as it looks now it looks dark =/ )

  • Jacob Danell

    August 22, 2013 at 2:36 pm in reply to: Add button and textfield to UI

    Ah too bad =/ I’m using a ListBox with only one column for my lines. What my wish would be is that it “feels” the end of the border, so it changes the line automatically depending the size of the UI.
    I’m not good at explaining what I mean so I made this image of how it looks like now and what I’m trying to exceed 🙂

  • Jacob Danell

    August 22, 2013 at 12:32 pm in reply to: Add button and textfield to UI

    Yeah, it’s those UI videos I have seen before so far 🙂 but like you said, this PDF is heaven ^^

    The only thing left that is sort of a problem for me is now if you add a new item of text and the text is pretty long you get a scrollbar in the bottom, I would like the text to continue in a new row. I don’t know if it’s possible, i haven’t fount a way so far and google haven’t helped.

Page 2 of 4

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy