>There's always Apple Events of course...
>
>MacPerl::DoAppleScript(<<END_SCRIPT);
>   make Window
>   set Name of front Window to "Test"
>   tell Window "Test"
>     set bounds to {500, 200, 700, 600}
>     repeat with i from 1 to 10
>       set contents of selection to "Line " & i & return
>     end repeat
>   end tell
>END_SCRIPT

That's a pretty good solution, actually. Of course, I know crap about
AppleScript which is even better <g>... When I close this window, it asks
if I want to save "Test" - is there anyway I can remove this dialog?

And can I specify various other window types through Applescript?
Man, I am such a loser not knowing this crap <g>...
Actually, anyone want to build a GUI for me in Perl?

-- 
Morbus Iff

 Disobey has been mentioned in The Netly News, Internet World, ABC News,
   Bruce Sterling's Dead Media Notes and many more. Microsoft and 3Com
  ripped us off also... that's GOTTA mean we're important. And hell, we
  got a rise out of Playboy! With sections that have nothing to do with
    the others, you'll like at least one thing. No, really. Go there.

-07--- <\/> ---- <http://www.disobey.com/> ------- Bad Ego, Any Notice ----

Reply via email to