• 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: Passing argumenst to C executable from Apple script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Passing argumenst to C executable from Apple script


  • Subject: Re: Passing argumenst to C executable from Apple script
  • From: Philip Aker <email@hidden>
  • Date: Fri, 18 Apr 2008 01:00:54 -0700

On 08-04-17, at 21:57, SVV Satyanarayana wrote:

From Apple script, I am showing a dialog with few textboxes and a button. On click of the button, I want to call some "C" executable with arguments as strings in textboxes. How can I do this?

To call command line tools, use the 'do shell script' command. Details are in the Standard Additions dictionary.

It's not clear from your post whether or not you are in an AppleScript Studio project and whether or not you are targeting a tool or a scriptable application.
To target a scriptable application use the form:

tell application "System Events"
activate
set flist to path of every file of desktop folder whose visible is true
choose from list flist
end tell
Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@

Sent from my SE/30

 _______________________________________________
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: Passing argumenst to C executable from Apple script
      • From: SVV Satyanarayana <email@hidden>
References: 
 >Passing argumenst to C executable from Apple script (From: SVV Satyanarayana <email@hidden>)

  • Prev by Date: Re: Mail scripting once more
  • Next by Date: Keystroke
  • Previous by thread: Passing argumenst to C executable from Apple script
  • Next by thread: Re: Passing argumenst to C executable from Apple script
  • Index(es):
    • Date
    • Thread