Stuffit Deluxe not applescriptable in 10.6.2
Stuffit Deluxe not applescriptable in 10.6.2
- Subject: Stuffit Deluxe not applescriptable in 10.6.2
- From: John Mitchell <email@hidden>
- Date: Wed, 10 Feb 2010 20:11:12 +1100
Title: Stuffit Deluxe not applescriptable in
10.6.2
Scripters
thks for the several feedbacks
I tried Matt Deatherage's suggestions unsuccessfully using
"DropStuff" .
I then followed has's
At 18:54 -0800 7/02/2010,
email@hidden wrote:
John Mitchell wrote:
> I have been using Stuffit 10 to archive some data
Urgh, Stuffit. Hasn't that been consigned to its own circle of hell by
now?
> Or a Unix app to substitute?
That would be the best solution. Avoids locking your data into a dying
proprietary compression format, apart from anything else. Use ditto if
you want to preserve any resource fork gubbins; gzip if you don't.
Example:
set src_path to "/Users/foo/test/"
set dest_path to "/Users/foo/test.zip"
do shell script "ditto -ck " & quoted form of src_path &
space & quoted form of dest_path
HTH
has
after some mods it works, and I would appreciate your feedback on
why:
my src and dest paths have been of this form
mitchPro:Users:johnm:Documents:OfficeDB:Development:Databases:
in this form it failed, but worked when I deleted the diskname
(or is it the computer name) and change the delimeter from : to
/
set src_path to (change
"mitchPro:" into "" in OdbDatabasesFolderPath) --"/Users/foo/test/"
set src_path to (change ":" into "/" in src_path)
--"/Users/foo/test/"
set dest_path to (change
"mitchPro:" into "" in backupPath)
set dest_path to (change ":" into "/" in dest_path)
--"/Users/foo/test.zip"
do shell
script
"ditto -ck " & quoted form of src_path & space & quoted form of dest_path
the script is 2.5 times as fast, but slightly larger 84MB vs
72MB
I now have lost the FMPro "send event" script
step:
Send Event [ "aevt"; "oapp"]
having saved the applescript as an "application (bundle)"
from SD.
Is this the wrong format. FileMaker says 'The file <unknown >
could not be found...'
--
regards
John
-------------------------------------------------------------------------
CQR Pty Ltd
1005/2 Dind Street, Milsons
Point, NSW 2061 Australia
ABN: 45 001 785 191 NSW
ARBN: 3605
Email:
email@hidden Mob: +61 410 318 131
Skype:jrmitchell
Tel: +61 (2) 9922 3785 Fax:
+61 (2) 9929 4035
_______________________________________________
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