Re: Passing variables from one script to another
Re: Passing variables from one script to another
- Subject: Re: Passing variables from one script to another
- From: Evan Schoffstall <email@hidden>
- Date: Sun, 10 Jul 2011 23:01:16 -0400
Thanks! I was stupidly using my application name instead of "NSApp"
Now how do get the variable from setPicturePath_(pathtoPicture) sent to another method indirectly?
I have another method named
createNewEntryWiththeThing_andotherThing_(theThing, otherThing)
inside the same script and do not want to pass pathtoPicture directly like
myAppAppDelegate's createNewEntryWiththeThing_andotherThing_(theThing, otherThing, pathToPicture)
I want to do something along the lines of
set pathtoPicture to setPicturePath_()'s pathtoPicture
However this is an invalid way to call it for setPicturePath_() should contain pathtoPicture and therefore if I do
set pathtoPicture to setPicturePath_("I eat cake")'s pathtoPicture
pathtoPicture would equal "I eat cake" and not what performDragOperation_(sender) set it as.
Quite a mouthful and a dilemma as you see..
Any help would be much appreciated!
--
Evan Schoffstall
Sent with Sparrow
On Sunday, July 10, 2011 at 7:25 PM, Shane Stanley wrote:
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden