• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Error with Posix command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Error with Posix command


  • Subject: Error with Posix command
  • From: Hagimeno <email@hidden>
  • Date: Mon, 8 Nov 2010 12:56:51 +0000 (GMT)

Hi,

If I add these two line of code in ASOC app in handler applicationWillFinishLaunching_(aNotification)

set unixTemp to "/tmp/"
set filePathTemp to ((POSIX file unixTemp) as string) & "temp.tif"

I receive error:
*** -[UntitledAppDelegate applicationWillFinishLaunching:]: Can’t make «script» into type string. (error -1700)

Why? The code works in ASS o AS

Alex




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Scrolling in TextView
  • Next by Date: Error with Posix command
  • Previous by thread: Re: Scrolling in TextView
  • Next by thread: Error with Posix command
  • Index(es):
    • Date
    • Thread