image
image

Go Back   macosx.com > Design, Media, Programming & Scripting > Software Programming & Web Scripting

Reply
 
Thread Tools
  #1  
Old September 24th, 2004, 04:07 PM
Official Volunteer
 
Join Date: Oct 2000
Location: UAF, Fairbanks, AK
Posts: 409
Thanks: 0
Thanked 0 Times in 0 Posts
macavenger is on a distinguished road
Disk image control via AppleScript

This should be a simple one for you guys: I want to make an apple script that mounts a disk image, and then opens an application. However when I try to tell finder to open file, I get an error saying can't get file. I finally got it to work using the do shell script open command, but this seems rather kludgy to me. Also, is there some way to do this so I don't have to specify the full path to the disk image, so I don't have to rewrite the script if I move it? Thanks.
__________________
iMac 17" FP 800MHZ/1024MB/75GB/SuperDrive/OS X 10.4.x
PowerMac G4 450 DP/256MB/30GB/OS X 10.4.x
Olympus C-5500 5.0 MP/5x Optical zoom Digital Camera
Reply With Quote
  #2  
Old September 28th, 2004, 02:45 PM
Official Volunteer
 
Join Date: Oct 2000
Location: UAF, Fairbanks, AK
Posts: 409
Thanks: 0
Thanked 0 Times in 0 Posts
macavenger is on a distinguished road
Ok, maybe this wasn't as simple a question as I thought Anyone have any ideas? Thanks.
__________________
iMac 17" FP 800MHZ/1024MB/75GB/SuperDrive/OS X 10.4.x
PowerMac G4 450 DP/256MB/30GB/OS X 10.4.x
Olympus C-5500 5.0 MP/5x Optical zoom Digital Camera
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 11:31 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.