Jump to content


monkeymagic66

Member Since 07 Dec 2003
Offline Last Active Yesterday, 12:35 AM

Topics I've Started

Clipboard text functions

20 April 2012 - 01:00 AM

Hi forum,

Just wondering if there is a way to copy text from another app (e.g safari in iOS) and paste into a GM Studio-made app. Clipboard functions (clipboard_has_text etc) do not seem to work. Is there an alternative?

Thanks.

Checking Whether User Has A Program

29 October 2006 - 04:40 AM

Greetings!

I need to check whether a user has acrobat reader/ msword/ excel installed in order to open an order form in .pdf, .doc or .xls format. The check must be independent of install directory (I want to check for the existence of the system shell file). I would have thought this would be done in the following way, since the .exe files acrord.exe, msword.exe and msexcel.exe are part of the windows system:

if file_exists("acrord32.exe")=1 then {global.acrobatexists=1} else{global.acrobatexists=0};
if file_exists("msword.exe")=1 then {global.mswordexists=1} else{global.mswordexists=0};
if file_exists("msexcel.exe")=1 then {global.msexcelexists=1} else{global.msexcelexists=0};  

then obviously determine which program to use with execute_shell function to open the document.

What am I missing?

Any help would be greatly appreciated.