Hello I was wondering if there are reserved alias for applescripts like this_folder or this_item, and if there are where I could find a list or directory of them.
StevenRayNDTLive. The Standard Additions dictionary briefly describes commands for path to specified application, path to specified folder, and path to resource, and these return aliases. The AppleScript Language Guide provides more information on these:
AppleScript Objective-C provides additional options but I suspect that’s not what you’re looking for.
I’m not certain what you mean when you write this_item and this_folder.
If you mean folder actions its only placeholder for the handler to work correctly.
this_folder is the folder (folder action is attached to) and these_items is the items that you
copy/move/drag to the folder. And inside the folder action handler you have your code to do something with your items.
on adding folder items to this_folder after receiving these_items -- insert actions here end adding folder items to
I’m not so sure he’s after folder actions, but this is also correct:
on adding folder items to thatfolder after receiving allthisstuff -- insert actions here end adding folder items to
this_folder or thatfolder - it doesn’t matter, those are just variable names. You can use whatever you like (mostly).
reserved alias is a meaningless expression in AppleScript. Try to rephrase your question, please.