Jump to content

Recommended Posts

Posted

Hi, i have a problem :" can't set the name of file with a special character like: \;/;";|;...  have anyway to short the StringInSrt and Stringreplace? i am using this code but too long
$title=InputBox(0,'','','')
   if StringInStr($title,'\') or StringInStr($title,'/') or StringInStr($title,':') or StringInStr($title,'*') or StringInStr($title,'?') or StringInStr($title,'"') or StringInStr($title,'<') or StringInStr($title,'>') or StringInStr($title,'|') Then
       $title=StringReplace($title,'\','-')
        $title=StringReplace($title,'/','-')
         $title=StringReplace($title,':','-')
          $title=StringReplace($title,'*','-')
           $title=StringReplace($title,'?','-')
            $title=StringReplace($title,'"','-')
             $title=StringReplace($title,'<','-')
              $title=StringReplace($title,'>','-')
               $title=StringReplace($title,'|','-')
   EndIf

 

Posted

ah one more i used GUICtrlSetData($Label3,'Time : '&$nowtime&' / '&$maxtime)  in while loop to set the time of video while playing, label flicker that bad for eyes,you have any i dea?

 

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
×
×
  • Create New...