Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-18-2004, 10:13 PM
Junior Member
 
Join Date: Feb 2004
Posts: 7
Default Saving to system temp folder using MCI.sendCmdString

How can I save files to the system temp folder using MCI.sendCmdString? I cannot specify the path to the folder because this varies from computer to computer. So I need something like the "Shell.getSpecialFolder("temp");" command. I want to record audio and then save the recorded data to the system temp folder. Unfortunately I have to use the MCI.sendCmdString method because I need to set the recording quality. Anybody out there who can help? I tried stuff like "MCI.sendCmdString("save myWave %temp%\1.wav");" which doesn't work at all!
Reply With Quote
  #2 (permalink)  
Old 03-19-2004, 12:41 PM
Junior Member
 
Join Date: Feb 2004
Posts: 14
Default Re:Saving to system temp folder using MCI.sendCmdString

You can do like this

Code:
var myWave = Shell.getSpecialFolder("temp") + "\\1.wav";
MCI.sendCmdString("save myWave \"" + myWave + "\"");
Reply With Quote
  #3 (permalink)  
Old 03-19-2004, 02:40 PM
Junior Member
 
Join Date: Feb 2004
Posts: 7
Default Re:Saving to system temp folder using MCI.sendCmdString

Problem solved Thanks very much!
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:56 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.