• 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
Fwd: shell script how to get current window path
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: shell script how to get current window path


  • Subject: Fwd: shell script how to get current window path
  • From: "Quentin Arnault" <email@hidden>
  • Date: Tue, 25 Nov 2008 09:35:03 +0100

Hi,

I would like to implement an Apple script which will launch the make command in the current path.

I tried something like:

on run
    do shell script "cd " & quoted form of the_path in window 1
    do shell script "make"
end run

But I have the following error when I run the script:
tell current application
    get quoted form of the_path of window 1
        "Can't make quoted form of the_path of window 1 of «script» into type Unicode text."

Do you have any idea on how I can write the script to do such action ?

Best regards,
Quentin ARNAULT

 _______________________________________________
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: shell script how to get current window path
      • From: Axel Luttgens <email@hidden>
    • Re: Fwd: shell script how to get current window path
      • From: Skeeve <email@hidden>
  • Prev by Date: Re: Can't Remove Photos from iPhoto Slideshow using AppleScript / Scripting Bridge
  • Next by Date: Re: Fwd: shell script how to get current window path
  • Previous by thread: Re: AppleScript-Users Digest, Vol 5, Issue 625
  • Next by thread: Re: Fwd: shell script how to get current window path
  • Index(es):
    • Date
    • Thread