Re: QuickTime on Windows

2012-07-30 Thread Jeff Reynolds
Jacqueline,

I've been bit by this in the distant past and got in the habit of having the 
app determine the desired path so that it does not matter if running in the IDE 
or a standalone. I cant remember what the difference I ran into that made me 
start this.

Cheers, 

Jeff

Sent from my iPad

On Jul 31, 2012, at 12:06 AM, use-livecode-requ...@lists.runrev.com wrote:

> Subject: Re: QuickTime on Windows
> Message-ID: <50173c0a.2050...@hyperactivesw.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> On 7/30/12 6:51 PM, Bob Sneidar wrote:
>> I believe it's psd for Parallels Shared Drive. If it's important to
>> you, you might try using the mapped drive path. The IDE probably
>> knows how to translate while a standalone might not. Just guessing
>> there though.
> 
> Yeah, "psd" sounds right. I think your diagnosis is probably right. I 
> don't need to do the mapping for the final standalone, but I'm glad to 
> know why it didn't work.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: QuickTime on Windows

2012-07-30 Thread J. Landman Gay

On 7/30/12 6:51 PM, Bob Sneidar wrote:

I believe it's psd for Parallels Shared Drive. If it's important to
you, you might try using the mapped drive path. The IDE probably
knows how to translate while a standalone might not. Just guessing
there though.


Yeah, "psd" sounds right. I think your diagnosis is probably right. I 
don't need to do the mapping for the final standalone, but I'm glad to 
know why it didn't work.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: QuickTime on Windows

2012-07-30 Thread Bob Sneidar
I believe it's psd for Parallels Shared Drive. If it's important to you, you 
might try using the mapped drive path. The IDE probably knows how to translate 
while a standalone might not. Just guessing there though. 

Bob


On Jul 30, 2012, at 4:34 PM, J. Landman Gay wrote:

> On 7/30/12 6:20 PM, Bob Sneidar wrote:
>> The VM should use a drive letter to map it. Were you using the mapped
>> drive to access it?
> 
> I was creating a relative file path based on the file path of the main stack. 
> In Parallels the shared "drive" is mapped to "Z" but the filename of the 
> stack comes in as "pfd://home/yadda/yadda". (I think it's "pfd", I've shut 
> down Parallels now, but it was something odd like that.)
> 
> The script checks for the existence of the audio file and if it's there, it 
> loads a player. "There is a file 'pfd://home/yadda'" returns true. When it 
> gets passed off to QT it fails.
> 
> The exact same script and filepath works in the IDE though. Maybe the IDE is 
> passing the mapped letter to QT for us.
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: QuickTime on Windows

2012-07-30 Thread J. Landman Gay

On 7/30/12 6:20 PM, Bob Sneidar wrote:

The VM should use a drive letter to map it. Were you using the mapped
drive to access it?


I was creating a relative file path based on the file path of the main 
stack. In Parallels the shared "drive" is mapped to "Z" but the filename 
of the stack comes in as "pfd://home/yadda/yadda". (I think it's "pfd", 
I've shut down Parallels now, but it was something odd like that.)


The script checks for the existence of the audio file and if it's there, 
it loads a player. "There is a file 'pfd://home/yadda'" returns true. 
When it gets passed off to QT it fails.


The exact same script and filepath works in the IDE though. Maybe the 
IDE is passing the mapped letter to QT for us.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: QuickTime on Windows

2012-07-30 Thread Bob Sneidar
The VM should use a drive letter to map it. Were you using the mapped drive to 
access it? 

Bob


On Jul 30, 2012, at 4:10 PM, J. Landman Gay wrote:

> Thanks Scott. I just this second figured it out. I didn't give enough info 
> for you to know what was wrong.
> 
> QT is installed and I'm using long file paths, and it all works in the IDE. 
> But -- here's what I left out -- I was running the standalone in Parallels 
> from the "network" drive (i.e., the folder on my Mac.) All the "play 
> audioclip" commands worked fine but players with sound files assigned didn't. 
> Apparently QT doesn't like to load sound files from a virtually mounted 
> drive. When I copied the sounds folder to the XP VM it started working.
> 
> The question is though, how come QT was happy to load the file when it was 
> running in the IDE? Weird. Doesn't matter I guess, the standalone will always 
> be on the same drive with the app. But I like to know these things.
> 
> Thanks again.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: QuickTime on Windows

2012-07-30 Thread J. Landman Gay
Thanks Scott. I just this second figured it out. I didn't give enough 
info for you to know what was wrong.


QT is installed and I'm using long file paths, and it all works in the 
IDE. But -- here's what I left out -- I was running the standalone in 
Parallels from the "network" drive (i.e., the folder on my Mac.) All the 
"play audioclip" commands worked fine but players with sound files 
assigned didn't. Apparently QT doesn't like to load sound files from a 
virtually mounted drive. When I copied the sounds folder to the XP VM it 
started working.


The question is though, how come QT was happy to load the file when it 
was running in the IDE? Weird. Doesn't matter I guess, the standalone 
will always be on the same drive with the app. But I like to know these 
things.


Thanks again.

On 7/30/12 5:45 PM, Scott Rossi wrote:

Hi Jacque:

Is QuickTime is installed or not?

You say the system is XP -- way, way back, issues sometimes cropped up with
players and filepaths.  I would imagine these were probably fixed by now,
but FWIW, here are two notes I had saved as possible workarounds:

-- use an absolute file reference with "file"
set fileName of player 1 to \
   "file:///volumes/primary/users/name/really_long_filename_here.mp3"

-- swap out space characters with html
replace space with "%20" in tURL

Can't say these will help but they're simple so maybe worth a try.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design



Recently, Jacque Landman Gay wrote:


Does anyone know why a player object won't load an aiff file in a
standalone? It works fine in the IDE. The sound file does exist and the
filename for the player is correct.

Windows XP
LiveCode 5.5.1

Did the default setting for dontUseQT change?






___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode




--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: QuickTime on Windows

2012-07-30 Thread Scott Rossi
Hi Jacque:

Is QuickTime is installed or not?

You say the system is XP -- way, way back, issues sometimes cropped up with
players and filepaths.  I would imagine these were probably fixed by now,
but FWIW, here are two notes I had saved as possible workarounds:

-- use an absolute file reference with "file"
set fileName of player 1 to \
  "file:///volumes/primary/users/name/really_long_filename_here.mp3"

-- swap out space characters with html
replace space with "%20" in tURL

Can't say these will help but they're simple so maybe worth a try.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design



Recently, Jacque Landman Gay wrote:

> Does anyone know why a player object won't load an aiff file in a
> standalone? It works fine in the IDE. The sound file does exist and the
> filename for the player is correct.
> 
> Windows XP
> LiveCode 5.5.1
> 
> Did the default setting for dontUseQT change?





___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


QuickTime on Windows

2012-07-30 Thread J. Landman Gay
Does anyone know why a player object won't load an aiff file in a 
standalone? It works fine in the IDE. The sound file does exist and the 
filename for the player is correct.


Windows XP
LiveCode 5.5.1

Did the default setting for dontUseQT change?

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode