Sign in to follow this  
Followers 0
Vindicator209

Retrieve Shared Objects Folder

7 posts in this topic

#1 ·  Posted (edited)

Hey, I'm making a little tiny installer to delete an existing, and move a new, Flash Shared Object File(.SOL) into the user's shared object folder, however, all names of the folders are something crazy like 7CV3XCLN, the folder is usualy placed in C:\Documents and Settings\user\Application Data\Macromedia\Flash Player\#SharedObjects, but I can't get the folder name.... is there some type of function or macro for finding this? thanks.

~Cheers~

MethodZero

Edited by MethodZero

[center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center]

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

#include <array.au3>
$aArray = _FileListToArrayEx(@AppDataDir & '\Macromedia\Flash Player\#SharedObjects\', '*.*', 2)
_ArrayDisplay($aArray, '')

_FileListToArrayEx Location

Edited by SmOke_N

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites

you make me look stupid :whistle:

Thanks! (for the help I mean)


[center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center]

Share this post


Link to post
Share on other sites

Hmm, perhaps wrong include? it says the function doesnt exist, though I think I ve used it before...


[center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center]

Share this post


Link to post
Share on other sites

Hmm, perhaps wrong include? it says the function doesnt exist, though I think I ve used it before...

It's not a standard function... it's a UDF I made... I provided the link above. FileListToArray() standard would probably do the same thing.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

oh right... link... man im stupid..

thanks....

off topic: hey smoke did you happen to help make autoit by any chance? cause looking around the forum you seem godly in the language...

Edited by MethodZero

[center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center]

Share this post


Link to post
Share on other sites

off topic: hey smoke did you happen to help make autoit by any chance? cause looking around the forum you seem godly in the language...

Hardly...

Here are your AutoIt Gods


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

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