Sign in to follow this  
Followers 0
snappy

Sending filename to open dialog

2 posts in this topic

I am processing a list of files using FileFind* functions. I want to run a program, use the open dialog, and specify the filename in the open dialog. The problem is if I do Send($filename) it takes awhile to write the filename character by character.

Is there a way to send the filename as a chunk rather than character by character. The only method I can think of is using

the clipboard, but I would like to avoid that. ALso I don't actually want to use Send since I will need to escape filenames

with characters that have '+' or '!' or '^' etc.

Any suggestions how I could go about doing this?

Thanks.

Share this post


Link to post
Share on other sites



If you can retrieve the control information you can use

ControlSetText ( "title", "text", controlID, "new text" [, flag] )


Kerros===============================================================How to learn scripting: Figure out enough to be dangerous, then ask for assistance.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0