• 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: AppleScript-Users Digest, Vol 8, Issue 515 - Disregard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript-Users Digest, Vol 8, Issue 515 - Disregard


  • Subject: Re: AppleScript-Users Digest, Vol 8, Issue 515 - Disregard
  • From: email@hidden
  • Date: Wed, 09 Nov 2011 15:08:02 -0500

Sorry folks, please disregard the message below I sent in error. Amusingly, it does pertain to Applescript though (SOAP calls).  --Stefan


* * * * * * *

Stefan Economou
Creative Operations Director
Communications
(617) 760-8089




__________________

OK the CAPS script is using the multi-field call as well (except for one instance where it pulls the Job Title for web screenshots). You should note a dramatic decrease in SOAP calls.  --S


* * * * * * *

Stefan Economou
Creative Operations Director
Communications
(617) 760-8089


 


From: email@hidden
To: email@hidden
Date: 11/09/2011 03:00 PM
Subject: AppleScript-Users Digest, Vol 8, Issue 515
Sent by: applescript-users-bounces+stefan_economou=email@hidden






Send AppleScript-Users mailing list submissions to
                email@hidden

To subscribe or unsubscribe via the World Wide Web, visit
                http://lists.apple.com/mailman/listinfo/applescript-users
or, via email, send a message with subject or body 'help' to
                email@hidden

You can reach the person managing the list at
                email@hidden

When replying, please edit your Subject line so it is more specific
than "Re: Contents of AppleScript-Users digest..."


Today's Topics:

  1. RE: Re: Change modification date of a file
     (email@hidden)
  2. Re: Burning DVD's (Luther Fuller)


----------------------------------------------------------------------

Message: 1
Date: Wed, 09 Nov 2011 16:33:27 +0100
From: email@hidden
Subject: RE: Re: Change modification date of a file
To: email@hidden, email@hidden
Cc: email@hidden
Message-ID: <259c60$email@hidden>
Content-Type: text/plain; charset="us-ascii"

Hi Bert,

Ran the test on a unix server using helios to mount the 'afp' volumes where I could not replicate the behavior you mentioned
Are you working on a windows server? This I can not test then....

--- spaces problem
set THEPATH to \"BEL_Tester2:test mod:Untitled.rtf\"
do shell script \"touch \" & quoted form of POSIX path of THEPATH

--- copy instead of rename/move
use cp instead of mv

best regards,jan



Hello Jan, thank you for your answer.
I had some complications testing with the \"touch\" script.
1) It seems to work fine with files on my local harddisk.
2) I had one situation in which I (or better: the script) was able to change the modification date of a file on a server. The strange thing was when I moved the file to another folder (manually in the Finder) the old modification date was back.
3) The script doesn't seem to work if the path to a file contains folders with spaces in the name.

My main script contains HFS paths which I convert to POSIX paths. Maybe something goes wrong there?

Additional question:
Is it also possible to DUPLICATE a file with a do shell script? From one folder to another folder I mean.

Bert.

On 9 nov 2011, at 11:42, email@hidden wrote:

hi bert


do shell script \"touch /PATHTOFILE\"
do shell script \"mv /PATHTOFILE /PATHTOFILE/NEWNAME\"

best regards,jan



I am also interested in example code how to change the filename with do shell script . . .




Hello,

I have a simple Finder statement to change the modification date of a file. See below. Every now and then (can't tell why) the task errors.I was wondering: How can I perform same task without talking to the Finder (do shell script bla bla....)? Can anyone help?


set D to current date
tell application \"Finder\"
                set modification date of alias \"Macintosh HD:Users:bert:Desktop:Testfolder:week_47.txt\" to D
end tell




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.apple.com/mailman/private/applescript-users/attachments/20111109/5a47a57e/attachment.html

------------------------------

Message: 2
Date: Wed, 09 Nov 2011 10:16:41 -0600
From: Luther Fuller <email@hidden>
Subject: Re: Burning DVD's
To: Applescript Users <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset="iso-8859-1"

Problem FIXED, but still a mystery.

This morning, I did some experimenting with ...

                "hdiutil create -type SPARSEBUNDLE -megabytes " & imageSize & " -fs HFS+J -layout NONE " & imagePath & ¬
                                 " -volname " & quoted form of imageName & " -attach"

I simply could not get it to create a Partition Scheme = GUID. Always Partition Scheme = none.

I checked my backup made on 5 Nov 2011 and found that the run-only script that contains this code was compiled on 6 June 2011. It was working correctly at that time and apparently continued to work correctly until 29 Oct when it began creating sparse bundles with Partition Scheme = GUID.

So, I recompiled the original script without making any changes to the code and copied the run-only .scpt file into my application. New sparse bundles now have Partition Scheme = none and I can burn them using 'drutil'.

I am now left wondering why this script spontaneously failed. Mysterious.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.apple.com/mailman/private/applescript-users/attachments/20111109/a413d6d2/attachment.html

------------------------------

_______________________________________________
AppleScript-Users mailing list
email@hidden
http://lists.apple.com/mailman/listinfo/applescript-users

End of AppleScript-Users Digest, Vol 8, Issue 515
*************************************************
 



This message is intended for the recipient only and is not meant to be forwarded or distributed in any other format. This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument, or security, or as an official confirmation of any transaction. Putnam does not accept purchase or redemptions of securities, instructions, or authorizations that are sent via e-mail. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of Putnam Investments, LLC (DBA Putnam Investments) and its subsidiaries and affiliates. If you are not the intended recipient of this e-mail, please delete the e-mail.
 _______________________________________________
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

  • Prev by Date: Re: AppleScript-Users Digest, Vol 8, Issue 515
  • Next by Date: UI scripting: Problematic removal of unwanted Word footnote returns
  • Previous by thread: Re: AppleScript-Users Digest, Vol 8, Issue 515
  • Next by thread: UI scripting: Problematic removal of unwanted Word footnote returns
  • Index(es):
    • Date
    • Thread