sundown at pacifier.com
Fri May 26 05:07:13 CEST 2017
Your way is much better!
I just started learning Java a few
days ago so the reason I did it
wrong was because I did not
know what I was doing.
> On May 25, 2017, at 7:45 PM, Mark Wieder via use-livecode <use-livecode at lists.runrev.com> wrote:
> On 05/25/2017 06:58 PM, JB via use-livecode wrote:
>> After it has been compiled as Arguments.class you
>> can call it in liveCode like this:
>> on mouseUp
>> put "Drink" into arg1
>> put "Hot" into arg2
>> put "Java" into arg3
>> put "/Users/THEUSER/Desktop/" & return & "java Arguments"into pFilePath
>> put "java Arguments" into pFileName
>> put shell( "cd" && pFilePath & return & pFileName) && arg1 && arg2 && arg3 into fld id YOURFIELD
>> beep 2
>> end mouseUp
> Interesting. Why do you call it twice?
> And shouldn't you be passing the arguments to the java program?
> put "~/Desktop" into pFilePath
> put "java Arguments" into pFileName
> put shell( "cd" && pFilePath & return & pFileName && arg1 && arg2 && arg3) into fld id YOURFIELD
> Mark Wieder
> ahsoftware at gmail.com
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode