• 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
path to <<constant afdregfp>>
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

path to <<constant afdregfp>>


  • Subject: path to <<constant afdregfp>>
  • From: Hans Haesler <email@hidden>
  • Date: Fri, 21 Jun 2002 00:08:13 +0200

No big deal. Just curious.

I need to get the path to the frontmost application. The only way
I found to get it (when the script is run from OSA Menu):
---
set appPath to path to frontmost application as string
---

When run from Script Editor, this is logged in the Event window as:
---
tell current application
path to <<constant afdregfp>> as string
---

It works, but I'm always a bit uneasy when constants show up in this form.

Mac OS 9.2.1, AS 1.6

---
Hans Haesler <email@hidden>
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Question: Setting up a script to watch a folder in OS X?
  • Next by Date: Acrobat: Get characters?
  • Previous by thread: Re: progress bar
  • Next by thread: Acrobat: Get characters?
  • Index(es):
    • Date
    • Thread