[clug-talk] Semi-OT: AppleScript Editor

Robert Lewko lewkor at gmail.com
Thu Apr 30 16:48:08 PDT 2009


I may be mistaken on this, but I think they use a \r for a line ending.  At
least its only a single character.  I will bet that hundreds of thousands of
hours have been wasted on dos/windows because they use \r\n for their
"newline".

On Thu, Apr 30, 2009 at 5:40 PM, Chris Lusena <grey_0x1a at yahoo.com> wrote:

>
> I am wonder if Macs have the same text format as Windows xor as a Unix, xor
> even worst a third incompatible way of signaling an end of line?
>
> --
> Chris
>
> --- On Thu, 4/30/09, Ian Bruseker <ian.bruseker at gmail.com> wrote:
>
> > From: Ian Bruseker <ian.bruseker at gmail.com>
> > Subject: Re: [clug-talk] Semi-OT: AppleScript Editor
> > To: "CLUG General" <clug-talk at clug.ca>
> > Date: Thursday, April 30, 2009, 5:27 PM
> > 2009/4/30
> > TekBudda <tekbudda at gmail.com>
> >
> > Essentially what happens is that we are deploying Mac's
> >  on the
> >
> > network & the laptop need to have the WiFi set-up.
> >  One of my
> >
> > co-workers had created a script that does the whole thing
> > when you hit
> >
> > run.  The only lines that need to be changed are the SSID
> > & the key.
> >
> > The file is labelled as filename.scpt whihc is an
> > AppleScript file.
> >
> > Any editor in cluding the ones suggested just garbles the
> > information
> >
> > & you cannot edit the 2 lines needed.
> >
> >
> >
> > The probl;em is that the only way we can change the script
> > at this
> >
> > point is to use a Mac OS X machine...which isn't a huge
> > deal, but just
> >
> > slow things down a bit.  Some guys have Mac's but
> > mopst of us have
> >
> > WIndows machines, hence the need for a program to run on a
> > WIndows
> >
> > box.
> >
> >
> >
> > Hope that clears everything up.
> >
> >
> >
> >
> > I'm starting to wonder
> > if my assumption on them being plain text is incorrect.  I
> > just did a little googling and found references to
> > "compiling" AppleScript files.  I'm wondering
> > if that's what you have is the compiled output.  This
> > page talks about being able to save the script output in
> > various formats, including plain text:
> >
> >
> >
> http://developer.apple.com/documentation/applescript/conceptual/applescriptx/Concepts/work_with_as.html
> >
> >
> > Maybe you just need to get back onto one of those Macs and
> > try to do a Save As in Script Editor and save it out in a
> > different format.  Then you could edit it in any editor.
> >
> > Ian
> >
> >
> > -----Inline Attachment Follows-----
> >
> > _______________________________________________
> > clug-talk mailing list
> > clug-talk at clug.ca
> > http://clug.ca/mailman/listinfo/clug-talk_clug.ca
> > Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
> > **Please remove these lines when replying
>
>
>
>
> _______________________________________________
> clug-talk mailing list
> clug-talk at clug.ca
> http://clug.ca/mailman/listinfo/clug-talk_clug.ca
> Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
> **Please remove these lines when replying
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://clug.ca/pipermail/clug-talk_clug.ca/attachments/20090430/28c170f3/attachment.html>


More information about the clug-talk mailing list