Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.system > #58788

Re: Couple of Xcode questions

From Lewis <g.kreme@gmail.com.dontsendmecopies>
Newsgroups comp.sys.mac.system
Subject Re: Couple of Xcode questions
Date 2014-04-22 13:58 +0000
Organization Miskatonic U
Message-ID <slrnllctbn.17kv.g.kreme@amelia.local> (permalink)
References <535604c4$0$22465$c3e8da3$f6268168@news.astraweb.com>

Show all headers | View raw


In message <535604c4$0$22465$c3e8da3$f6268168@news.astraweb.com> 
  JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:
> So, I am wasting much time trying to get a simple AppleScriptObjC to
> run. :-(

> Question: Is there a magic incantation to change the font of the
> displayed code ?

In what editor?

> Secondly, when compiling the Appescipt, is it normal that the only
> details of a compilation error would be hidden into a pane you have to
> click on and reveal:

Um, that's not how script editor behaves for me, but you didn't say what
you were using.

> slideprintAppDelegate.applescript:30: error: Expected “,” or “)” but
> found identifier. (-2741)
> Command /usr/bin/osacompile failed with exit code 1

osacompile? Are you writing in Xcode? Don't do that. Script Editor works
very well for almost all AppleScript work. You only want to resort to
XCode if you are building something complicated with lots of files. A
UI. Stuff like that.

> Or did Apple disable the goodies between 3.1 and 3.2 to force people to
> bguy Xcode 4 and beyond ?

You are using XCODE 3?!? The current version is 5.1.1

And yes, I'm sure Apple is very interested in the income derived from
forcing people to buy $0 upgrades to XCode.

> Also, while I am at it, since there appears to be no debgger support for
> Applescript, I am resorting to "display dialog". However, is there a
> trick to display a numeric value ?

> for instance:

> set x to 24
> display dialog  x

To the best of my recollection:

display dialog (x as text) giving up after 5 seconds

-- 
I get the feeling that some people's idea of heaven is an "I told you
so" T-shirt - mmalc

Back to comp.sys.mac.system | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Couple of Xcode questions JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-04-22 01:57 -0400
  Re: Couple of Xcode questions JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-04-22 03:20 -0400
    Re: Couple of Xcode questions JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-04-22 03:56 -0400
      Re: Couple of Xcode questions Alan Baker <alangbaker@telus.net> - 2014-04-23 10:05 -0700
  Re: Couple of Xcode questions Lewis <g.kreme@gmail.com.dontsendmecopies> - 2014-04-22 13:58 +0000
    Re: Couple of Xcode questions Don Bruder <dakidd@sonic.net> - 2014-04-22 09:11 -0700
      Re: Couple of Xcode questions nospam <nospam@nospam.invalid> - 2014-04-22 12:20 -0400
        Re: Couple of Xcode questions JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-04-22 15:21 -0400
          Re: Couple of Xcode questions nospam <nospam@nospam.invalid> - 2014-04-22 15:36 -0400
            Re: Couple of Xcode questions JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-04-22 16:10 -0400
              Re: Couple of Xcode questions nospam <nospam@nospam.invalid> - 2014-04-22 16:43 -0400
          Re: Couple of Xcode questions Alan Baker <alangbaker@telus.net> - 2014-04-23 10:11 -0700
            Re: Couple of Xcode questions JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-04-23 14:55 -0400
              Re: Couple of Xcode questions Alan Baker <alangbaker@telus.net> - 2014-04-23 16:38 -0700
                Re: Couple of Xcode questions JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-04-23 21:46 -0400
                Re: Couple of Xcode questions Alan Baker <alangbaker@telus.net> - 2014-04-23 20:58 -0700
                Re: Couple of Xcode questions JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-04-24 00:44 -0400
                Re: Couple of Xcode questions Alan Baker <alangbaker@telus.net> - 2014-04-24 01:47 -0700
                Re: Couple of Xcode questions JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-04-24 03:49 -0400
                Re: Couple of Xcode questions Paul Sture <nospam@sture.ch> - 2014-05-10 19:13 +0200
                Re: Couple of Xcode questions Michael Vilain <vilain@NOspamcop.net> - 2014-05-10 11:34 -0700
                Re: Couple of Xcode questions Lewis <g.kreme@gmail.com.dontsendmecopies> - 2014-05-11 15:39 +0000
      Re: Couple of Xcode questions Lewis <g.kreme@gmail.com.dontsendmecopies> - 2014-04-23 12:43 +0000

csiph-web