Re: How to get the app in use
Re: How to get the app in use
- Subject: Re: How to get the app in use
- From: demski <email@hidden>
- Date: Thu, 10 Jan 2008 11:49:11 +0100
Hi Yvan!
How about some clipboarding?
I tested it and it works... obviously any application gets the
content of the Finder'ss clipboard.
You could fire it up via spark and paste it in any place...
set currDate to (current date) as text
tell application "Finder"
activate
set the clipboard to currDate
end tell
I admit: You have to keystroke twice, but it's better than nothing...
hth
mit besten GrĂ¼ssen
Kind regards
demski
Am 09.01.2008 um 19:33 schrieb KOENIG Yvan:
Hello
I wish to write a script able to paste the dateTime in several
documents (Pages, Numbers, TextEdit, Mail).
I am able to do that when I know the name of the application owning
the destination document.
Is there a way for a script to get the name of the application
whose document is at front when I enter the System's Scripts menu?
At this time, I am able to get
-- the app which is the frontmost one: it's the script itself
-- the list of every active application processes
both of them are useless.
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