www.pixinsight.com
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
This forum is closed since 5 March 2020
PixInsight Forum is now available at:
https://pixinsight.com/forum/
News:
Home
Help
Search
Login
Register
PixInsight Forum (historical)
»
Software Development
»
PCL and PJSR Development
»
Enumerate files in directory in PJSR?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Enumerate files in directory in PJSR? (Read 4619 times)
mschuster
PTeam Member
PixInsight Jedi
Posts: 1087
Enumerate files in directory in PJSR?
«
on:
2012 November 29 11:21:07 »
Is it possible to enumerate the files in a directory in PJSR? I don't see anything that does this. I would like to be able to quickly write scripts with no UI that apply processes to files in a directory whose names match some pattern.
Thanks,
Mike
Logged
Nocturnal
PixInsight Jedi Council Member
Posts: 2727
Re: Enumerate files in directory in PJSR?
«
Reply #1 on:
2012 November 29 11:22:22 »
There you go again asking for useful stuff :-)
There is no javascript library that does this like what we have in python, ruby, perl etc?
Logged
Best,
Sander
---
Edge HD 1100
QHY-8 for imaging, IMG0H mono for guiding, video cameras for occulations
ASI224, QHY5L-IIc
HyperStar3
WO-M110ED+FR-III/TRF-2008
Takahashi EM-400
PIxInsight, DeepSkyStacker, PHD, Nebulosity
mschuster
PTeam Member
PixInsight Jedi
Posts: 1087
Re: Enumerate files in directory in PJSR?
«
Reply #2 on:
2012 November 29 11:50:31 »
I can hard code file names, or use an open file dialog, no big deal. PI team is working hard on useful stuff, this is just a very low priority thought.
Thanks,
Mike
Logged
georg.viehoever
PTeam Member
PixInsight Jedi Master
Posts: 2132
Re: Enumerate files in directory in PJSR?
«
Reply #3 on:
2012 November 29 12:44:03 »
SearchDirectory on the Global object?
Logged
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)
mschuster
PTeam Member
PixInsight Jedi
Posts: 1087
Re: Enumerate files in directory in PJSR?
«
Reply #4 on:
2012 November 29 13:11:48 »
Thanks Georg! It works on Win with wildcard strings like "C:/path/*.fit"
Logged
Print
Pages: [
1
]
« previous
next »
PixInsight Forum (historical)
»
Software Development
»
PCL and PJSR Development
»
Enumerate files in directory in PJSR?