• 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: Rép: How to get the app in use
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rép: How to get the app in use


  • Subject: Re: Rép: How to get the app in use
  • From: KOENIG Yvan <email@hidden>
  • Date: Thu, 10 Jan 2008 14:30:15 +0100


Le 10 janv. 2008 à 14:05, demski a écrit :


Am 10.01.2008 um 13:52 schrieb KOENIG Yvan:



Le 10 janv. 2008 à 12:11, demski a écrit :

Of course you are right! I installed it as a service, too, and I like it much more this way!
I would like to thank has, too!
By the way: Why didn't you create it as an output-service?
I did and it also works fine...

Hello

Has I wrote, after reading this message, I tried to replace the filter-service by an output-service but, it appears that it inserts nothing in my docs so I'm back to filter-service.
I found a ready made script in Jon's ThisService AS Examples.
It works well as an output-service but is uses shell script and returns the date with english wording which don't fit my needs.
That's rather strange... I took the line of code of your snippet into the delivered snippet, created the service and it worked...
STRANGE...
So everyone takes his own solution and be happy...


thanks for hints and conversation!

I found this difference really odd.

Maybe it is linked to the fact that I am using 10.4.11 in French.

But it's really surprising to see that:

on process()
	return (do shell script "date '+%A, %B %e, %Y - %l:%M:%S %p %Z'")
end process

works as an output-service

and that
on process()
	return ((current date) as Unicode text)
end process

doesn't.

Not only it is surprising but it is odd: I must select something, a space char for instance, to get the service available in the menu because it is a both-service.

Yvan KOENIG _______________________________________________
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
  • Follow-Ups:
    • Quark 731 Leopard Breaks Stylin
      • From: Jason Bourque <email@hidden>
    • Re: Rép: How to get the app in use
      • From: demski <email@hidden>
References: 
 >Rép: How to get the app in use (From: KOENIG Yvan <email@hidden>)
 >Re: Rép: How to get the app in use (From: demski <email@hidden>)

  • Prev by Date: Re: Rép: How to get the app in use
  • Next by Date: Re: Rép: How to get the app in use
  • Previous by thread: Re: Rép: How to get the app in use
  • Next by thread: Re: Rép: How to get the app in use
  • Index(es):
    • Date
    • Thread