Jump to content

Hiding a folder


 Share

Recommended Posts

  • Developers

What purpose do you want to use this "hidden" directory for and the programs stored in it?

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

What purpose do you want to use this "hidden" directory for and the programs stored in it?

I'm trying to create an .scr file with my wife's jpg images without the user being able to use those images themselves. I know how to copy them to a folder on the user's machine and then have the scr access them, but the user would have access to the folder with the images. I would also want the user to be able to uninstall or remove the folder at a later time if they choose. I have tried FileInstall() but it seems to want to load each jpg file everytime it runs.

Thanks for any ideas or help.

Link to comment
Share on other sites

For such need's I always do a FileInstall() to @tempdir & '\Programname\' . Uncompiled FileInstall() will only perform a copy operation, compiled it will copy the embedded files only if the do not exist and the FileInstall("","",1) flag is NOT set. On uninstall just execute a DirRemove(@tempdir & '\Programname\',1), will not make any problems as the dir should exclusively used by your script.

Best Regards

Edited by KaFu
Link to comment
Share on other sites

I'm trying to create an .scr file with my wife's jpg images without the user being able to use those images themselves. I know how to copy them to a folder on the user's machine and then have the scr access them, but the user would have access to the folder with the images. I would also want the user to be able to uninstall or remove the folder at a later time if they choose. I have tried FileInstall() but it seems to want to load each jpg file everytime it runs.

Thanks for any ideas or help.

Then I think you need Zedna's udf which allows you to embed files and pictures in the exe, as FileInstall does, but reads pictures straight from the exe instead of first saving them to a file.
Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Link to comment
Share on other sites

Then I think you need Zedna's udf which allows you to embed files and pictures in the exe, as FileInstall does, but reads pictures straight from the exe instead of first saving them to a file.

Thanks, I'm trying that route as well but I'm waiting to hear back from Zedna on that issue.

Link to comment
Share on other sites

Thanks, I'm trying that route as well but I'm waiting to hear back from Zedna on that issue.

Yes, I saw your other thread after I posted in this one. I think you would get your problem solved faster if you could post some code that showed your problem; there is probably some small thing that you have not done or not understood.
Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Link to comment
Share on other sites

Yes, I saw your other thread after I posted in this one. I think you would get your problem solved faster if you could post some code that showed your problem; there is probably some small thing that you have not done or not understood.

thanks, look at my thread entitled nesting jpg files in script for scr file, also my thread entitled help with script. both are listed as surveyor1 under topic starter. I don't know if I'm out of bounds on asking any of this. I'm new to the forum and Autoit script. If I shouldn't pursue it any longer let me know. Thanks.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...