flyonthewall Posted November 6, 2007 Posted November 6, 2007 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()
Paulie Posted November 6, 2007 Posted November 6, 2007 $destination = "\\server\apps\vbscripts\Images\networkfax.jpg" SplashImageOn("Network Fax", $destination,255,39) Sleep(5000) SplashOff() Have you tried that?
Kerros Posted November 6, 2007 Posted November 6, 2007 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.
Moderators SmOke_N Posted November 6, 2007 Moderators Posted November 6, 2007 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.
flyonthewall Posted November 7, 2007 Author Posted November 7, 2007 $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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now