Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7805 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi,

I'd like to write a script which can open all files of a given name set,

for example all files named 'abc*.fp5'.

Is there any way to have wildcard expansion (or to read a directory) in a script?

Thanks in advance!

David

Posted

platform?

tell application" Finder"

set x to every file of folder "myfolder"

repeat with i from 1 to count of items of x

if item i of x contains "abc" AND item i of x ends with ".fp5"

open file ...

or similar ...

  • 3 weeks later...

This topic is 7805 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.