Hiro 714
asked on
Filemaker Question: how to set a file launching script decided by iphone vs laptop
I need an advice for filemaker file opening script.
I would like to set a launching script when opening a filemaker file and decide a layout, depends on the device type, like laptop vs smartphone.
I would like to set a launching script when opening a filemaker file and decide a layout, depends on the device type, like laptop vs smartphone.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
One other note: you don't actually need separate startup scripts for each device or platform. Instead of what I put above you could also just put the steps in that you want it to do when that platform is detected.
If [ Get(Device) = 3 ]
Go to Layout [ "Home - iPad" ]
Else If [ Get(Device) = 4 ]
Go to Layout [ "Home - iPhone" ]
Else
Go to Layout [ "Home" ]
End If
If [ Get(Device) = 3 ]
Go to Layout [ "Home - iPad" ]
Else If [ Get(Device) = 4 ]
Go to Layout [ "Home - iPhone" ]
Else
Go to Layout [ "Home" ]
End If
ASKER