Resources on programming, especially on AppleScript Studio wanted.

Jump to First Reply
Posted:
in General Discussion edited January 2014
Didn´t´want to leeche on pscates thread so I made this.



I am making a small registration program for the office that are supposed to be used for registration of certain medical events and I am kind of stuck on how to do certain things. I wonder if there is a place where I cold find some help, like posting my unfinished project and ask others to help in?



There is a lot of places helping people on how to resize windows, finding documents etc. in X and a lot where people help each other on advanced programming questions. But no place I know of where Joe Average that needs to program something very simple can find help.

Comments

  • Reply 1 of 4
    der kopfder kopf Posts: 2,275member
    Didn't you have a thread on this already? I distinctly remember advising something or other.
     0Likes 0Dislikes 0Informatives
  • Reply 2 of 4
    well, while not directly useful to the problem you pose, sf.net is a great resource. register there (free), create a project (free), and they host it (free). you get a web site, a forum, source control, and all kinds of goodies, for FREE. the caveat being you have to license your product under an OSI-approved license (must be free or open-source software).



    i'll be willing to help. tell me more specifically you are having trouble with. if you put your project on sf (the whole registration, plus project creation/approval process takes a couple of days), you can send me (or others) there to download the current version, and ask them to contribute back.
     0Likes 0Dislikes 0Informatives
  • Reply 3 of 4
    andersanders Posts: 6,523member
    Perhaps small stupid question is how I´ll do it:

    What does the error message "NSReceiverEvaluationScriptError" really mean?



    Im trying to squash out the bug and sometimes its followed with "4 (1)" and sometimes with a "(10)"



    What does the number refer to (and which one is indicates that I have come the longest with my work?)
     0Likes 0Dislikes 0Informatives
  • Reply 4 of 4
    andersanders Posts: 6,523member
    Woops. Just realised its two different errors:



    "NSReceiverEvaluationScriptError 4 (1)"



    and



    "NSCannotCreateScriptCommandError (10)"



    The app is supposed to take the value of certain text boxes and place them in a table. Buttons, table and boxes are placed in a tab view.



    the code is this:



    Code:




    property etlistedataindhold : {}



    on clicked theObject

    tell window of theObject

    tell tab view item "et" of the tab view "alle"

    set etlistedataindhold to etlistedataindhold & {my ettilfoj(window of the tab of theObject)}

    tell table view "etlistedata" of scroll view "etliste" to update

    end tell

    end tell

    end clicked



    on cell value theObject table column tableColumn row theRow

    set thevalue to ""

    if (count of etlistedata) ? theRow then

    set theRowData to item theRow of etlistedataindhold

    set theID to identifier of tableColumn

    if theID is "etlistedatafo" then

    set thevalue to etkvfo of theRowData

    else if theID is "etlistedataef" then

    set thevalue to etkvef of theRowData

    end if

    end if



    return thevalue

    end cell value



    on number of rows theObject

    return count of etlistedataindhold

    end number of rows





    on ettilfoj(thewindow)

    tell thewindow

    return {etkvfo:contents of text field "etkvfo", etkvef:contents of text field "etkvef"}

    end tell

    end ettilfoj



     0Likes 0Dislikes 0Informatives
Sign In or Register to comment.