Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6289 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I think I've asked this question on here before, but I have a solution and I'd like to share it and see if others can help make it better. There are a few parts of the script which currently need to be adjusted which I'd like to make portable to any user and any file. Here is the basic script (for use on a mac with built-in iSight and Photo Booth application)...

#This script will not work till you specify the user directory under the "Insert Picture" step & the last step.

Perform AppleScript [tell application "Finder"

delete file "Macintosh HD:Users:crain1jp:Pictures:Photo Booth:Photo 1.jpg"

end tell]

Perform AppleScript [Tell Application "Photo Booth" to activate]

Pause/Resume Script [indefinitely]

#Here the app opens and the user takes a picture

Go to Field [info::Picture]

#Here is where you have to specify a couple things, the hard drive name and the user name and also make sure that there are no previous pictures.

Insert Picture [imagemac:/Macintosh HD/Users/crain1jp/Pictures/Photo Booth/Photo 1.jpg]

Obviously I'd like to find a way of automatically finding the HD name and the user name, but haven't been able to do that yet. Any suggestions?

Hope this helps others.

jon

  • 4 weeks later...

This topic is 6289 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.