Jump to content
Sign in to follow this  
qwertylol

load screenshot.jpg into a variable?

Recommended Posts

qwertylol

how do I load screenshot.jpg into a variable?

is it $string = "screenshot.jpg" ?

Share this post


Link to post
Share on other sites
Generator

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
smashly

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
qwertylol

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.