flyonthewall Posted November 6, 2007 Share 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() Link to comment Share on other sites More sharing options...
Paulie Posted November 6, 2007 Share Posted November 6, 2007 $destination = "\\server\apps\vbscripts\Images\networkfax.jpg" SplashImageOn("Network Fax", $destination,255,39) Sleep(5000) SplashOff() Have you tried that? Link to comment Share on other sites More sharing options...
Kerros Posted November 6, 2007 Share 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. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted November 6, 2007 Moderators Share 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. Link to comment Share on other sites More sharing options...
flyonthewall Posted November 7, 2007 Author Share 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. Link to comment Share on other sites More sharing options...
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