Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Swift Calc .. calculator tool made for myself

Discussion in 'Made With Unity' started by CaoMengde777, Jan 17, 2015.

  1. CaoMengde777

    CaoMengde777

    Joined:
    Nov 5, 2013
    Posts:
    813
    the purpose of making this tool is, in blender i need to do calculations on hundreds of numbers... making precision models,

    i figured id release it, in case someone can find it useful

    its meant to hold a constant number in B (divisor/minuend) and i paste hundreds of numbers in A
    it currently only does basic math + - x /

    so what Iam currently doing is:
    0.625 in B
    ctrl+C in blender the number
    focus the program
    press q
    press v or c or + or -
    press e
    ctrl+V in blender

    repeat.

    the fields in the bottom can hold other numbers that maybe used frequently, the first ^ sends it to A 2nd ^ sends to B (no hotkey) ... likewise a,s send resultant to A, B ... arrows to right of A, B send to opposite(no hotkey)

    [, ], ;, ' are shortcuts to paste to those fields, or click button

    i attempted to make a negative/positive button, but it works by putting ' | ' cursor in front of input fields and pressing - on keypad

    the button on top right the o makes the program work in the background, although it cant accept inputs .. so kinda useless... unless maybe theres a windows program to make the program accept inputs in background
    ( i wish it would)

    hotkeys are labelled except, pgup to highlight A , pgdwn to highlight B
    \, /, z, keypad / for division
    8, x, keypad * for multiplication
    -, c, keypad - for subtraction
    =, v, keypad + for addition

    if someone knows how to write it so that this app can run in the background and accept the hotkey inputs, itd be greatly appreciated they share such knowledge




    download:
    https://www.dropbox.com/s/qexpp5mwpbg0zql/Swift Calc.zip?dl=0

    source:
    https://www.dropbox.com/s/cx48pxssiwl3e5c/Swift Calc (source).zip?dl=0
    (no license, i dont believe in that crap, its stupid... this is free information, to better people)


    copy/paste shown here: (the calc script here is outdated)
    http://forum.unity3d.com/threads/copy-paste-from-windows-clipboard-runtime.291393/#post-1922663
     
    Last edited: Jan 19, 2015