[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] argh



At 8:59 PM -0400 10/20/98, Chris Nandor wrote:
>In the Finder 8.5 aete, there is no event named 'get'.  It is also not in
>the dialect file, nor in any of my scripting additions.  Yet "tell
>application Finder get selection end tell" still works.  So somehow "get"
>is being mapped to core\getd.  Why?  How?

I still have my 8.1 installation available. The 8.1 Finder doesn't have a 
"get" item in the dictionary either. I even checked with the Script Editor, 
which should get all of the proper pieces, and I didn't see anything.  I 
think this is discussed somewhere in IM:IAC, but I haven't found it yet.


>
>I have no problem special casing a few select events, if that is what I
>need to do.  But I won't do it unless I know what the nature of the special
>case is.
>
>This week is getting longer and longer ...
>
>Oh, Mr. Schooley, in App.pm, I added this to the end of
>get_app_status_and_launch():
>
>    $name = $app_path if $name !~ /:/;
>
>When I was loading in things that weren't apps, $name was not getting
>returned properly.  Maybe there should be a way to simply say "just use the
>path I pass, and don't try to get the data from the running app or
>anything".

I'll take a look at this. I may need to add code to check the file type 
before going off to look for a running app.

later,

---Dave---

=========================================================
David C. Schooley              | "Success is how high you
Ph.D. in progress              |  bounce after you hit
Georgia Tech Electric Power    |  bottom.
mailto:dcschooley@mediaone.net |   - General George S. Patton
http://www.ee.gatech.edu/users/schooley/

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch