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

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
  • Follow-Ups:
    • Re: How to get the app in use
      • From: KOENIG Yvan <email@hidden>
References: 
 >How to get the app in use (From: KOENIG Yvan <email@hidden>)

  • Prev by Date: Re: Can someone please explain (Language Guide)
  • Next by Date: Re: How to get the app in use
  • Previous by thread: Re: How to get the app in use
  • Next by thread: Re: How to get the app in use
  • Index(es):
    • Date
    • Thread