Sign in to follow this  
Followers 0
flyonthewall

declare variable

5 posts in this topic

i would like to declare the $destination variable, but not sure what to use to get to the server.

thank you for any ideas.

$destination = @??? & "\\server\apps\vbscripts\Images\networkfax.jpg"

SplashImageOn("Network Fax", $destination,255,39)
Sleep(5000)
SplashOff()

this works, but would still like to declare the $destination:

SplashImageOn("Network Fax", "\\server\apps\vbscripts\Images\networkfax.jpg",255,39)
Sleep(5000)
SplashOff()

Share this post


Link to post
Share on other sites

$destination = "\\server\apps\vbscripts\Images\networkfax.jpg"

SplashImageOn("Network Fax", $destination,255,39)
Sleep(5000)
SplashOff()

Have you tried that? <_<

Share this post


Link to post
Share on other sites

What I've done in the past is to start the script from the server and that way I can pull the drive letter from @ScriptDir

$drive_Letter = StringLeft(@ScriptDir, 3)


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

What I've done in the past is to start the script from the server and that way I can pull the drive letter from @ScriptDir

$drive_Letter = StringLeft(@ScriptDir, 3)

Might have a look at _PathSplit

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

$destination = "\\server\apps\vbscripts\Images\networkfax.jpg"

SplashImageOn("Network Fax", $destination,255,39)
Sleep(5000)
SplashOff()

Have you tried that? <_<

work just fine. thks paulie.

kerros & smoke_n many thks too!

have a great day all.

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