Re: Asking User Input on First Run only
Re: Asking User Input on First Run only
- Subject: Re: Asking User Input on First Run only
- From: Joseph Weaks <email@hidden>
- Date: Mon, 30 Dec 2002 23:54:15 -0600
Kai,
This is great. Thanks so much. It is really quite simple and
straightforward. I thought properties would work in this way. Though, I've
never used this "to blah blah blah" handler format.
One glitch has me puzzled. When it is run for the first time, after the
two files are selected, the script ends with no more dialog boxes. Is that
the purpose of the "error number -128"? When I remove the line, the script
busts. Shouldn't the script go ahead and do the synchronization once the
files have been selected?
Thanks,
Joe
On Monday, December 30, 2002, at 09:02 PM, Kai Edwards wrote:
It should - as long as the script isn't recompiled. Try something like
this:
===========================
property p1 : missing value
property p2 : missing value
property d0 : missing value
to getFileAliases()
try
return {p1 as alias, p2 as alias}
on error
firstRun()
error number -128
end try
end getFileAliases
[snip: script]
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.