Re: Rép: How to get the app in use
Re: Rép: How to get the app in use
- Subject: Re: Rép: How to get the app in use
- From: demski <email@hidden>
- Date: Thu, 10 Jan 2008 14:47:53 +0100
Am 10.01.2008 um 14:30 schrieb KOENIG Yvan:
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.
I did it like that:
on process()
set curDate to (current date) as Unicode text
end process
and this works!
happy date stamping!
regards
demski
Yvan KOENIG _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
40unter-anderem.com
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
_______________________________________________
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