sbrady Posted November 7, 2013 Posted November 7, 2013 all this script does is open 2 different folders. everything is perfect until you get to opening the folder on the server (10.10.10.10). That window opens but the position is not what my code says, and I have to manually stop the script from running because it like it gets stuck. any ideas expandcollapse popup#include <GUIConstantsEx.au3> #include <ButtonConstants.au3> #include <EditConstants.au3> #include <Array.au3> ; format the date $the_month = @MON ; get the month 11 $the_day = @mday ;get the day 09 $the_year = @YEAR ;get the year 12 $the_year2 = StringTrimLeft ($the_year,2) $todays_promo1 = $the_month & "-" & $the_day & "-" & $the_year2 & " Promos NPR" ;10-15-12 Promos NPR $todays_promo2 = $the_month & "-" & $the_day & "-" & $the_year2 & " Promos" ;10-15-12 Promos ; set the path for the NPR Promo folder $NPR_PROMO_FOLDER = "E:\Nuendo Projects CR6\Promos\" & $todays_promo1 ; make the NPR folder at the usual location DirCreate($NPR_PROMO_FOLDER) ; 10-15-12 Promo NPR ;open todays NPR promo folder ShellExecuteWait("E:\Nuendo Projects CR6\Promos\" & $todays_promo1) $thepath3 = "E:\Nuendo Projects CR6\Promos\" & $todays_promo1 $hHandle3 = WinWait("", $thepath3) WinMove($hHandle3, "", 100, 600, 400, 400) #cs ;open Apace promo folder ShellExecute("\\10.10.10.10\Incoming_Projects\Open PM\" ) $thepath3 = ("\\10.10.10.10\Incoming_Projects\Open PM\" ) $hHandle3 = WinWait("", $thepath3) WinMove($hHandle3, "", 100, 50, 111, 111) #ce
Gianni Posted November 7, 2013 Posted November 7, 2013 (edited) Hi sbrady, remove the ending backslash "" at the end of the network path, so it should work Edited November 7, 2013 by PincoPanco Chimp small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....
sbrady Posted November 8, 2013 Author Posted November 8, 2013 yup, that did the trick, thank you so much.
Gianni Posted November 8, 2013 Posted November 8, 2013 you are welcome Chimp small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....
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