path to <<constant afdregfp>>
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.