• 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: scripting Nikon Capture (help please!)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scripting Nikon Capture (help please!)


  • Subject: Re: scripting Nikon Capture (help please!)
  • From: SS Factory <email@hidden>
  • Date: Thu, 06 Jan 2005 18:35:08 +0900

AppleScript commands for Nikon Capture don't work.
So, I automated taking pictures using Safari & Image Capture.
If you don't have to use Nikon Capture, please try this.

1. Turn on sharing device on Image Capture preferences.
 (You can share your camera via Web sharing or Rendezvous)
2. Launch Safari.
3. Open URL of shared camera.
 (If you use Rendezvous, choose "Rendezvous" from bookmark collections, then
open shared camera)
4. Take a picture with this AppleScript.

tell application "Safari"
    do JavaScript "parent.window.takePicture()" in document 1
end tell

Note:CF Card must be inserted in the camera.

To download all taken pictures,

tell application "Safari"
    do JavaScript "parent.window.selectAllImages(parent.window.allImages)"
in document 1
    do JavaScript "parent.window.downloadSelectedImages()" in document 1
end tell

I verified this works with below environments.

- Nikon D70
- Mac OS 10.3.6
- Image Capture 2.1
- Safari 1.2

I hope this helps.

SSFactory (Japanese)
<email@hidden>

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

This email sent to email@hidden

  • Prev by Date: Re: Scripting mail at add an Atachment
  • Next by Date: Re: Converting binary to decimal
  • Previous by thread: Re: Scripting mail at add an Atachment
  • Next by thread: Send multiple commands to one Shell
  • Index(es):
    • Date
    • Thread