• 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
Re: Calling a C Subroutine
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calling a C Subroutine


  • Subject: Re: Calling a C Subroutine
  • From: Takaaki Naganoya <email@hidden>
  • Date: Sun, 11 Jan 2009 11:19:19 +0900

If your C subroutine accepts parameter from STDIN, call it by using "do shell script" command from AppleScript.

On 2009/01/10, at 1:39, Gil Dawson wrote:

Hi--

I have an AppleScript Studio project that's working OK. I would like to add a subroutine to compute a checksum. I have the fully tested subroutine coded in C. I'd rather not recode it into AppleScript, although I suppose I could.

Is there a way to call from Applescript a C subroutine, passing a string and returning an integer?

I'd appreciate a reference to the documentation for this.

--Gil
_______________________________________________\

-- Takaaki Naganoya Piyomaru Software http://piyo.piyocast.com email@hidden

PiyoCast Web (Podcasting with Music!)
http://www.piyocast.com
Free AppleScript Library "AS Hole"
http://www.piyocast.com/as/



_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: Calling a C Subroutine
      • From: Dave <email@hidden>
References: 
 >Calling a C Subroutine (From: Gil Dawson <email@hidden>)

  • Prev by Date: Re: How would I trim off 5 inches from the right side of PDF in Acrobat using AppleScript?
  • Next by Date: Mail Script to remove AUGD from Subject
  • Previous by thread: Calling a C Subroutine
  • Next by thread: Re: Calling a C Subroutine
  • Index(es):
    • Date
    • Thread