Sign in to follow this  
Followers 0
qwertylol

load screenshot.jpg into a variable?

6 posts in this topic

how do I load screenshot.jpg into a variable?

is it $string = "screenshot.jpg" ?

Share this post


Link to post
Share on other sites



how do I load screenshot.jpg into a variable?

is it $string = "screenshot.jpg" ?

Yes if you wish to use that to link up the file dir

Share this post


Link to post
Share on other sites

Like you said but maybe add the path with the screenshot.jpg your storing in the variable eg:

$string = "C:\Screenshots\screenshot.jpg"

or

$string = @ScriptDir & "\screenshot.jpg"

etc..

Cheers

Share this post


Link to post
Share on other sites

how do I create files with a loop?

not the content, just to name the files in an order.

the file names should be like ( file & $number.jpg )

so they all look like

file01.jpg

file02.jpg

file03.jpg

file04.jpg

file05.jpg

file06.jpg

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