• 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: name of this document (solved)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: name of this document (solved)


  • Subject: Re: name of this document (solved)
  • From: Ronald Hofmann <email@hidden>
  • Date: Tue, 23 Sep 2008 08:23:47 +0200

Great, thanks a lot, works fine.

Greetings, Ronald
--- 


Am Di23.09.2008 ยท 39 um 08:12 schrieb Philip Aker:

On Sep 22, 2008, at 11:02 PM, Ronald Hofmann wrote:

Hi everybody,
in order to write error logs I want to know the name of the script which writes to the error log.
Of course, I could write the name of the script into a parameter of the error call like this:
write_cmd_error_log("/Users/ronny/Desktop/ErrLog.txt", "theErrMessage","setAliasToOrgModDate")

This is the way I did it so far.

What I want is:
write_cmd_error_log("/Users/ronny/Desktop/ErrLog.txt","theErrMessage",theNameOfThisScriptDocument)

In this case I only have to fill in theErrMessage. Much more comfortable.

Any suggestions?

set finfo to info for (path to me)
set snam to name of finfo


Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@

Democracy: Two wolves and a sheep voting on lunch.


 _______________________________________________
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

References: 
 >Undefined Variable (From: "K.Olson" <email@hidden>)
 >name of this document (From: Ronald Hofmann <email@hidden>)
 >Re: name of this document (From: Philip Aker <email@hidden>)

  • Prev by Date: Re: name of this document
  • Next by Date: TimeMachine Information
  • Previous by thread: Re: name of this document
  • Next by thread: Re: name of this document
  • Index(es):
    • Date
    • Thread