Load script file
Load script file
- Subject: Load script file
- From: Jens Heimer <email@hidden>
- Date: Thu, 13 Mar 2008 17:18:50 +0100
- Thread-topic: Load script file
Title: Load script file
Hi everyone,
Is there anyone, who wants to tell me
Why this example wont work:
This one is in file main:
on run
local obj
set obj to (load script file "Person")
end run
And this one goes in file Person
property name : ""
property alter : 0
on setName(pName)
set my name to pName
end setName
on setAlter(pAlter)
set my alter to pAlter
end setAlter
on getName()
get my name
end getName
on getAlter()
get my alter
end getAlter
I know it is a silly question, when you did applescript for some time, but anyway, i just started
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden